Please read the new rule regarding the restriction on the use of AI tools. ×

Same code different verdict

Revision en1, by fabriz, 2024-10-13 07:38:55

A while ago I was trying to solve 875B - Sorting the Coins this problem.

I eventually got to "solve" the problem and submitted this 242147901, but got TLE. I went to the solved standing and copy the code of this submission 243432260, and got accepted though the logic of this and mine are the same.

Then submitted 251697965 this again and got TLE, now I came back and submitted the EXACT same code 285577179 but got ACCEPTED.

How come this?

Tags compilers, contest

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English fabriz 2024-10-13 07:38:55 520 Initial revision (published)