Negationist's blog

By Negationist, history, 11 hours ago, In English

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?

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

»
106 minutes ago, # |
  Vote: I like it 0 Vote: I do not like it

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 :(