this code is for the program chef and strings(Problem code: STRQ) in easy level but this code has some error
http://www.codechef.com/viewsolution/6314036
I don’t know why but for some reason the for loop never runs!!
this code is for the program chef and strings(Problem code: STRQ) in easy level but this code has some error
http://www.codechef.com/viewsolution/6314036
I don’t know why but for some reason the for loop never runs!!
Please post it as a code, not like this
Just so you know, problems in easy level will not be that easy. You should check the number of successful submissions first. The more the number of successful submissions, the better are the chances of solving it. You should start of with the ones with the most successful submissions ( since you are in NIT, I expect you should be able to solve it easily ). Good Luck
Check the array size you have taken…