CHEFSHIP pypy3

Why is the same code in python 3.6 giving an AC whereas it’s giving TLE in pypy3?
Link to the submissions below:
Python 3.6:
https://www.codechef.com/viewsolution/33392167
pypy3:
https://www.codechef.com/viewsolution/33392193
Please help me why it is giving TLE.

Possibly this (PyPy3 has only a 2x time multiplier).

3 Likes

Thanks.

1 Like