divrthor345's blog

By divrthor345, history, 2 years ago, In English
  • Vote: I like it
  • +109
  • Vote: I do not like it

By divrthor345, history, 4 years ago, In English

i submited my code in python and got tle
and got ac when submiiting same code written in c
problem B
submission in python
submission in c
i think time limit for the questions should be checked for every language first
the main thing is to think of an approach in o(n)
if we use o(n^2) it will definitely gonna take more than 10 seconds
so the time limit should be set that accepts all the solutions with o(n) approach

Full text and comments »

  • Vote: I like it
  • +13
  • Vote: I do not like it