Please, try EDU on Codeforces! New educational section with videos, subtitles, texts, and problems. ×

tanmay2625's blog

By tanmay2625, history, 6 weeks ago, In English,

Dear Codeforces Community,

Many times, we find it difficult to implement solutions to some problems (generally higher than our own rating), even after reading editorials. There are some implementation details that are not clear. At such times, it is useful to add some contestants as friends who write clean and readable codes. Also, their codes help us to get the idea of solutions (just after the contest) even before editorials are published.

Here are some contestants (in no particular order) that I know who write very neat, clean and readable codes and have helped me a lot so far through their codes :

Name such contestants that you know in the comments section for the benefit of everyone!

Happy coding!

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

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

I think I write pretty neat code. Also, Um_nik has great code like you mentioned (I like referring to his solutions when stuck). There's tourist, ecnerwala and many others too.

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

Major missing : icecuber antontrygubO_o 300iq

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

My favorites kocko, Java, beethoven97, mohmahkho, emthrm and Petr

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

    Thanks! Didn't know that somebody reads my solutions and finds them actually good. :)

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

    thanks for your mention

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

Petr is recently using C++ and he writes neat and detailed code.

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

I think this, this, this or this can get you a lot of information!

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

No mention of tourist?

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

    Stating the obvious is boring.

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

    Sorry but i don't find his code neat. The code might be the most optimised and everything but when it comes to neatness, na. Most people don't like such indentations and coding styles, especially from India.

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

    2 Spaces throws me away. idk why, I find code with tab = 2 spaces very hard to read lol.

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

Too many blogs on this topic as Timofey778 has stated, stop spamming old shits please.

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

My favourite: Not-Afraid.

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

    He is not asking favourite... please Re-read the question

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

    Why the F* people are downvoting me? If i can't i express my views then why this blog was written?

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

rajat1603 he too writes elegant code

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

Read Jiangly's codes, for div2 contests, most of the time his codes are better implemented and readable than editorial solutions (Just my opinion tho)

I have learned a lot from his submissions!

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

vladprog also writes very neat and clear codes especially for graph problems

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

The.Last.Wizard write neet and understandable code

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

Codes of vitux are most readable for me

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

    arthurg's code is the most garbage. Whenever I go take out the trash, I make sure to also run rm -rf codeforce_problems to take out the garbage code.

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

i think the best contestant who writes its code very clean very smart and very very short codes for very tough problems is this guy https://codeforces.com/profile/KMAASZRAA and the reason of his clean codes is the time he spent to thinking the exact implementation for a problem and his clean codes helps him to implement the very hard problems in very short time

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

_overrated_ has a very neat codestyle

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

xiryss has a very neat codestyle

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

harshit15 writes too elegant solutions.I have learnt a lot from his submissions

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

pllk's code always helps me, sometimes even better than the editorials.

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

One suggestion to all from my side : Avoid checking Radewoosh code. It will save your time though!

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

    Well, I’m using my native language mixed with English, sorry for that.

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

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

Using the opportunity: does anybody here understand NEAT algorithm, has implemented it and can answer me a few questions about speciation?

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

sanyam1101 writes very neat code. His most submissions are really awesome.

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

I always check MiFaFaOvO's submissions. He could do 30 lines of my code in 3 line codes.

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

It would be a help if someone suggests me some way I can improve the readability of my code. TIA

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

hitman623 see his code

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

Are you kidding , put mango_lassi at the top of the list.No one compares to him in clean and readable code.

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

Once I read someone's code while going through the solutions and I found it really beauTiFul. I guess that's been my motivation for writing a cleaner code and I hope I'm doing well as abeginer.

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

    It was my code. I write my shit better than your shit and everyone's shit.

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

uwi. one of the best Java coder. His coding style and prepared libraries are so elegant.

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

My ICPC teammate abhi2402 always writes neat codes. I learn a lot from his codes while upsolving!

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

krijgertje might not write neat code, but his logic is very unique, and if you see closer you will be surprised as to how a human being could think of that problem in that way. He might not be the best but he stands out.

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

Kuroni writes really neat code! I learned a lot from his solutions and implementations.

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

I too write neat and readable code but I can't solve more than C/D and C/D are solved by tons of contestants! :'(

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

pllk for sure

»
3 weeks ago, # |
  Vote: I like it -21 Vote: I do not like it

Guys watch out my code it's very clean

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

StayAwayFromBitches writes elegant Java code. Have a look at his submissions :)

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

I really like ecnerwala's code especially for div 2 problems

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

I've seen solutions from all these users. But I think they don't even come close to ecnerwala's. His code is not only clean and understandable, he also has very clear ideas about his conceptual solutions, which makes him write much fewer lines than the average. This distinguishes him from other top contestants, who sometimes write spaghetti code due to time pressure. Additionally, he often adds assertions, which I find useful to know what assumptions are made in each part of the code. When I don't understand a problem, the very first thing I do is check if he has solved it.

»
2 weeks ago, # |
  Vote: I like it +8 Vote: I do not like it
»
2 weeks ago, # |
  Vote: I like it +28 Vote: I do not like it

How did you forget tourist? I always read his code and understand the idea easily. Am I the only one?