Блог пользователя lukasP

Автор lukasP, 14 лет назад, По-английски

Over the last year I have been writing a Guide to Programming Contests, which is supposed to contain most of the information needed by a successful competition programmer. A possible subtitle could be "Everything you need to know to become a better competition programmer (except algorithms)", because I will not write about algorithms. I decided to present it to you, even though it's not finished.

Here is a link to the main page.

So far, I wrote most material in the section How to get better?, where you can find a full training program for improving your programming skills.

There is a lot of content missing, but I decided to already show it to you to get some feedback. I'll post updates in this thread when I write a new section or chapter.

Please tell me what you think is missing and what you don't like! However, my goal is not to write about algorithms, there are already plenty of books and courses that do this.

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

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

The content is really nice. I enjoyed reading it.

Could you explain in more detail why it is better to debug by printing instead of using the debugger?

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

    Because your teammate can code another problem while you are reading your solution

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

    One of the reasons was already mentioned by dalex but the other reason is that often while debugging on the computer you end up simulating the whole computation step by step and that is very slow.

    This is one of the parts that I wanted to expand, thanks for the question.

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

about vim page: you don't really need user mouse in other editors.

end, shift + home, ctrl x, down, ctrl v

will do. (still longer but a lot quicker than with mouse)

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

I'm a beginner in programming . I've started coding @ codeforces about 50 days ago. I've a total of 185 submissions and all the problems I've done by my basic programming knowledge because I don't know much about different algorithms , data structures etc.. which can be one of the reasons why I'm not able to submit more than one question in the contests @ codeforces . Now what can be the suggstion for me . Whether I should continue the way I'm going or I should first of all learn algo then return back to coding..

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

Thanks a lot @ lucasP . I'll surely follow your suggestions.

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

are there any suggestions for Game Theory? any good books ... thanks in advance

»
14 лет назад, скрыть # |
 
Проголосовать: нравится +23 Проголосовать: не нравится

Recently I found a new way to improve debugging skills, code reading skills and corner-case thinking skills. Which I will look at other's solution (possibly correct) and found what is wrong with it. CodeForces is a very great platform to do this, I can just click into solutions that is judged incorrect, and find out what is wrong.

In ACM-ICPC, when a solution got a WA it is always unsure that whether it is the case that the algorithm is incorrect, or there is a bug in the code. Sometimes I need to read my teammates code, understand what he is doing and figure out what's wrong. My goal is improving those skills will help out in this situation.

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

What about your thoughts the approach to individual training? E.g. time to spend on a problem before reaching for a solution, topic-based or problem set based training, etc.

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

    You should do more topic-based training in the beginning, especially when you are trying to learn new algorithms and techniques. For example you can spend a week only doing dynamic programming problems.

    As you become better, I would personally do less and less topic based training.

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

Oh yeah I have something to tell you as a feedback:

yo forgot to close an opening bracket :D

here

http://contest-wiki.csc.kth.se/index.php/How_to_get_better%3F#Motivation

XD

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

Great content! Thank you for sharing! I have a question similar to visila, how much time would you recommend to spend trying to solve a hard problem before reading an editorial?

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

Thanks for all the great questions so far!

Now I know what topics I should improve in the write-up and it also shows that my effort is of use for a lot of people.

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

Absolutely amazing, I've been looking for some advices and ways to get better a long time ago. I stuy a lot, but I think I don't have a systematic and efective way to do this, so I spend most of my time going on the wrong way. I'll for sure follow this advices and try to organize my schedule and methods to study. Thank you very much lukasP

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

Thank you very much!

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

Very nice material. Good job.

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

thank you very much for great wiki.

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

lukasP the material looks great, thanks for generous sharing. I definitely would like to see more.

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

Page not found

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

[deleted]