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

Автор gech_guy, история, 6 лет назад, По-английски

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.

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

»
6 лет назад, # |
  Проголосовать: нравится -17 Проголосовать: не нравится

My code.

»
6 лет назад, # |
  Проголосовать: нравится +12 Проголосовать: не нравится

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

»
6 лет назад, # |
  Проголосовать: нравится +2 Проголосовать: не нравится
»
6 лет назад, # |
  Проголосовать: нравится -6 Проголосовать: не нравится

Haha we should write a NN to do this xD

»
6 лет назад, # |
  Проголосовать: нравится -8 Проголосовать: не нравится

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!

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

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

»
6 лет назад, # |
  Проголосовать: нравится +25 Проголосовать: не нравится

Benq writes clean code!

»
6 лет назад, # |
Rev. 2   Проголосовать: нравится +12 Проголосовать: не нравится

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

»
6 лет назад, # |
  Проголосовать: нравится -38 Проголосовать: не нравится

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

  • »
    »
    5 лет назад, # ^ |
    Rev. 3   Проголосовать: нравится +20 Проголосовать: не нравится
    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"...

»
6 лет назад, # |
  Проголосовать: нравится -18 Проголосовать: не нравится
»
6 лет назад, # |
Rev. 2   Проголосовать: нравится -34 Проголосовать: не нравится

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.

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

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

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

    • »
      »
      »
      6 лет назад, # ^ |
      Rev. 6   Проголосовать: нравится 0 Проголосовать: не нравится

      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.

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

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

        • »
          »
          »
          »
          »
          6 лет назад, # ^ |
          Rev. 2   Проголосовать: нравится -15 Проголосовать: не нравится

          Dear I_love_Captain_America

          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.

»
6 лет назад, # |
Rev. 2   Проголосовать: нравится -15 Проголосовать: не нравится
»
6 лет назад, # |
  Проголосовать: нравится +20 Проголосовать: не нравится
»
6 лет назад, # |
  Проголосовать: нравится +20 Проголосовать: не нравится
»
6 лет назад, # |
  Проголосовать: нравится +5 Проголосовать: не нравится

adamant, I think

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

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.

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

summitwei writes the best code I have ever seen :o

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

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

»
5 лет назад, # |
  Проголосовать: нравится +12 Проголосовать: не нравится
»
5 лет назад, # |
Rev. 2   Проголосовать: нравится +4 Проголосовать: не нравится

ajinkya1p3 submissions looks very neat and easy to understand.

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

py_ultron has the best clean codes I have ever seen for newer coders who have just started with cp! :)

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

neal's codes are perfect

»
4 года назад, # |
Rev. 2   Проголосовать: нравится +10 Проголосовать: не нравится

Any coder other than neal who writes codes without macros and best naming of variables?

»
4 года назад, # |
Rev. 2   Проголосовать: нравится +5 Проголосовать: не нравится

mango_lassi

He writes a neat implementation along with comments most of the time.

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

ecnerwala. I like his clean code and assert statements because they clearly indicate what his expectations are about the state of the program at that point.

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

In my opinion Ashishgup , codelegend , cerberus97 , ajinkya1p3 , amnesiac_dusk , Errichto , tourist , Um_nik , mnbvmar. all of these geeks write very neat and clean code. I personally refer Ashishgup 's code.

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

wucstdio He writes most neat codes and without macros.

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

Any legend other than mango_lassi, neal, tourist with intuitive variable names & without macros?

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

I feel tmwilliamlin168 codes damn neat and easy to understand

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

checkout Errichto and Ashishgup

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

Ashishgup and cerberus97 have very clean codes. I refer there codes when I have a doubt about implementation.

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

checkout toxic_hack too.

»
4 года назад, # |
  Проголосовать: нравится +16 Проголосовать: не нравится
»
4 года назад, # |
  Проголосовать: нравится +18 Проголосовать: не нравится
»
4 года назад, # |
  Проголосовать: нравится -10 Проголосовать: не нравится
»
4 года назад, # |
  Проголосовать: нравится -18 Проголосовать: не нравится

Man, they don't use macros because they use snippets and autocomplete.

Do you think they type every single character in those implementations during contest? Of course not!

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

scott_wu has good code

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

Also, icecuber(best competitive coder from Norway and kickstart round 1B 2nd rank holder) writes one of the cleanest codes