hello everyone ; I am trying to solve this problem
https://codeforces.com/problemset/problem/791/A
and my submission is
https://codeforces.com/problemset/submission/791/162926301
The code is running and producing correct output for sample test cases in my local ide but in codeforces, I am getting Runtime error for sample testcase!!
Is there anything I am missing?