help plz

Pages: 123
@Dum can you please provide some testcases? My code is giving correct answer for all the testcases posted above
@kanken can you please give a test case?
closed account (SzqXLyTq)
@Dum can you please explain how you got each step....what you choose
I am getting 328
Last edited on
has anybody solved this yet?
@kanken can u please tell me how to apply %mod in ingredients prob, I have solved the series but 1 task of subtask 2 is giving WA. I have been stuck on it for 2 days, its quite frustrating. Thanks in advance!!
you can apply the modular addition property if you are using it anywhere in your prog.
(A+B)%m = ((A%m)+(B%m))%m
if you are having problems with mod then this should definitely solve it.
@Dum please tell more corner test cases.
Last edited on
For all those facing problem in mod,here is the link
Registered users can post here. Sign in or register to post.
Pages: 123