Run Time error in the code but run on the custom test case

My code perfectly runs on the custom test case and also run on all the test case on leet code but not here giving the run time errors on all the test case.

@sudiksha2526 share your code using cb ide

Hello @sudiksha2526, ok but first of all tell the name of the ques, after that only I will be able to check the error.

Hello @sudiksha2526, I finally got the ques sorry for the inconveniences the input is in the wrong format in the testcases we will soon correct them out.