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

Автор MTX_AS, история, 3 года назад, По-английски

I've recently realized that I find case work problems quite hard, I often just miss out some cases and can't debug the the code. I would love to ask you whether you have some tips for case work problems.

Also, is there a list of case work problems, or could someone recommend some problems for this topic?

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

»
3 года назад, # |
Rev. 2   Проголосовать: нравится -22 Проголосовать: не нравится

We live in an industrial society and these are its consequences. Casework "problems" "became" a thing. Good job, humanity

»
3 года назад, # |
Rev. 2   Проголосовать: нравится 0 Проголосовать: не нравится

Reaction after today's div-2 D ?

  • »
    »
    3 года назад, # ^ |
      Проголосовать: нравится +2 Проголосовать: не нравится

    Yeah, kinda :D Although I knew that case work problems are my weakness already before, but this one gave the impulse to write this blog.

    I had the main idea for the problem (tried to prove that we just need to check short concatenations), but didn't realize this simple thing with which I would have definitely solved the problem: strings with one letter are palindromes :DD

»
3 года назад, # |
  Проголосовать: нравится +4 Проголосовать: не нравится

try to visualize things in problem on paper, sometimes it can helps a lot.

also in this kind of problems it may be useful just to rewrite all your code if you can't debug it for a long time.

some problems i can recommend: 758C - Unfair Poll, 103029C - John, Katya, no nuts, 102440F - Football championship, 1141E - Superhero Battle

»
3 года назад, # |
  Проголосовать: нравится +13 Проголосовать: не нравится

Stress test your code