Processor-47's blog

By Processor-47, history, 11 months ago, In English

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.

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

»
11 months ago, # |
  Vote: I like it +3 Vote: I do not like it

you simply have to practice a lot, learn new algorithms, read the code of top ranking people and see how they did it and also read editorial. if you are struggling in understanding the problem statement try to search for a youtube video which explains the problem. you cannot expect yourself to solve every A problem if you have experience less than 1-2 months. you said you started coding 7 months ago but how long have you been doing problem solving?

  • »
    »
    11 months ago, # ^ |
      Vote: I like it +6 Vote: I do not like it

    Upcoming LanceTheTrainer's comments

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

    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".

    • »
      »
      »
      11 months ago, # ^ |
        Vote: I like it 0 Vote: I do not like it

      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.

»
11 months ago, # |
  Vote: I like it +4 Vote: I do not like it

also do not be discouraged if you cannot solve a problem, try your best to think of a way for 30-40 minutes if you think you can solve it but you dont exactly know how to solve it. if you have 0 idea from the start how you can approach the problem, read the editorial and other people's code on the problem, you can read top rankings code by going to standing option of the contest.

»
11 months ago, # |
  Vote: I like it 0 Vote: I do not like it

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.

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

try this

Once you're confident you can proceed with this

»
11 months ago, # |
  Vote: I like it 0 Vote: I do not like it

I think questions in codeforces are quite mathematical. You can filter the problemset by difficulty. If you are not familiar with algorithms or data structures, I think LeetCode or CodeChef are also good sites for practicing. Think about the question for 30 minutes top. If you still have no idea, read the editorial and discussion. Don't care about the rating. If you participant in a contest, try to upsolve some problems later on.

Keep practicing and not to give up. You will see the improvement.

»
11 months ago, # |
  Vote: I like it -8 Vote: I do not like it

The start is never easy, be patient with a hard-working mindset you'll definitely succeed!

1.Start with HackerRank's easy problems. 2.Master all the STL algorithms before starting Competitive, it'll just demoralize you 3.TRY THESE!

AND YEAH JUST BE PATIENT BRUHH!

»
11 months ago, # |
  Vote: I like it +9 Vote: I do not like it

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 PinkRabbit helped me a lot and encouraged me with my coding career.

  • »
    »
    11 months ago, # ^ |
      Vote: I like it +5 Vote: I do not like it

    Damn, I wish I had friends.

    • »
      »
      »
      11 months ago, # ^ |
        Vote: I like it 0 Vote: I do not like it

      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?

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

        why pressure? is anything making you nervous?

        • »
          »
          »
          »
          »
          11 months ago, # ^ |
            Vote: I like it 0 Vote: I do not like it

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

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

            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!

»
11 months ago, # |
  Vote: I like it 0 Vote: I do not like it

Instead of beginning with Codeforces, try Atcoder first. Compete in Beginner Contests, try to do first three problems in 15-20 minutes. This will train you at speed and implementation skills. Also to do better, there is no substitute for practice. So do atleast 100-150 A problem on codeforces.

»
11 months ago, # |
  Vote: I like it +3 Vote: I do not like it

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.

»
11 months ago, # |
  Vote: I like it +24 Vote: I do not like it

just stop programming dude

»
11 months ago, # |
  Vote: I like it +5 Vote: I do not like it

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

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

    The same question repeated. So you repeat the same answer.

»
11 months ago, # |
  Vote: I like it 0 Vote: I do not like it

Keep practicing regularly...!! Don't give up, unless you want to...

»
11 months ago, # |
  Vote: I like it 0 Vote: I do not like it

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.

  • »
    »
    11 months ago, # ^ |
      Vote: I like it 0 Vote: I do not like it

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

    • »
      »
      »
      11 months ago, # ^ |
        Vote: I like it 0 Vote: I do not like it

      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 ...

»
11 months ago, # |
  Vote: I like it 0 Vote: I do not like it

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.

»
11 months ago, # |
  Vote: I like it 0 Vote: I do not like it

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