Niastrum's blog

By Niastrum, history, 2 months ago, In English

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

Why does this happen?

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

Read more »

 
 
 
 
  • Vote: I like it
  • -6
  • Vote: I do not like it

By Niastrum, history, 2 months ago, In English
 
 
 
 
  • Vote: I like it
  • -10
  • Vote: I do not like it