E869120's blog

By E869120, 6 weeks ago, In English,

Dear Codeforces community.
Finally red :)

Today, I want to share about some ways to practice competitive and gain your rating. I hope that this is helpful for those who is practicing competitive programming harder but rating is sluggish. There are 54,000+ people who participated in Codeforces contests actively, but sadly only a few people reach a red-ranked coders. For people who can't reach red, I will introduce my way to gain rating in some steps.

This blog is an extended and more detailed version of my previous tutorial blog, but 2 years and now are different. So there are many points that are different from blog which has written 2 years ago. Note: Some people who already read my previous tutorial blog may doubt, but do not doubt — I should say that the "from rating 1000 to 2000" part of this blog is not the copy of my previous blog and it's very different.

Since the size is very big, if I wrote contents to Codeforces blog directly, it might be too long. So, this time, I will share a 19-page PDF link of my tutorial blog. This time, my blog includes introduction, knowledge of some contests systems (AtCoder, TopCoder) and some convenient websites, some ways to practice for improve rating, and conclusion. Also, optimal practice method is differ by rating. So, this time, I will write in 4 steps: 1000 -> 1400, 1400 -> 1900, 1900 -> 2200, and 2200 -> 2400.



The link of my blog (PDF) is as follows:

[Tutorial] A way to practice competitive programming — from rating 1000 to 2400+


Please comment if you have suggestions, comments to my blog, and opinions on my way to practice.
Thank you for reading!
 
 
 
 
  • Vote: I like it
  • +609
  • Vote: I do not like it

»
6 weeks ago, # |
Rev. 2   Vote: I like it +20 Vote: I do not like it

Thank you !

»
6 weeks ago, # |
  Vote: I like it +16 Vote: I do not like it

Thank You for the amazing tutorial!. I hope you become LGM soon.

»
6 weeks ago, # |
  Vote: I like it +26 Vote: I do not like it

Could you please, write a tutorial about preparation for Olympiads in Informatics?

