c++ code run-time speed issue
Разница между en1 и en2, 0 символ(ов) изменены
I was practicing an old problem [757G](https://mirror.codeforces.com/contest/757/problem/G) and I met a huge speed difference among different c++ standard.  ↵

I [received TLE](https://mirror.codeforces.com/contest/757/submission/208910787) (> 5000ms) when submitting with c++17 (64, win). But the exact same code do run fast (< 800ms) in the corresponding testcase when submitting with [c++17] (https://mirror.codeforces.com/contest/757/submission/208910712) or [c++20 (64, win)] (https://mirror.codeforces.com/contest/757/submission/208910479).  ↵

I'm wondering why this could happen. I will be graceful if kindly everybody could point out the reason. 

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en2 Английский BeyondHeaven 2023-06-07 18:44:40 0 (published)
en1 Английский BeyondHeaven 2023-06-07 18:43:52 658 Initial revision (saved to drafts)