Блог пользователя Pumkinhead_Me

Автор Pumkinhead_Me, история, 14 месяцев назад, По-английски

Hello! I have recently been solving a task, and I have encountered some weird behavior on codeforces. I have submitted 2 solutions: https://codeforces.me/contest/1304/submission/343285292 https://codeforces.me/contest/1304/submission/343285436

One of them received the "Idleness limit exceeded on test 1" verdict, while the other got "Accepted". However, the only difference between these 2 submissions is the following line:

int elemCount = lcaList.size();

int elemCount = 2*n-1;

Can anyone explain to me what is causing this behavior?

Edit: The ILE seems to only happen on G++ 20, not G++ 17 or 23. Compiler bug?

  • Проголосовать: нравится
  • +9
  • Проголосовать: не нравится

»
14 месяцев назад, скрыть # |
 
Проголосовать: нравится 0 Проголосовать: не нравится

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

»
14 месяцев назад, скрыть # |
 
Проголосовать: нравится 0 Проголосовать: не нравится

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

»
14 месяцев назад, скрыть # |
 
Проголосовать: нравится 0 Проголосовать: не нравится

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