Codeforces judging issue

Revision en1, by ImagineWarrior, 2015-08-14 11:42:47

http://codeforces.me/contest/570/submission/12498380 this code should be wrong answer. But this code passed all the system test.

For 5 3, 11 6 this kind of input my local pc generate garbage value which is logically right. Then check in Codeforces "CUSTOM INVOCATION". In CUSTOM INVOCATION, Without initialization local variable set as 0. Then Above code should be generate 0 for 11 6 input. But its generate 5. How it possible ???

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en2 English ImagineWarrior 2015-08-14 11:45:16 3 Tiny change: 'e 5. How it possib' -> 'e 5. How is it possib'
en1 English ImagineWarrior 2015-08-14 11:42:47 460 Initial revision (published)