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

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

I'm currently targeting Div2D Problems and since Div2d sometimes needs some Data structures/algos, i just want to ask do you guys Implement big codes everytime or you just copy some templates and modify them according to the question in a contest?

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

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

for me,I write my code every time

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

I think it's uncommon for recent div2D's to require anything bigger than a fenwick tree though.

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

I write them everytime to practice implementing and debugging, even while I'm participating in contests.

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

Yes, of course. I am righting them again, again and again. In the contests too. For me rating doesn't matter, I participate in contests for increase my implementation skills, not for copy paste skills.

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

we need another relation between rating and *** research

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

Copying templates is much faster and less mistake-prone. The more of it you can do the better.

You definitely need to understand the code though, so it's best to write your own library. Also, if you are only trying to learn, it can be helpful to write algorithms from scratch, until you are very comfortable with the implementation.