Discussion About Simple Input

This is Discussion thread about Simple Input

https://hack.codingblocks.com/app/contests/1297/p/58
According to the this problem statement, we have to stop taking input after cumulative sum becomes negative, but in the sample i/o test case , it is taking input even after the sum becomes negative.
Can anyone explain?