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

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

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

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