Codeforces judge giving wrong output for my code

Revision en1, by ScienceGuy, 2017-02-14 15:13:42

Here is the problem I solved: http://codeforces.com/problemset/problem/765/A). I submitted a code (My code: http://pastebin.com/8FckK356 ). It gives WA on test 11 (test 11: http://pastebin.com/g7MC6YJf ). But in my computer I paste the test and it outputs the correct result. The logic in my code is correct. So why does the CodeForces judge output a different result for my code?

Tags problem, judge, wrong answer, correct solution

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English ScienceGuy 2017-02-14 15:13:42 429 Initial revision (published)