http://mirror.codeforces.com/contest/439/submission/27259616
I got WA on test case 3, but I get the right answer when I test the same code in my sublime text. (Or even in http://ideone.com/jcoVSl)
Can somebody please help me?
[Solved] finv[n-k] is out of bound when n < k new submission: http://mirror.codeforces.com/contest/439/submission/27265838