Comments

Thanks

Why is time limit getting exceeded on test case 10? I cannot understand. My submission https://mirror.codeforces.com/problemset/submission/1287/68273741