Codeforces and Polygon may be unavailable from December 6, 19:00 (UTC) to December 6, 21:00 (UTC) due to technical maintenance. ×

Ide and codeforces giving different output

Revision en1, by dsarules, 2024-11-04 03:32:25

I tried submitting a solution to https://codeforces.net/contest/1820/problem/C, and for the first test case, my ide gave the correct solution. However, when I submitted the code to codeforces, it says that my output for the last test case was "YES", despite how the ide says that the output was "NO". Why is this happening?

The ide link is: https://ide.usaco.guide/OAoVexwMwTGAif_Fi8T.

The submission link is https://codeforces.net/contest/1820/submission/289843533.

Thank you!

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English dsarules 2024-11-04 03:32:25 530 Initial revision (published)