WA in LIFTME

Can someone point out the mistake in my code? https://www.codechef.com/viewsolution/32041117

Nevermind I figured it out. I had to use long long int instead of int :sweat_smile:

1 Like