GNU C++17(64) and GNU C++20(64) is better than GNU C++17

Правка en2, от 3omar_ahmed, 2022-06-14 11:41:00

In the last round in Educational Codeforces Round 130 (Rated for Div. 2) i solved 1697C - 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.

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en5 Английский 3omar_ahmed 2022-06-14 11:46:12 0 (published)
en4 Английский 3omar_ahmed 2022-06-14 11:43:32 153
en3 Английский 3omar_ahmed 2022-06-14 11:42:04 61
en2 Английский 3omar_ahmed 2022-06-14 11:41:00 80
en1 Английский 3omar_ahmed 2022-06-14 11:39:57 750 Initial revision (saved to drafts)