I appreciate your dedication and all this work very much, thank you for a new amazing tutorial!

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

    If you reach yellow+ in CF and/or topcoder. Plus you solve enough past OI problems from the well-known checklist by ko_osaga, I guess you're pretty much set to win atleast a bronze.

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

      E869120 has already won a gold medal at the IOI, link.

      For my country whole history only 2 students won a gold medal and it was 12 years ago. This fact confuses me, I don't think that we don't have talented hard-working students.

      Thus, I'm very curious about how to win a gold medal and it's a reason why I ask E869120 for help.

      • »
        »
        »
        »
        6 weeks ago, # ^ |
        Rev. 2   Vote: I like it +29 Vote: I do not like it

        Okay, now I know that there are a lot of people who wants to know how to get gold medal in IOI.

        Since writing so many blogs in short period is not so good for me, I'll write a blog about "[Tutorial] How to win a gold medal in IOI" (title is tenative) 2-3 weeks later.

        Thank you for your proposal. :)

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

          Great!

          I'm very grateful to you!

        • »
          »
          »
          »
          »
          4 weeks ago, # ^ |
            Vote: I like it 0 Vote: I do not like it

          Hurry up, so all contestants can win gold medal in IOI2019 if that's even possible.

          • »
            »
            »
            »
            »
            »
            4 weeks ago, # ^ |
              Vote: I like it 0 Vote: I do not like it

            Now I am during school trip, so I cannot write now :(

            • »
              »
              »
              »
              »
              »
              »
              4 weeks ago, # ^ |
                Vote: I like it 0 Vote: I do not like it

              Ignore my comment, enjoy your time :D

        • »
          »
          »
          »
          »
          8 days ago, # ^ |
            Vote: I like it 0 Vote: I do not like it

          I dont mean to pester you, but as an absolute beginner, I am highly anticipating the blog!When do you plan to post it?

»
6 weeks ago, # |
  Vote: I like it +39 Vote: I do not like it

How do you see performance rating in cf?

  • »
    »
    6 weeks ago, # ^ |
    Rev. 2   Vote: I like it +34 Vote: I do not like it

    First, I should apologize that I did not show how to calculate performance in Codeforces in my blog. Thank you for your comment.

    Actually, in Codeforces, your approximate performance in contests/virtual is calculated as follows:

    • $$$p$$$ : Your rank in Codeforces contest
    • $$$a$$$ : Initial rating of participant who got rank $$$p$$$
    • $$$b$$$ : Rating change of participant who got rank $$$p$$$
    • $$$perf = a + 4 * b$$$ (approximately)

    For example, if you got 20th place in contest and rating changed from $$$2513$$$ to $$$2604$$$, your performance is approximately $$$2513 + 4 * 91 = 2877$$$.
    Another example is virtual contests. If you got $$$4200$$$ points and it was between $$$13$$$-th place and $$$14$$$-th place in actual contest, your performance is approximately the average of performance of $$$13$$$-th player and performance of $$$14$$$-th player.

    But there could be error of ~50 rating performance. So if you want to calculate more precisely, you can pick the rating change of several people who got very near rank and rating does not change so much.

    Sorry for not showing performance calculation formula in my blog.
»
6 weeks ago, # |
  Vote: I like it +10 Vote: I do not like it

Thank you so much for your great contribution to the Codeforces community.

»
6 weeks ago, # |
  Vote: I like it +18 Vote: I do not like it

Thank you for your tutorial !!!!!!!!!!!!!!! Love you so much !!!!!!!!!!!!! I want be the best !!!!!!!!!!!!!!!!!!!!!!!!!!!

»
6 weeks ago, # |
Rev. 2   Vote: I like it +120 Vote: I do not like it

A way to increase contribution from $$$0$$$ to $$$100$$$:

$$$0$$$-$$$20$$$: leave stupid comments

$$$20$$$-$$$40$$$: write a blog on how to increase contribution from $$$0$$$ to $$$20$$$

$$$40$$$-$$$60$$$: write a blog on how to increase contribution from $$$20$$$ to $$$40$$$

$$$60$$$-$$$80$$$: write a blog on how to increase contribution from $$$40$$$ to $$$60$$$

$$$80$$$-$$$100$$$: write a blog on how to increase contribution from $$$60$$$ to $$$80$$$

  • »
    »
    6 weeks ago, # ^ |
      Vote: I like it 0 Vote: I do not like it

    Will you tell how to increase from 100 to 120?

    Just 17 points to write from 120 to 140 XD

  • »
    »
    6 weeks ago, # ^ |
      Vote: I like it 0 Vote: I do not like it

    How about how to get minus contribution? Your comment is not too informative. Please review your shallow comment.

  • »
    »
    6 weeks ago, # ^ |
      Vote: I like it 0 Vote: I do not like it

    To increase contribution from 80-100, you need to be a red coder too xD

  • »
    »
    4 weeks ago, # ^ |
      Vote: I like it 0 Vote: I do not like it

    I appreciate your humor. And seems like it worked for you. The only reason I see for this is the fact that you are a Grand Master. But can you explain how much upvotes make +1 contribution and how some people have even negative contributions too?

»
6 weeks ago, # |
  Vote: I like it +10 Vote: I do not like it

Astonishing effort, thank you!

»
6 weeks ago, # |
  Vote: I like it +13 Vote: I do not like it

It's about time you add a new character to your name and get the Nutella node in your avatar.

»
6 weeks ago, # |
  Vote: I like it +10 Vote: I do not like it

Thank you very much for your article. Because you didn't participate for so long on codeforces but you trained a lot, now you will probably get to constant IG no problem.

»
6 weeks ago, # |
  Vote: I like it +10 Vote: I do not like it

Thank you!

»
6 weeks ago, # |
  Vote: I like it +29 Vote: I do not like it

Very thank you for so many number of readers and so many comments.

I know that there are many, and countless number of people who want to gain rating in Codeforces. I'm really hoping that my blog is usable for some people. Also, I'm really hoping that tutorial blog will increase in Codeforces, because it can be very beneficial for readers and Codeforces users.

Anyway, I really appreciate for hundreds (maybe over 1000) of people who read my blog. Cheers!

»
6 weeks ago, # |
  Vote: I like it +14 Vote: I do not like it

Hi, which 50 topcoder problems to solve to get better, also how can I submit topcoder problems on the online judge.

»
6 weeks ago, # |
  Vote: I like it +15 Vote: I do not like it

You are awesome, thank you very much E869120, my goal is to be candidate master before finish this year, Just for curiosity, How many hours do you train per week?

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

    Because I have some classes in high school, on weekdays, I trains ~3 hours per day. On weekends, I trains ~8 hours per day. So, on average, I trains approximately 25-30 hours per week.

    But just before IOI was different. In Japan, there is summer vacation from late July to late August. So, usually, just before IOI is during summer vacation in Japan. So I was able to train 12-14 hours per day from 1-2 weeks before IOI.

»
6 weeks ago, # |
  Vote: I like it +10 Vote: I do not like it

Amazing!

»
6 weeks ago, # |
  Vote: I like it +13 Vote: I do not like it

Great job!

I enjoyed every page of your tutorial ;)

