Noob needs help with his code :) code with details, appreciate any feedback!

Правка en1, от Wonsei, 2020-06-16 16:59:06

https://codeforces.com/contest/1335/problem/E1

When I run the test, it keeps going well, and suddenly it fails on test 10 data 596 or something, so I cannot see what test case is causing the problem. Im asking for help after 3+hours of coding ! Id really appreciate any help.

Source code below, with detail;

83928250

It works on almost all cases, but there seems to be a counterexample that I seem to be missing. Thanks :)

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en3 Английский Wonsei 2020-06-16 17:17:37 0 (published)
en2 Английский Wonsei 2020-06-16 17:13:42 3067 (saved to drafts)
en1 Английский Wonsei 2020-06-16 16:59:06 531 Initial revision (published)