eolymp
bolt
Try our new interface for solving problems
Problems

Period of a string

published at 12/24/12, 3:36:49 pm

I don't understand why i got TLE ,I have solved this problem by using prefix function , and it uses O(n) time , so that it doesn't have to use any more time . I think that the run time has to be increased .