Sreedhar3210's blog

By Sreedhar3210, 5 days ago, In English

I was solving this problem 2003D2 - Turtle and a MEX Problem (Hard Version).

I have made two submissions on that Accepted on G++17 278425043, Runtime error on G++20 278423515.

The code on both of the submissions is the same, but i do not know why this code isn't being accepted on G++20.

Even surprisingly when i removed comments from the above submission it is giving TLE verdict.

Accepted on G++17 278459735, TLE on G++20 278459715.

Can anyone explain this strange behaviour?

Full text and comments »

Tags gcc, c++
  • Vote: I like it
  • +1
  • Vote: I do not like it