Same solution different implementation but one is TLE whereas one is AC. Can anyone explain?

Правка en1, от Haricane193, 2022-03-15 15:18:03

These solutions are for Problem. This solution -> My Implementation goes TLE. whereas this solution -> Editorial goes AC when both have the exact same idea just implemented differently.


  Rev. Язык Кто Когда Δ Комментарий
en1 Английский Haricane193 2022-03-15 15:18:03 452 Initial revision (published)