here is the code but it is showing wrong answer why?
Sir doubt in this algorithm

use long long here and then it should work
sir see this code i have made everything as long long int still its not working now why plz help
here is the code but it is showing wrong answer why?

use long long here and then it should work
sir see this code i have made everything as long long int still its not working now why plz help