Problem Description Link
It is a simple problem read carefully and solve easilly .
one condition for print output
ie.
printf("Set #%ld\n",k);
printf("The minimum number of moves is %ld.\n\n",result);
It is a simple problem read carefully and solve easilly .
one condition for print output
ie.
printf("Set #%ld\n",k);
printf("The minimum number of moves is %ld.\n\n",result);
No comments:
Post a Comment
Write your comment - Share Knowledge and Experience