Блог пользователя teejorob

Автор teejorob, история, 7 часов назад, По-английски

Question : here

Submission 1 (TLE) : 293404599, used vector of size 2*1e5 for frequency storage for future lookup

Submission 2 (passed) :293423236, used map for same purpose

Can someone explain why I encountered TLE in the first case?

Полный текст и комментарии »

  • Проголосовать: нравится
  • -6
  • Проголосовать: не нравится

Автор teejorob, история, 21 месяц назад, По-английски

To go from pupil to specialist, my plan is to clear the third question of upcoming Div2 contests(with less priority on time and more on clearing the question itself). However, as I am mostly not able to clear the third question even with sufficient time during a contest(So far, I have been able to clear A and B), I wanted some advice from the more experienced members on codeforces, as I am starting to believe that my current method of preparation is not the most effective...

Specifically these questions mainly:

  1. What are the most common topic tags and difficulty level tag for d2c, and an effective practice regime to prepare for them?
  2. Any bonus tips are also appreciated.
  3. Also any tips to clear A and B faster is welcome. 4.(surely, this question must have been asked before, but I have not found anything relevant yet, so if anyone can link a blog regarding answers to the same, that is also cool)

Полный текст и комментарии »

  • Проголосовать: нравится
  • +9
  • Проголосовать: не нравится