https://www.codechef.com/viewsolution/46644069
please review my code all my random input passed but it is wrong answer after submitting … please tell my mistake.
regards
https://www.codechef.com/viewsolution/46644069
please review my code all my random input passed but it is wrong answer after submitting … please tell my mistake.
regards
Consider the test input:
1
100 96 5
Sir,
I have tried your test case and it is showing “no” . And using another successful code , it is showing “yes” .but 96 is not the multiple of 5 . So, how it is showing “yes”. Thank you for your help.
Regards
96=(N+1)-k
Thank you so much sir for your guidance…
I got your point of view.