different outputs on codeforces compiler and local system compiler

Правка en1, от novice_4, 2015-09-13 13:08:09

hello , i am trying to solve codeforces 9 beta round div2 c question.iam getting correct answers when i compile on my system but when i submit i am getting wrong answer on 4th test case .first i got "wrong output format Unexpected end of file — int64 expected" error then i printed the answer after breaking the for loop without exiting the program directly.then the above error is gone but iam still getting wrong answers on the codeforces platform.can anyone please tell what is the reason for different outputs :) .the submission links are http://codeforces.net/contest/9/submission/12982000 and http://codeforces.net/contest/9/submission/12982232

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en1 Английский novice_4 2015-09-13 13:08:09 724 Initial revision (published)