I am getting RTE on test case 7 but I can't understand why I am getting Run Time Error. Everything seems ok to me. Plz anyone help me.
problem: https://codeforces.me/contest/1399/problem/D My solution: https://codeforces.me/contest/1484/submission/110885227