Why is the code not working for all the test cases

hi @priyanshudhar4, by mistake in system ive taken this doubt as i’m TA in c++, please ask again
sorry for the issue, ive forwarded it to tech team