Different results from Codeforces and another IDE

Правка en1, от a7t, 2018-06-24 21:59:29

Hi there! Just finished another great contest, hope you enjoyed it too!

Nevertheless, I run into this strange problem, my submission on Codeforces says that output is '3', but on another IDE (codechef, cpp.sh or ideone.com) it says '2', which is the correct answer. I also have tried different versions of compiler, however result is the same. Do you know why this happened?

Link to my code on ideone.com — https://ideone.com/KZ76Aq

My submission — 39627475

Теги c++ error, c++ compilers, contest, outup

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en1 Английский a7t 2018-06-24 21:59:29 542 Initial revision (published)