Gettting TLE and wrong answers


see the code , i’m getting TLE

u need to use long long int instead of int
and even then u get tle in 2
i guess its because of extra space
read this solution

It has been resolved already . I have marked it resolved but thank u …for helping. :blush:

1 Like