WA IN STATUES,even though answer seems to be right

http://www.codechef.com/viewsolution/5462253

1 Like

Check the output format. You are missing a ‘.’ after the number. Change your printf() statement to…

printf("The minimum number of moves is %d.\n\n",mov);
1 Like

Thank you…I did not notice the “.” character

So, you can upvote and/or accept the answer :wink:

1 Like