C++: Different output on Codeforces and Ideone [Solved]

Правка en4, от dhsrhkdgus, 2017-05-21 14:35:12

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

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en4 Английский dhsrhkdgus 2017-05-21 14:35:12 129
en3 Английский dhsrhkdgus 2017-05-21 14:23:23 29
en2 Английский dhsrhkdgus 2017-05-21 10:47:30 2 Tiny change: 'test case 4, but I ge' -> 'test case 3, but I ge'
en1 Английский dhsrhkdgus 2017-05-21 10:46:34 267 Initial revision (published)