Please subscribe to the official Codeforces channel in Telegram via the link https://t.me/codeforces_official. ×

dhsrhkdgus's blog

By dhsrhkdgus, history, 7 years ago, In English

http://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://codeforces.com/contest/439/submission/27265838

  • Vote: I like it
  • -17
  • Vote: I do not like it

»
7 years ago, # |
  Vote: I like it 0 Vote: I do not like it

Auto comment: topic has been updated by dhsrhkdgus (previous revision, new revision, compare).

»
7 years ago, # |
  Vote: I like it 0 Vote: I do not like it

Auto comment: topic has been updated by dhsrhkdgus (previous revision, new revision, compare).

»
7 years ago, # |
  Vote: I like it 0 Vote: I do not like it

Auto comment: topic has been updated by dhsrhkdgus (previous revision, new revision, compare).

»
7 years ago, # |
  Vote: I like it 0 Vote: I do not like it

I recommend to use Custom test.
It will give you the same result that judge will see.