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

Автор Negationist, история, 11 часов назад, По-английски

I'm currently going through the geo section on usaco and whenever I learn something new I just stick it in my Point template. I worry this may just make my point template egregiously long though as I go on. On the other hand, I don't want to be boned in a contest or something if my Point struct is here, convex hull is there, etc. What is the norm? What do you guys do?

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

»
112 минут назад, # |
  Проголосовать: нравится 0 Проголосовать: не нравится

Hmm I think you can try using the snippet function, for example, i make a snippet named Hashint and it contains a Hashint struct so I can use it when i use unordered things. I think you can make many snippets to do specific things instead of make a very very long template. But I don't know if this goes against the rules :(