while solving the problem in python, unable to accept input from the code stub provided. the expected output is showing as: terminate called after throwing an instance of ‘std::length_error’
what(): vector::_M_default_append
Aborted
while my output gives a value error: ValueError: invalid literal for int() with base 10: ‘-1 0 1 2 -1 -4’
As the input is not getting accepted properly, I am unable to run my code.
Update: Resolved,=. It was expecting a different type of input. Please close this ticket. Thanks