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
Auto comment: topic has been updated by dhsrhkdgus (previous revision, new revision, compare).
Auto comment: topic has been updated by dhsrhkdgus (previous revision, new revision, compare).
Auto comment: topic has been updated by dhsrhkdgus (previous revision, new revision, compare).
I recommend to use Custom test.
It will give you the same result that judge will see.