I am unable to understand the error

i saw the hint and made the program accordingly, but now i’m unable to understand the error here

hey @akshatkaush please try resubmitting the code as it is passing all the test cases for me.

Maybe there was something wrog with ide. None of the code was compiling and every code showed the same error that is internal compiler error.

that might have been the case.