WA in FCTRL

https://www.codechef.com/viewsolution/30757097
this is the link to my solution of problemhttps://www.codechef.com/problems/FCTRL

it is running fine against custom input but showing run error on submission.plz help.THANKS

Try

1
25

The answer should be

6

Thanks a lot.i forgot to put that = sign in for loop as t can be equal to 5.

1 Like