Пожалуйста, подпишитесь на официальный канал Codeforces в Telegram по ссылке https://t.me/codeforces_official. ×

Different time and memory complexity in different compiler

Правка en3, от cloud_007, 2022-09-22 08:19:50

Hi!

I've found this strange thing(maybe not that strange who already knows it). Can anyone explain why this takes less time and memory complexity in C++14 and C++17 compilers than in the C++20 compiler? I've attached the time and memory complexity of this problem below.

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en4 Английский cloud_007 2022-09-22 08:21:34 223
en3 Английский cloud_007 2022-09-22 08:19:50 28 Tiny change: ') below.\n![ ](https://' -> ') below.\n[image](https://'
en2 Английский cloud_007 2022-09-22 08:18:45 30 Tiny change: '/F) below.' -> '/F) below.\n![ ](https://ibb.co/chJfH61)'
en1 Английский cloud_007 2022-09-22 08:17:58 379 Initial revision (published)