Блог пользователя Not-Strong-Enough

Автор Not-Strong-Enough, история, 4 года назад, По-английски

Hello Coders, I am Rubel, I am from Bangladesh from my childhood I wanted to be a good coder but the thing is sometimes I cannot solve A number problem on Codeforces. It's very sad to me that I cannot able to solve A number problem though I started Coding more than 7 month ago. Sometime I cannot understand the problem statement though sometime I am unable to write code. So please give me some suggestions for improving myself.

Thanks to all.

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

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

.

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

    Upcoming LanceTheTrainer's comments

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

    You are advising someone who can't even solve A sometimes to "learn new algorithms" (yes maybe months or years later) and "read the code of top ranked people" (he may fully understand after maybe months or years later), as a life long advice it's fine but there's a word called "practical".

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

      well we dont know whats gonna help ... as we even dont know the problem ... maybe she/he can improve himself/herself by learning about new ideas .. thats not impossible! but anyway he/she should just start try new ways so that we are suggesting them.

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

.

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

The first few problems of contests do not require standard algorithms like dfs, so it would be better to practice getting good at more basic problem solving concepts through just solving easy problems. I see that you have solved over 100 800 difficulty problems. It would help you more to start solving 900's and 1000's. If you can solve the problem quite quickly, solving it probably won't help you nearly as much as a problem that takes you around an hour to solve. It's better to do problems that you can usually solve, but will take you a bit of time to solve. If you are completely stuck, take a break so you can come back with a fresh perspective, and if that doesn't work, take a look at the editorial, understand it, and implement the solution.

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

try this

Once you're confident you can proceed with this

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

So first, programming does not necessarily equal to problem-solving. Get along with the fundamental knowledge(e.g., dfs&bfs, basic graphs, trees, dp and stuff like that), improve your capabilities of understanding a problem, and you'll definitely become a better coder. At the same time, if you're willing to make some achievement in the field of competitive programming, practice more with cf PROBLEMSET or on other OJ. That'll help you solve problems not requiring algorithms or data-structures easily and save your time. Finally, do try to find friends who're advanced in this. My friend Elegia, Mr_Wu, RainAir and PinkRabbitAFO helped me a lot and encouraged me with my coding career.

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

    Damn, I wish I had friends.

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

      How do I relieve from pressure while practicing? nowadays i just can't concentrate on problem solving even in learning new things...feels like my brain can't handle anything...what to do?

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

        why pressure? is anything making you nervous?

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

          can't concentrate on anything.......even on youtube tutorials of any problem

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

            well maybe if you try reading the problem (even for more than 1 time so that you know it completely )and think about it carefully to have some rough idea about it, you will do better. at least it works for me... by the way having some information about the things that you are gonna learn can help you.. if you already have done it then maybe you can try reviewing the information or video part by part .. or if its about solving a problem maybe you can guess the complete solution in some part of the video. by the way problem with concentration has many solutions! I hope you to find yours!

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

I'll be straightforward and honest to you, There is NO trick.

All you have to do is solve questions of basic topics like Implementation, Greedy, Binary Search, Two pointers, sorting. Try these topics, solve 50 questions for each of them in the rating range of 1200-1400.

Eventually, in couple of months, you'll see that your contest performance has increased to a very well extent, and you have grown pretty good.

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

just stop programming dude

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

There should be feature to mark blog as dulplicates. As same question has been asked Many times. MikeMirzayanov

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

all you need to do is to practice and know about some algorithms. it would be very hard to solve problems in codeforces without even knowing some very popular algorithms. at the first I wasnt familiar even with very simple ones, but just after some months I was able to solve some problems with difficulty 1900 but only in some special tags(which was really good for me). I suggest you to start getting the idea by reading about different ways to solve a problem or even checking others code(but only for some problems) of course I am not a good coder a well but this way seems to help. I hope you to find your solution very soon.

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

    Being able to solve some 1900's by just blindly putting in some algorithm that you know is not really encouraging...

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

      no ... I guess i did not clearly said what I wanted to say .. Im a young student ... the way that Im learning is kinda strange .. we start learning for example binary search and we learn it as good as we can .. so that we will be able to solve problems in this tag even a bit difficult ... but we wont be able to solve some other difficult problems in other tags and of course we ca never solve problems blindly as problems have their own special ideas(without reading others code. that I said "you can try reading others code" then its just to know about ideas at the beginning not to every time read them and solve problems!) and of course I am not doing anything encouraging.. that was just a good step for me ...

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

Given that you started coding 7 months ago and asking such questions means the actual amount of practice you did in those 7 months is very questionable. "Asking how to improve" doesn't mean you are determined to be better.

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

If you want to solve 'A' during contest time, then practice 'B'. If you want to solve 'B', then practice 'C'. So on... Try hard problem to solve. and, don't go for EDITORIAL. Try to solve it by your own. If it require 1/2 days, go for it. After solving that problem,see others solution. You will learn some new technique.

//Happy Coding