I was reminiscing my first submissions on Codeforces and how much my coding style has changed since the last year. I am interested in hearing your stories about your coding style or the time when you started Codeforces!
# | User | Rating |
---|---|---|
1 | tourist | 4009 |
2 | jiangly | 3823 |
3 | Benq | 3738 |
4 | Radewoosh | 3633 |
5 | jqdai0815 | 3620 |
6 | orzdevinwang | 3529 |
7 | ecnerwala | 3446 |
8 | Um_nik | 3396 |
9 | ksun48 | 3390 |
10 | gamegame | 3386 |
# | User | Contrib. |
---|---|---|
1 | cry | 167 |
2 | maomao90 | 163 |
2 | Um_nik | 163 |
4 | atcoder_official | 161 |
5 | adamant | 159 |
6 | -is-this-fft- | 158 |
7 | awoo | 157 |
8 | TheScrasse | 154 |
9 | nor | 153 |
9 | Dominater069 | 153 |
I was reminiscing my first submissions on Codeforces and how much my coding style has changed since the last year. I am interested in hearing your stories about your coding style or the time when you started Codeforces!
Name |
---|
My path is from clean code to ugly template...
lol , true.
I abandoned my whole template and now I write fully clean code.
Have you observed any personal benefits or any improvement during problem solving after adopting a cleaner coding style?
yeah, It is good for interviews. And I don't see any major benefits using templates other than just some seconds of time.
JavaScript -> python -> C++. Thats it.
from clean code to ugly code.
from solving problem A in 1 hour 50 minutes to solve it in less than 5 minutes(my typing speed is not very fast so i dont solve it in less than 1-2 minutes)
Been only a month here but coding style has changed from Wrong Answer on Pretest 2 to Wrong Answer on Pretest 2
At least u're pupil in less than 1 month it took me 6 month's for becomming pupil.
Pupil is nothing :(
From clean small codes to Ugly confusing code using multiple 100-200 line templates.
Instead of thinking about cases on paper,I now just write ugly if-else ladders. Speedforces whoooosh.
And as I am implementing my if-else ladders I come across 2-3 observations that would have saved me a lot of code.
I remember getting intimidated by variations of C++ submission languages.
Submission languages?
Yeah C++ Clang, GCC, G++ etc, I didn't know which one to pick.
It happened to me too! I got compilation error by submitting my c++ solution in GCC. And it indeed took me a while to understand what was wrong.
my coding style sucks. Doesn't differ if it is from 2 years ago or from today.
Do you obfuscate your code or do you actually code with that style?
I actually code with that style. It is now easier for my eyes to read that code(I am not used to a lot of spaces. I've got used to compact mode)
Wow, lol, what is your coding enviroment since a lot of the editors/IDE have auto-ident so I am guessing you either change your settings or code somewhere else?
Codeblocks
Have you stopped here or do you have plans of removing new line also?
I guarantee that I won't remove new line xD