Блог пользователя love.s

Автор love.s, история, 4 года назад, По-английски

i am noob,in the field of programming .so thats why .i need to which why i should go.for my programming career.the main problem i identify that is i don't understand the problem.what to do with this .i need a solution .for this reason i lose the sprite of coding

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

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

I would like to ask what part of the problem you don't understand. Generally I start with a general reading of the statement and when I feel that I want to know something, generally I try to ask to myself: "What do I want to know about the problem?"

Now if you want to improve in competitive programming, first you have to master C++, trough any good C++ book or sites like https://learncpp.com. After that you should start practicing solving Div 3 or Div 2 A problems. After some weeks of practice, you will start performing better in contests.

Good luck and happy coding ;-)

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

Are you just some troll? In all of the contests you haven't solved a single problem.

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

Go to problemset, sort by difficulty and solve as many as you can. If can't solve for 20 minutes, look in editorial.

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

    is that what you really do when you can't solve a problem? I generally do not read editorial unless all ideas in my brain are drained. I do not know if that is a good approach or not. Can you please tell me what is your approach when you try a problem for an hour and can't solve it.

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

      Depends on the level and difficulty. Taking problems you wouldn't ever solve just to read an editorial without any useful effort is no good for my opinion either but for my opinion, an hour (max. 2-3 if you're persistent enough) is usually enough to indicate whether you are missing something important or not or if you'd solve this problem on the contest. Of course, you can try problems for days until you are completely stuck, but keep in mind that this approach means, that you solve only one problem in those days when you could solve 5x more if you knew when to give up. 20 mins is not enough usually but I think, that the easiest problems are barely observational and this person barely has any instrumentary to solve problems, so it's better if he starts from learning how it is done first. For you, of course, it's different.