Getting Output:Error

The code is working in my local compiler. But when I try to Run Code on custom input, it is giving Output : Error and no description of the error