Hi, In this question I posted my code by it seems that it gets overflow at some point of my code.
But I'm getting %MOD every time I want to subtract or sum things.
Problem link ==> https://mirror.codeforces.com/problemset/problem/474/D.
My Submission==> 55651145
Auto comment: topic has been updated by BanazadehAria (previous revision, new revision, compare).
for(int i=0;i<100000;++i) dp[i]=-1;
What is wrong with it?
there is a mistake here, i want you to find it
Oh shit. Thank you! F... that = sign :|
Hey, you are using bad language.
Lol