Hi All, I am new to codechef . I just don’t understand why case 3 of subtask 1 is failing?
Subtask #1 (30 points)
1 ≤ T, |s| ≤ 10^3 1 ≤ Sum of |s| over all test cases in a single test file ≤ 10^4.
My solution gives out : Sub-Task Task # Score Result (time) 1 1 NA AC(0.000000) 1 2 NA AC(0.000000) 1 3 NA WA(0.000000)
How can I make it work for string greater than 10^3. for c program the max limit is 4095 characters. For java its much larger . I had submitted the solution in both languages but still the subtask 1 task 3 is WA .If solution is working for strings <10^3 then it should work for larger string as well.I don’t understand.Please help me out.