shantol's blog

By shantol, history, 4 years ago, In English

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://mirror.codeforces.com/contest/1501/submission/109903610

The code, getting TLE: https://mirror.codeforces.com/contest/1501/submission/110064601

someone pls explain why?

Full text and comments »

Tags ac, tle, same, why
  • Vote: I like it
  • -2
  • Vote: I do not like it