Comments
On khadaev → Codeforces Round #443, 9 years ago
0

n is 5×10^4 though. Won't it get TLE?