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

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

I can't even solve 800 rated problems or div2 A problems. Problems like this https://codeforces.net/problemset/problem/1705/B and this https://codeforces.net/problemset/problem/1714/A.I can't even think how to approach the problems. How can i overcome this ?.It is very disheartening to not being able to solve even 800 Rated problem.In contest i just stare at the first problem.And can't even think what should i do?Please help i want to improve.

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

»
5 часов назад, # |
  Проголосовать: нравится 0 Проголосовать: не нравится

Attempt 50 div 2A`s, in the next 10 days. Think for 30 mins per problem, if you feel stuck move to the next, now re-attempt all the problems you were stuck on. Try this cycle twice, if you are still stuck, see Editorial

»
3 минуты назад, # |
  Проголосовать: нравится 0 Проголосовать: не нравится

Knowing that in most of these problems the intended solution is around 5-10 lines of code might help. If you are thinking about something super hard or long to implement or too many cases, you are likely on the wrong path.

Look on the samples carefully, check different small cases (n = 1, 2, 3, 5, small array) on paper, see in which way you personally solve the problem by hand (intuitively sum up elements / search for the biggest one / ...), try to come up with easiest hypotheses (answer is n+m / answer is YES when n is even / ...) that seem logical and mostly work for your cases, and then maybe tweak them a little (works except n = 1 / works if n != m / ...)