flash_7's blog

By flash_7, history, 9 years ago, In English

I'm struggling to solve problem C in Codeforces div 2 round.I can solve B very quickly but barely solved problem C.Can anyone give me some suggestions how can i prepere myself to gain the capability to solve problem C?

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

»
9 years ago, # |
  Vote: I like it +6 Vote: I do not like it

do a lot of C problems

My personal advice (but maybe you'll find better strategy): read editorial after 10-15 minutes of not having new ideas (not after e.g. 15 minut spent on task). Then code it.

  • »
    »
    9 years ago, # ^ |
      Vote: I like it 0 Vote: I do not like it

    But do i need to learn some advance algorithm like suffix tree or kmp?Or shall i just focus on solving some hard problems from those topics i have already covered? One more thing,i already tried to solve some C problems from previous rounds,sometimes it seems too hard for me to understand the tutorials.Then if i see the solutions of others and try to learn how they solve it is it a good idea to develop my skill?

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

      Div2-C tutorials are often bad written because they are div1-A and they're easy for author. Or maybe you don't have enough programming/math background? Articles about algorithms and books will be helpful then. And read this

      • »
        »
        »
        »
        9 years ago, # ^ |
          Vote: I like it 0 Vote: I do not like it

        Yes my math & programming background is not that much good.I just started programming two years ago,and started participating in contest 6-7 months ago.But i'm trying to work hard and ready to give everything i can now to fill the gaps.Thank you so much for your help :)

»
9 years ago, # |
  Vote: I like it +1 Vote: I do not like it