Run-error reason

What is the cause of run-error in this submission?

Overflow Numeric calculations which produce a result too large to represent.
Divide by Zero Dividing a numeric value by zero.
Invalid Shift Shifting an integer value by an amount which produces an undefined result according to the C standard.
Memory Errors Accessing an invalid memory region in a way which produces an undefined result, such as accessing an array outside its bounds or accessing heap-allocated memory after the memory has been freed.
Uninitialized Data Access Accessing memory before the memory has been initialized, so that the result of the access is undefined under C semantics.

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.