Many time while run the code

i got runtime error but my code is perfectly working in the code block or other ide
please tell how to resolve run time error

Take custom input and then try to run the program

Posting the code might help.

1 Like

copy the input from question and paste it in custom input then run

please post your code over here.