Codeforces judge giving wrong output for my code

Правка en1, от 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?

Теги problem, judge, wrong answer, correct solution

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en1 Английский ScienceGuy 2017-02-14 15:13:42 429 Initial revision (published)