WA in WW2 of September Cook-off

Soln link:-- http://www.codechef.com/viewsolution/4884039

Did the same as stated in editorial…
Don’t know which case I’m leaving…

Plzz Jst give me the test case that I’m leaving…

Thnx for your help

Lol this is silly, but you forgot modulo.

1 Like

After putting the mod , even then it is showing WA…

Soln link :–http://www.codechef.com/viewsolution/4884077

plz give me the test cases for which I m getting wa or plz tell me my mistake…

Thnx for help

After putting the mod , even then it is showing WA…Soln link :–http://www.codechef.com/viewsolution/4884077plz give me the test cases for which I m getting wa or plz tell me my mistake…Thnx for help

//