Kotlin 1.7 Compilation Error: Idleness Limit Exceeded (process hangs)

Правка en1, от arvindf232, 2024-04-05 17:23:50

When solving 1096G - Lucky Tickets using generating functions, I run into a compilation error with message "idleness limit exceeded (process hangs)". Furthermore, I only received the verdict about 5 minutes after the submission.

The submission in question: 255101271

I have tried submitting this and similar code a few times, and they all reliably reproduce The Idleness limit Exceeded CE.

The code is indeed long and convoluted. By removing some unused code, this can be compiled (255102439). Therefore, though annoying, this won't necessarily make a correct solution impossible to submit.

I had received "Compilation process timeout" verdict before on long and complicated codes. I would expect to receive such a CE shortly after the compilation time is used up (e.g. within a minute).

However, in this case, I was only able to receive a CE (idleness limit exceeded) after about five minutes. Therefore, I believe something is not quite right

A few points to add:

  • This code compiles perfectly well on Kotlin 1.9 (255101585) (Side note: This TLEs, which is why it is necessary to submit on Kotlin 1.7)
  • No parts of the code can individually hangs the compilation process. As 255102439 shows the main solution could be compiled and I have submitted the rest of the code (my standard template) many times on 1.7 without issues

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en3 Английский arvindf232 2024-04-05 18:45:33 0 (published)
en2 Английский arvindf232 2024-04-05 18:43:07 1780
en1 Английский arvindf232 2024-04-05 17:23:50 1478 Initial revision (saved to drafts)