prokulijander's blog

By prokulijander, history, 6 hours ago, In English

I go to IOI without knowing to code segment tree.

Edit: Someone else posted this using my laptop while I was gone. Still, it's not far away from the truth.

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

»
5 hours ago, # |
  Vote: I like it +5 Vote: I do not like it

I think you should learn it

»
5 hours ago, # |
  Vote: I like it 0 Vote: I do not like it

Auto comment: topic has been updated by prokulijander (previous revision, new revision, compare).

»
4 hours ago, # |
  Vote: I like it +41 Vote: I do not like it

While it is true in general that you should probably learn it, I think you will be fine. Ability to solve problems (and use binary search) beats knowing any particular data structure or algorithm every day.

Good luck on the IOI!

  • »
    »
    3 hours ago, # ^ |
      Vote: I like it +6 Vote: I do not like it

    binary search for the WIN!

  • »
    »
    101 minute(s) ago, # ^ |
    Rev. 2   Vote: I like it -9 Vote: I do not like it

    Yes, but olimpiad problems usually require data structures just to finish the problem, and many are probably impossible without them.

    • »
      »
      »
      88 minutes ago, # ^ |
        Vote: I like it +5 Vote: I do not like it

      Worst case scenario you lose maybe 30-40 points in 2 problems. That's not nothing, but it's not the end of the world either. You will lose many more points if you are bad at solving problems.

      I would bet I would perform at a high silver / low gold level if I could only use STL data structures.

      • »
        »
        »
        »
        64 minutes ago, # ^ |
        Rev. 2   Vote: I like it 0 Vote: I do not like it

        Yes, definetly, but those 40 points are basically free for other competitors, and it takes much more time to learn to solve problems better then to learn regular segment tree, also behind every DS are many clever ideas that can be used in many problems. I dont doubt you would get gold on IOI with just stl, but your problem solving skills are light years away from average IOI competitors and probably because you did problem solving for longer than they were alive (not an insult)