Why this solution has TLE?
Dear CF community, why this solution gives TLE, while this solution normally passes the tests?
Is there anything wrong with using "const int N"?