Unusual error in C++ code

Правка en1, от pcumamahesh, 2023-05-31 21:00:15

Hello. I recently stumbled upon this error which I thought was not the cause of my code failing in this problem:1695B - Circle Game.

My old submission: 207490372 (GNU C++ 17, WA).

My latest submission: 207493578 (GNU C++ 17, AC).

The subtle difference between these two pieces of code is that the else-statement was replaced with an if-statement, with the exact opposite condition of the if-statement above it. Also, i % 2 can either be 0 or 1 only. If that's not it, please correct me where I am going wrong (the error is somewhere else).

Теги confusion, unknown error, mysterious ac

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en1 Английский pcumamahesh 2023-05-31 21:00:15 599 Initial revision (published)