Resubmitting the same 'WA verdict' solution gets accepted

Revision en3, by adfadfs, 2020-05-12 19:47:35

I submitted the following two codes, which are essentially the same but one gives WA, the other got accepted.

WA code

AC code

(compare the two solutions to see the differences)

UPD: Perhaps this is not something just random, repeating the submissions still gives the same verdicts. I am unsure how assertions are affecting the code.

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en3 English adfadfs 2020-05-12 19:47:35 168 Tiny change: '\n\n**UPD: ** Perhaps' -> '\n\n**UPD:** Perhaps'
en2 English adfadfs 2020-05-12 19:02:03 1 Tiny change: 'e gives WA the other' -> 'e gives WA, the other'
en1 English adfadfs 2020-05-12 19:01:28 357 Initial revision (published)