https://hack.codingblocks.com/contests/c/537/315
https://ide.codingblocks.com/s/64867
3 testcases passed. 4th testcase giving run-error
https://hack.codingblocks.com/contests/c/537/315
https://ide.codingblocks.com/s/64867
3 testcases passed. 4th testcase giving run-error
Hi Tarun, your code gives runtime error for testcases like
4
1 1 1 1
Try to modify your code for such test cases.