2 TSETCASES NOT PASSING

can you tell me the problem in the code. test case 2,3 are not giving wrong output

hello @akshatsaraswat03
image
use long long in place of int

thankyou . it worked