Input size is not mentioned in the sample input. How to take the input? Should it be array or vector or something else?
Please explain in detail how to initialize and take input and when to stop taking input
Input size in " simple input " problem
hi @mayanktyagi you have to take input till the cumulative sum of all the inputs taken till now doesnt become negative.