C submission timeout, the same code accepted in all C++

Правка en2, от marian66, 2022-08-04 21:24:32

Hi there, I am new here and I am facing an interesting issue. I've submitted a solution in pure C (GNU C11) and got timeout. Exactly the same code when submitted as being of any C++ did well in around 200ms. Any idea? Here is a copy-paste from my submissions:

167020708 Aug/04/2022 20:12UTC+2 marian66 B — Permutation Chain GNU C++17 (64) Accepted 109 ms 0 KB

167020678 Aug/04/2022 20:12UTC+2 marian66 B — Permutation Chain GNU C++20 (64) Accepted 217 ms 0 KB

167020651 Aug/04/2022 20:12UTC+2 marian66 B — Permutation Chain GNU C++17 Accepted 140 ms 300 KB

167020629 Aug/04/2022 20:11UTC+2 marian66 B — Permutation Chain GNU C++14 Accepted 124 ms 300 KB

167020597 Aug/04/2022 20:11UTC+2 marian66 B — Permutation Chain GNU C11 Time limit exceeded on test 3 2000 ms 0 KB

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en2 Английский marian66 2022-08-04 21:24:32 20
en1 Английский marian66 2022-08-04 21:24:05 863 Initial revision (published)