MTX_AS's blog

By MTX_AS, history, 3 years ago, In English

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?

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

| Write comment?
»
3 years ago, # |
Rev. 2   Vote: I like it -22 Vote: I do not like it

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

»
3 years ago, # |
Rev. 2   Vote: I like it 0 Vote: I do not like it

Reaction after today's div-2 D ?

  • »
    »
    3 years ago, # ^ |
      Vote: I like it +2 Vote: I do not like it

    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 years ago, # |
  Vote: I like it +4 Vote: I do not like it

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 years ago, # |
  Vote: I like it +13 Vote: I do not like it

Stress test your code