AgOH's blog

By AgOH, history, 4 hours ago, In English

My code got AC on 291907702 but TLE on 291907874. The only difference between two submissions is the account.

Additionally, if I use "deducing this"(291908799), this code will also get TLE.

I suspect there is undefined behavior in the code, but I'm not sure about the exact cause.

Can someone help me?

  • Vote: I like it
  • +1
  • Vote: I do not like it

»
4 hours ago, # |
  Vote: I like it 0 Vote: I do not like it

Auto comment: topic has been updated by AgOH (previous revision, new revision, compare).

»
2 hours ago, # |
  Vote: I like it 0 Vote: I do not like it

I think it might be because of GCC14. The same code got AC with GCC13(291919718), but TLE with GCC14(291919741).