This program is running fine in eclipse but giving me runtime error on test case 4 in codeforces but I am not getting why?
Problem Link :
https://codeforces.com/problemset/problem/1137/B
Program Link :
Please help me to find why codeforces is giving runtime error on test case 4.