Time limit problem

why the same logic work in c++ and showing TLE in python code?

Please don’t discuss Problems from ongoing Contests on the forums, even in general terms.

Closing this thread.