can_you_can_a_can_as_a's blog

By can_you_can_a_can_as_a, history, 9 years ago, In English

Can anyone name some red-coder(s) who write good explanatory codes and participates frequently in contests.

Idea is I want someone whose code I can read after contests because I barely understand editorials of problems > Div 1 B.

»
9 years ago, # |
  Vote: I like it -18 Vote: I do not like it

tourist's submissions are usually very clear. For the most recent contest, I looked at kcm1700's because I thought Gennady didn't participate (he just had a bad contest, as it turns out).

»
9 years ago, # |
Rev. 2   Vote: I like it +68 Vote: I do not like it

me, my code is very readable, that's something I'm proud of

»
9 years ago, # |
  Vote: I like it +48 Vote: I do not like it
»
9 years ago, # |
  Vote: I like it +2 Vote: I do not like it
»
9 years ago, # |
  Vote: I like it +28 Vote: I do not like it

Haghani

»
9 years ago, # |
  Vote: I like it +21 Vote: I do not like it

I think you shouldn't read just one code and try to understand that....

It's better to read several codes and compare their algorithms...By this way not only you have a better chance to find a clear code but also you may learn about the problem more and more...Cause some programmers code some algorithms in a different way that they made it themselves and you can learn them to code better and faster maybe...

»
9 years ago, # |
  Vote: I like it +30 Vote: I do not like it

Xellos :)

Now seriously, I think tourist and YuukaKazami write clear codes but they rarely participate in contests so when I want to look at the implementation of some problem, I usually refer to Enchom's (actually I learnt Aho-Corasick from his code :D) and I_love_Tanya_Romanova's codes, they are easily readable and usually help :)

»
9 years ago, # |
  Vote: I like it +18 Vote: I do not like it
»
9 years ago, # |
  Vote: I like it +9 Vote: I do not like it
»
9 years ago, # |
Rev. 2   Vote: I like it 0 Vote: I do not like it

Everybody has their own way of understanding the solution. tourist, Petr, rng_58 all write readable code with almost no micros. I usually code in Java that's why I find Petr code easily readable. He gives proper names to the variables and function, my level is not that good so I take time to understand the algorithm used. I learned using the TreeSet, dfs and bfs from him. Math you need to learn from your own. Apart from that I usually refer rng_58. Btw it matters most if you understand someones code and try to solve related problem like that one without using other codes.

»
9 years ago, # |
  Vote: I like it +5 Vote: I do not like it

I usually try to write nice code. Check :)