Link ->http://mirror.codeforces.com/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://mirror.codeforces.com/contest/431/submission/20762830 I don't know why it is wrong maybe the way I use mod or my states aren't ok.