Why does this code run for about 5s with C++20 but 1.2s with C++17/23?
C++20: 304481417 TLE. Then I run it in mushup contest to see it's real running time.
C++23: 304515752
C++17: 304490984