You are not logged in. Please login at www.codechef.com to post your questions!

×

An advice for competitive programming

50
14

Hello,

By no means, am I a very successful programmer or something, if you don't want to read it its alright and also, if you think I am not qualified to write stuff like this, I will say that it's just personal thoughts. In a hope that I will be helping some of the people here I will continue.

So, I was selected for the IPC Camp this year. I don't know how, I thought I won't because of my codeforces rating. I am just a green there. Thing is the topics that were taught in the lectures mostly consisted of rare topics that bridge the gap between purple and red. Things like palindrome trees and suffix automata were taught, many people did not even understand(Except a handful who are really good programmers). They almost never appear in any short contest. Yes, some topics like geometry and maths are actually helpful for the short contests but most weren't.

I thought maybe this wasn't the right camp for me, but then I came to a realization that this camp was really great, teaching us so many new stuff(Isn't that the whole goal behind organizing any camp?), the problem is with me. I am a big-time procrastinator and never practice. All I do is look at the other "How to be better in competitive programming" type of questions on quora, codeforces and codechef. Most of the times while practicing, I open a problem, think of a solution, if I think of it, I look at the editorial and see if my thinking was correct and then if I can't, I go to the editorial read it and leave it. I almost never implement and submit because of laziness. And I realized, this way it won't work. Just cheating myself and doing long contests more than short contests is only hampering me. Even learning new topics now is not as important as practice. If you solve till div2 D on codeforces, you are a purple/high blue. New topics are only needed for div1 C/div2 E and if you solve them fast, you have a high chance of being a yellow or red.

I was having a talk with kevinsogo the other day, I told him that this is my last try for the IOI this year and asked him about how and what I should practice. Firstly, he told me about how, he said,"You are worrying about it too much. Even I didn't qualify for ICPC World Finals, but I don't care, all that matters is that I enjoyed solving the problems and will continue enjoy solving problems." I asked when to see the editorials, he said,"If you really enjoy solving problems, you will never see the editorial and ruin the joy of problem solving. And if you don;t enjoy problem solving then what's the point of programming competitively? It's ok to see hints or the topics that are needed to solve the problem from editorial only. But that's just how I have practiced." He was really inspiring to me as a competitive programmer.

To sum it up, there is really no new advice, just to the procrastinators and the skeptics, there is no way to get better without practicing; even if you learn all the topics in the world, you will never be able to apply them in problems unless you practice problems. Just take it from someone who was the second lowest rated coder in the camp.

Please do comment and tell me if something I said here was wrong, I can assure there is no wrong intent from my side.
Hope you have a good day and happy coding :)

P.S. When I said "Short contest" I meant if you want a good ranking in the short contests, or else if you want to be among the top 10, of course topics like centroid decomposition and fft appear as div1 D or E many a times.

asked 10 Jul '17, 10:35

ista2000's gravatar image

2★ista2000 ♦
2.3k419
accept rate: 20%

edited 10 Jul '17, 16:12

u finally realised what I was telling u in the camp about practising instead of learning new stuff. For me it was the opposite. I only practised (at least the time that I am allowed laptop access around 1hr/day ) but procastinated on learning new stuff and so the camp turned out to be pretty helpful even though I didn't understand stuff like suffix automata, fft and all but those easy lectures, informal lectures and stuff learned from people like u was a lot. Looking forward to implementing and practising that stuff. Btw, those words by Kevin r really inspiring.

