it is showing correct answer for the given sample case
but not passing any test case
Deepak and his journey
Hey @divyam_13 you forgot to take long long int, constraints are high so i would suggest you to take it and then try to submit it. It might get accepted
1 Like