https://ide.codingblocks.com/s/381878 here is my code for modulo sum problem from hackerblocks ,2 tt are not giving correct output plz look and tell me where should i change my code to resolve error…
Modulo sum from hackerblocks or codeforces 577B
Hello @Ashu1318 see the code of yours is giving wrong answer for test case:
1 6
5
answer should be no but your code is producing Yes
I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.
On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.