(16 Jul '17, 00:57) mathecodician5★

@mathecodician You said,"I like debugging more than learning new stuff"....thats.....weird. And yeah, I am really happy to have been of use to someone and that you learned some stuff from me too :P

(16 Jul '17, 02:13) ista2000 ♦2★

I said I like solving problems more than learning new stuff. So, Addhyan said that for most people it was the opposite and asked whether I like debugging. So I replied 'yes'.

(16 Jul '17, 10:34) mathecodician5★

12next »

Can someone give some reputation? need to upvote this post.

link

answered 13 Jul '17, 14:28

abhin33t_'s gravatar image

2★abhin33t_
411
accept rate: 0%

Thank you, I am glad you found this so helpful :)

(13 Jul '17, 14:29) ista2000 ♦2★
1

May you rise and rise again. Best wishes for IOI, I'll hope you ace it.

(13 Jul '17, 17:05) abhin33t_2★

This means a lot.

(16 Jul '17, 02:12) ista2000 ♦2★

Very inspiring post @ista2000! Good luck for all your future competitions!
Well, I am below average in programming and can't solve medium+ level question(most probably). Shall I keep on trying the problem and working on the problem even if I don't have slightest of the clue? What I mean is , if I do not know what data structure to use how do I find it??

Thanks for answering in advance :)

link

answered 14 Jul '17, 16:49

dishant_18's gravatar image

1★dishant_18
58918
accept rate: 11%

1

Well, I don't think I am qualified to answer this because even I can't solve many medium+ level question. Maybe this(http://codeforces.com/blog/entry/16599) can help you figure out the answer to the question.

(15 Jul '17, 22:17) ista2000 ♦2★

Thank you for your inspiring words :)

link

answered 16 Jul '17, 02:23

shreya2000's gravatar image

2★shreya2000
212
accept rate: 0%

You're welcome :)

(16 Jul '17, 02:24) ista2000 ♦2★

Hey, that's a nice advice for new programmers like us. Can someone upvote this comment, I need reputation points to upvote the post!!

link

answered 21 Jul '17, 08:01

sarthakgoyal12's gravatar image

2★sarthakgoyal12
503
accept rate: 0%

Really I also have been making the same mistake..Time to change.. Thanks.. :)

link

answered 10 Jul '17, 20:10

soham1234's gravatar image

6★soham1234
1.7k614
accept rate: 20%

1

I am glad I could help you realize what you are doing wrong :)

(10 Jul '17, 21:32) ista2000 ♦2★
5

Itna srs kyu hae sabh? Nice post btw.

(10 Jul '17, 21:58) rajarshi_basu5★
1

You could have just commented on the question...

(10 Jul '17, 22:38) ista2000 ♦2★

Thanks for sharing your experience, and all the best for ZCO,INOI,IOITC and IOI :)

link

answered 13 Jul '17, 19:23

kr_abhinav's gravatar image

5★kr_abhinav
1113
accept rate: 20%

Thank you in advance(in case I make it to there) :)

(13 Jul '17, 20:29) ista2000 ♦2★

Thanks for such a great advice. Can you tell me how the selection process for the IPC is being carried .

link

answered 14 Jul '17, 11:31

agoli1's gravatar image

4★agoli1
111
accept rate: 0%

That's being kept confidential.

(14 Jul '17, 13:34) ista2000 ♦2★

Good share buddy.

link

answered 14 Jul '17, 17:48

silverfangsid's gravatar image

3★silverfangsid
111
accept rate: 0%

Thank you. :)

(15 Jul '17, 22:17) ista2000 ♦2★

Thanks buddy ! U pointed out the problem that every programmer faces it , atleast once in the entire journey of becoming best.

  • Can u provide the links to useful tutorials that can really help me in competitive prog ? (Data structures book and cormen are boring for me ! :( )
link

answered 14 Jul '17, 21:05

shreyansh98's gravatar image

3★shreyansh98
111
accept rate: 0%

" Even learning new topics now is not as important as practice. If you solve till div2 D on codeforces, you are a purple/high blue. New topics are only needed for div1 C/div2 E and if you solve them fast, you have a high chance of being a yellow or red."

As I said, you don't need to follow a list of topics and study it day and night. Just practice the problems, enjoy solving them and be good at solving them. Just this will take you to high blue/purple on codeforces.

(15 Jul '17, 22:15) ista2000 ♦2★

Hey @shreyansh98, you can follow this link:

Data Structures and Algorithms

link

answered 14 Jul '17, 21:27

sudip_95's gravatar image

4★sudip_95
7556
accept rate: 10%

3

Nice recommendation!

(19 Jul '17, 17:09) vijju123 ♦5★
toggle preview
Preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported
  • mathemetical formulas in Latex between $ symbol

Question tags:

×83

question asked: 10 Jul '17, 10:35

question was seen: 8,085 times

last updated: 24 Jul '17, 14:09