So I was doing this problem: https://codeforces.net/contest/1490/problem/F. And I got TLE when I use C++11: https://codeforces.net/contest/1490/submission/144339905 . and C++14: https://codeforces.net/contest/1490/submission/144338420 . but AC when using C++20: https://codeforces.net/contest/1490/submission/144339955 .↵
Can anyone tell me why this is happening?
Can anyone tell me why this is happening?