»
6 weeks ago, # |
  Vote: I like it +15 Vote: I do not like it

Hi! I remember you as one of the tomato twins. :)

I guess I'm the only one among the IOI18 golds, who had gone purple from orange after IOI. I always wanted to be a red coder, but now I know that I never practiced seriously for that. Maybe I just have been lost, forgetting how to practice.

This post is not only amazing itself, but it also reminds me that if there is a shining achievement, there should be corresponding efforts.

Congrats to you being a red coder, and thanks for your guidelines. Hope to see you again!

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

    Thank you! And hope to see you again!

    By the way, my mascot that I brought in IOI 2018 was not a tomato, but an apple :)

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

      Whoops, sorry. Its color was so tomato-ish. XD Thanks anyway!

»
6 weeks ago, # |
  Vote: I like it +10 Vote: I do not like it

thank you

»
6 weeks ago, # |
Rev. 2   Vote: I like it +13 Vote: I do not like it

Oh,Chinese can't use Google. So can you give the link in another websites such as github.com?

  • »
    »
    4 weeks ago, # ^ |
      Vote: I like it +8 Vote: I do not like it

    Sorry for replying very late, because I was busy for practicing for APIO.

    This is the link of my tutorial in github. Sorry for replying late, and thank you for mentioning that Chinese cannot use google. (I didn't know about that)

»
6 weeks ago, # |
  Vote: I like it +15 Vote: I do not like it

Does AtCoder release English editorials for ABC contests ?

  • »
    »
    5 weeks ago, # ^ |
      Vote: I like it 0 Vote: I do not like it

    Sometimes. Not in every ABC.

    • »
      »
      »
      5 weeks ago, # ^ |
      Rev. 3   Vote: I like it -8 Vote: I do not like it

      Thanks. As I later read in the OP's tutorial, the editorials usually contain code samples, so that helps. I also tried google translate for some of the problems and it worked OK for me.

      (I was writing this comment while boarding a plane so I missed this part :))

»
6 weeks ago, # |
  Vote: I like it +10 Vote: I do not like it

Thanks for your help. You are kind hearted

»
6 weeks ago, # |
  Vote: I like it -14 Vote: I do not like it

Hoow to reach the level of gennady korotkevich or petr mitrichev ? any idea ?

»
5 weeks ago, # |
  Vote: I like it 0 Vote: I do not like it

Dear E869120 thanks to you for posting all your insights. I would like to know your opinion about Hackerrank problems. Do you ever use hackerrank for practice or do you think the other judges mentioned in your tutorial have more rich problems?

  • »
    »
    4 weeks ago, # ^ |
      Vote: I like it 0 Vote: I do not like it

    Yes!

    2 years ago, I was solving hackerrank problems, and participating in hackerrank contests including "Week of Code" or "Hourrank". In my opinion, since many of hackerrank contests there are many partial scoring, if you want to practice for OI-like contests (IOI, APIO, POI, national selection camp for IOI) it is good idea to practice hackerrank.

    Since there are many typical problems in hackerrank, I think that if you think you are lacking of using typical algorithm efficiently, solving hackerrank is also a good idea. But if you want to improve skills to solve problems faster, or skills to thinking about solution, you should upsolve problems in AtCoder.

»
5 weeks ago, # |
  Vote: I like it 0 Vote: I do not like it

