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

Revision en1, by 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://mirror.codeforces.com/contest/1520/submission/115347126

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

Thanks!

Tags gnu c++17 vs gnu c++11, #tle

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English anupam 2021-05-13 15:35:12 420 Initial revision (published)