Idk why but this [code](https://mirror.codeforces.com/contest/474/submission/311617170) is giving runtime error on the problem [474F-Ant Colony](https://mirror.codeforces.com/problemset/problem/474/F). WA or TLE would be okay but runtime error!. Please someone fix this.



