Link ->http://codeforces.me/contest/431/submission/20762830 I don't know why it is wrong maybe the way I use mod or my states aren't ok.
is my recursion wrong?
Link ->http://codeforces.me/contest/431/submission/20762830 I don't know why it is wrong maybe the way I use mod or my states aren't ok.