gech_guy's blog

By gech_guy, history, 22 months ago, In English,

HI, codeforces, I am an aspiring programmer, eager to gain knowledge. I want to know name of those coders who write neat codes, without macros and very reading friendly in c++. I have got one for that and he is rajat1603. I would like to know some more coders of this type, so that I can read thier code and understand whenever I feel that editorial is difficult to understand. Please do help.

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

»
22 months ago, # |
  Vote: I like it -17 Vote: I do not like it

My code.

»
22 months ago, # |
  Vote: I like it +12 Vote: I do not like it

Um_nik , Haghani and guys from USACO like pacu and others like most elegant codes I have ever seen.

»
22 months ago, # |
  Vote: I like it +2 Vote: I do not like it
»
22 months ago, # |
  Vote: I like it -6 Vote: I do not like it

Haha we should write a NN to do this xD

»
22 months ago, # |
  Vote: I like it -8 Vote: I do not like it

What will you do then, browse through submissions to find your person who's on your list, instead look over to any randon guy who solved that problem in your preferred language by filtering it. In comments community provides different explanation that might help you. Hope it helps!

  • »
    »
    21 month(s) ago, # ^ |
      Vote: I like it 0 Vote: I do not like it

    If I would make them friends, I can directly see thier codes without searching where his code exist.

»
21 month(s) ago, # |
  Vote: I like it +25 Vote: I do not like it

Benq writes clean code!

»
21 month(s) ago, # |
Rev. 2   Vote: I like it +12 Vote: I do not like it

Alpha_Q.
You may like to checkout his code repository — GitHub/CoolestCodeLibrary . Coolest codes I've seen.

»
21 month(s) ago, # |
  Vote: I like it -38 Vote: I do not like it

Despite of being cyan, some of my friends say I write elegant code. I hope you can learn something new from my code.

  • »
    »
    9 months ago, # ^ |
    Rev. 3   Vote: I like it +20 Vote: I do not like it
    while (skolkim_dolboebam_nravjatsa_ubogie_zadachi_na_grafi < i)
    {
    	indeks_raschitivanija_pidarasov++;
    	skolkim_dolboebam_nravjatsa_ubogie_zadachi_na_grafi += ocherednoj_ubogij_masiv[indeks_raschitivanija_pidarasov];
    }
    

    Wow. It's nice that you avoid using useless 2-letter variable names, but this is equally bad, I wouldn't call that "elegant"...

»
21 month(s) ago, # |
  Vote: I like it -18 Vote: I do not like it
»
21 month(s) ago, # |
Rev. 2   Vote: I like it -34 Vote: I do not like it

Dear gech_guy,

You are welcome to read my code.

I do strive to write clean, fast and memory efficient code for each problem, regardless of how many problems are submitted and accepted during each contest.

Best wishes,

P.S. For those who may think that the writer of this comment has an "ego" problem: please calm down and focus on improving your programming skills. He is just trying to help. Thank you.

  • »
    »
    21 month(s) ago, # ^ |
      Vote: I like it +21 Vote: I do not like it

    meaning("the writer of this comment") == meaning("I").

    This shows you unnecessarily complicate things, hence your code is also probably unnecessarily complicated.

    • »
      »
      »
      21 month(s) ago, # ^ |
      Rev. 6   Vote: I like it 0 Vote: I do not like it

      Your right to interpret the calming down P.S. to the contrary of what it was meant to be is respected.

      Readable, fast, and memory efficient code does not have to be the simplest and the least complicated.

      Thanks and best wishes.

      • »
        »
        »
        »
        21 month(s) ago, # ^ |
          Vote: I like it -8 Vote: I do not like it

        Out of curiosity, why are you referring to yourself in third person? How many people have access to this account? :P

        • »
          »
          »
          »
          »
          21 month(s) ago, # ^ |
          Rev. 2   Vote: I like it -15 Vote: I do not like it

          Dear 1-i

          Thanks for trying to comprehend the reason for not using the pronoun "I" in the P.S. It is hoped that the unrevealed reason is appreciated.

          RE: How many people have access to this account?

          The submissions page of this account is accessible in the public domain without logging in to Codeforces. Therefore, it is assumed that all members of Codeforces have access to it.

          If you mean by "access" having the account password, not just reading the submissions page, the account password has not been shared with anyone. Nonetheless, unauthorized access through hacking the account password is possible no matter how very unlikely.

          Thanks again and best wishes.

»
21 month(s) ago, # |
Rev. 2   Vote: I like it -15 Vote: I do not like it
»
21 month(s) ago, # |
  Vote: I like it 0 Vote: I do not like it
»
21 month(s) ago, # |
Rev. 2   Vote: I like it -7 Vote: I do not like it

tourist, dotorya You should check out the top coders

»
21 month(s) ago, # |
  Vote: I like it +20 Vote: I do not like it
»
21 month(s) ago, # |
  Vote: I like it 0 Vote: I do not like it

dotorya has the most concise code I've ever seen.

»
21 month(s) ago, # |
  Vote: I like it +20 Vote: I do not like it
  • »
    »
    21 month(s) ago, # ^ |
    Rev. 2   Vote: I like it 0 Vote: I do not like it

    I've used I_love I_love_Tanya_Romanova 's code for working through problems I struggle with before. It was neat enough that it helped. Haven't tried reading too many other people's code.

»
21 month(s) ago, # |
  Vote: I like it +5 Vote: I do not like it

adamant, I think

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

Personally, I find neal's code to be very easy to read; it's not always the most concise, but it's typically very easy to understand every part of the code. Very useful to refer to when I wanted to look at implementations for difficult problems.

»
9 months ago, # |
  Vote: I like it +11 Vote: I do not like it
»
9 months ago, # |
  Vote: I like it -13 Vote: I do not like it

You'll never learn how to hack code during a contest if you'll only be able to read codes that are, "without macros and very reading friendly in c++".

Prefer a tougher road to learn something more, rather than the easy ones.

All the best.

»
9 months ago, # |
  Vote: I like it +8 Vote: I do not like it

summitwei writes the best code I have ever seen :o

»
9 months ago, # |
  Vote: I like it +19 Vote: I do not like it

You should check out codes of cerberus97. He writes such beautiful codes.

»
9 months ago, # |
  Vote: I like it +12 Vote: I do not like it
»
9 months ago, # |
Rev. 2   Vote: I like it +4 Vote: I do not like it

ajinkya1p3 submissions looks very neat and easy to understand.