Why different outputs?

Правка en1, от Nagadon, 2021-02-23 18:36:48

On the third sample input, I'm getting output 1 in my IDE. However, when I submit my solution, I get 2. https://mirror.codeforces.com/problemset/problem/1036/A

Why does this happen?

Code: https://mirror.codeforces.com/contest/1036/submission/108317612

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en1 Английский Nagadon 2021-02-23 18:36:48 265 Initial revision (published)