Same code got TLE in C++11 but AC in C++17

Правка en1, от anupam, 2021-05-13 15:35:12

Same code got TLE in GNU C++11 and got AC in GNU C++17. Can someone please tell me the reason behind it?

TLE (C++11): http://codeforces.net/contest/1520/submission/115347126

AC (C++17): http://codeforces.net/contest/1520/submission/115347176

Thanks!

Теги gnu c++17 vs gnu c++11, #tle

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en1 Английский anupam 2021-05-13 15:35:12 420 Initial revision (published)