Codeforces and Polygon may be unavailable from December 6, 19:00 (UTC) to December 6, 21:00 (UTC) due to technical maintenance. ×

samatbor's blog

By samatbor, history, 8 years ago, In English

Hello Codeforces community, Recently I have started to notice that many solutions that I write are pretty slow, although it's always right solutions (they were intended by problemsetters). I've tried to look at code of red participants but didn't find any crucial difference in style of writing. There is one example of problem which I've tried to solve many times, but it didn't pass all the tests (due to TLE) http://mirror.codeforces.com/contest/719/submission/21066177 (the problem is http://mirror.codeforces.com/problemset/problem/719/E) Could you help me with it? If yes, please, could you tell me what makes my code so slow?

Thanks in advance for any help.

Full text and comments »

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

By samatbor, 10 years ago, translation, In English

Меня давно заинтересовал тот факт, что в архиве нельзя искать задачу по всему архиву , а только по какой-то конкретной странице. Может кто-нибудь знает, как преодолеть эту странную особенность?

Full text and comments »

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