My code is not working 2 test cases are not passing

Sir/Ma’am
please check my code I think there is some memory issue i am not able to solve.

hello @sinhadivyam19
use long long and then try.

i replaces unsigned long long with long long but still it’s the same thing

@sinhadivyam19
check ur updated code.-> https://ide.codingblocks.com/s/270541
chnaged datatype to long long.

initilaised count[0]=1 .

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.