I tried above program but it is not passing three test cases


this is the above code I don’t know why it is not passing three test cases.

hello @priya_Jain
use long long in place of int and then try