Winning CB Scholarship T.C issue

Test case 0,1,2 not getting passed. Used the same logic as described in the video, please help me out.

hello @naivecoder010
use long long datatype in place of int,
it will work for all the test cases.