Hey, I wanted to know how can some people on codeforces are able to solve questions like just in a minute. They have a submission for A-type problem on 00:01 and for B-type problem on 00:03. How's that possible? if I only consider the reading time for question and then even copy paste the code it goes beyond a minute. Please suggest some tips to increase our speed like that.

  • »
    »
    5 weeks ago, # ^ |
      Vote: I like it 0 Vote: I do not like it

    Actually it is not that hard ... 00:01 in CF actually means that the submission was made before the second minute of the contest. So 40 seconds to read problem statement and 1 minute 19 seconds to write code amd submit. Shouldn't be too hard for problem As in div 2.

    Also, you can watch the screencast of several GMs on youtube to see how they do it.

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

      Hey thanks, I was not aware that it's a 1 min and 59 secs game. And can u share some links of the screencast?

»
4 weeks ago, # |
  Vote: I like it -8 Vote: I do not like it

Can someone please elaborate how these contributions increases or decreases on codeforces?

»
4 weeks ago, # |
Rev. 3   Vote: I like it +19 Vote: I do not like it

This is incredible !

I have been following your posts ever since you were a Candidate Master and this is a fantastic achievement ! Many Congratulations. I am quite proud of you.

Your tutorial is also quite helpful. Solving problems on AtCoder does do wonders.

Thank you very much for sharing the website kenkoooo. On AtCoder, we cannot see which problems we have solved in one screen and need to go to the Submissions page of each individual contest. This website is certainly very helpful. (Although now that AtCoder Beginner Contest has started including 6 problems, the interface of kenkoooo will also have to change. Not sure if they will be able to accomodate that.)

Wish you all the best !

May God bless you

»
4 weeks ago, # |
  Vote: I like it +10 Vote: I do not like it

Thanks for your experience.

"But getting average performance of rating 2400 is much more difficult than you think."

I have been stuck in orange for long time, and reached red by luck. I admit that I can't keep red. Training skill above 2200+ mentioned in your tutorial seems very useful to me.

»
4 weeks ago, # |
  Vote: I like it +3 Vote: I do not like it

I'm weak at math.Can you drop some suggestions to grow decent knowledge on topics like combinatorics,probability,geometry etc.?Thank you for the tutorial!

»
8 days ago, # |
  Vote: I like it 0 Vote: I do not like it

Thank you very much, I might finally reach green (maybe beyond green) if I follow this.

»
8 days ago, # |
  Vote: I like it 0 Vote: I do not like it

thank you for this great effort , your are helpful ;

»
8 days ago, # |
  Vote: I like it +25 Vote: I do not like it

Thanks for a great tutorial!

I disagree with some points but it's ofc. hard to say which method is the best. What I would recommend:

  1. Don't go to the editorial after some fixed time like 20 minutes of solving a problem. Give up only if you are stuck for 10-30 minutes (10 in case of easy problems, more for harder ones). As long as you have some ideas, do investigate them and maybe you'll solve the problem yourself.
  2. Upsolving problems is very important. This way you learn new things. After a contest or virtual participation, try to solve at least one more problem. This should be said early in the PDF, not only in parts about getting red rating.
  3. I don't think you should copy segment trees from your code library (reference document). It's better to struggle for some time and implement them every time. You will get faster and will understand them better. Plus this is a must for those who prepare for IOI. My friends and I implement seg-trees from scratch every time. I don't remember if I ever used to copy them.
  4. It's unnecessary to do "50+ virtual participations in CF". Just solve problems slightly above your level. Do some virtual participations if you want to.
  5. Consider changing "Make a routine that you will do just before the contest. It directly leads to the concentration during the contest." to "don't care about the contest, just have fun solving problems". I'm quite sure people perform better when they are relaxed (but not distracted).
  6. "Although I experienced competitive programming for 3 years, I think that I don’t know many techniques" — I think that's because you're doing too much virtual participation. You spend a lot of time on easy problems this way.
  • »
    »
    8 days ago, # ^ |
      Vote: I like it +21 Vote: I do not like it

    Wow great idea & suggestion from a coder once reached legendary grandmaster...! Thank you for your comment.

    • »
      »
      »
      7 days ago, # ^ |
        Vote: I like it 0 Vote: I do not like it

      Is this a variation of "Wow! cool post. Thanks for sharing."

  • »
    »
    8 days ago, # ^ |
      Vote: I like it 0 Vote: I do not like it

    I don't quite care about rating and enjoy CF contests for fun. But when I go to IOI I can't quite do the same and I failed hard...

»
7 days ago, # |
  Vote: I like it 0 Vote: I do not like it

Hi did you wrote the IOI tutorial?