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

fabriz's blog

By fabriz, history, 2 months ago, In English

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?

Full text and comments »

  • Vote: I like it
  • 0
  • Vote: I do not like it