Can aybody say why problem KMAX2 is giving a partial correct verdict?

https://www.codechef.com/viewsolution/53141088

use long long ans instead of int ans there must be an int overflow

1 Like

Thank You, Sir.

No Problem, Maam