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

Автор 3omar_ahmed, история, 2 года назад, По-английски

In the last round in Educational Codeforces Round 130 (Rated for Div. 2) i solved awoo's Favorite Problem with complexity $$$O(N^2)$$$ by compiler GNU C++20 (64) i wonder how i didn't get TLE, I don't know if there is solution with complexity $$$O(N^2)$$$ or if the tests wasn't good in this problem, also i submited it with compiler GNU C++17 (64) and got accepted ,But i submited it with compiler GNU C++17 and got TLE (Time limit exceeded).

Submissions :

How does it happen ?? Why GNU C++17 (64) and GNU C++20 (64) is better than GNU C++17 ?? How my solution with complexity $$$O(N^2)$$$ works ??

thanks.

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