Codechef judge is giving me TLE for my solutions for the problem CHEFSHIP. I tried both simple approaches and hashing but it is giving TLE. I even tried to submit the solutions which were accepted. Is this a bug of Codechef judge?
Impossible to say without seeing your code
1 Like
Here are the links of my submissions including copied and accepted solutions.
CodeChef: Practical coding for everyone
1 Like
U did brute force buddy…The test cases are updated … try something better
Test cases updated … (Try hashing , KMP , or Z function )