only 3 test cases passed what is wrong in code
hello @AjayRRJ use long long for all variables . and then it will work
thanks bro for late night help