These two codes are exactly same,,but I don't know why one code got accepted but another is getting TLE
The code got AC: https://codeforces.me/contest/1501/submission/109903610
The code, getting TLE: https://codeforces.me/contest/1501/submission/110064601
someone pls explain why?
New test cases were probably added after the contest. Many of the AC solutions during the contest are getting TLE'd.
No, Both of the codes were submitted after the contest
When someone up-hacks any submission, then that test case gets publicly added to that question.
Owwh, Thanks everyone, I have understood