Please read the new rule regarding the restriction on the use of AI tools. ×

AdeelFeroz's blog

By AdeelFeroz, history, 2 years ago, In English

Hi, while solving 1702C — Train and Queries I was constantly getting TLEs in Python. While when I tried to submit the solution in JAVA with the same approach it got accepted. Java Solution -> https://codeforces.me/problemset/submission/1702/164153330 Python Solution -> https://codeforces.me/problemset/submission/1702/164151905 (Also submitted in PyPy, it didn't work either)

I want to know what causes the issue? and how to prevent it...

Full text and comments »

  • Vote: I like it
  • 0
  • Vote: I do not like it