Пожалуйста, прочтите новое правило об ограничении использования AI-инструментов. ×

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

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

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.

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

»
7 недель назад, # |
  Проголосовать: нравится +26 Проголосовать: не нравится

I think you should learn it

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

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

»
7 недель назад, # |
  Проголосовать: нравится +226 Проголосовать: не нравится

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!

  • »
    »
    7 недель назад, # ^ |
      Проголосовать: нравится +30 Проголосовать: не нравится

    binary search for the WIN!

  • »
    »
    7 недель назад, # ^ |
    Rev. 2   Проголосовать: нравится 0 Проголосовать: не нравится

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

    • »
      »
      »
      7 недель назад, # ^ |
        Проголосовать: нравится +96 Проголосовать: не нравится

      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.

      • »
        »
        »
        »
        7 недель назад, # ^ |
        Rev. 2   Проголосовать: нравится +38 Проголосовать: не нравится

        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)

      • »
        »
        »
        »
        7 недель назад, # ^ |
          Проголосовать: нравится +9 Проголосовать: не нравится

        I mean you're LGM with a lot of experience, so you prob know a lot of other tricks within STL.

    • »
      »
      »
      6 недель назад, # ^ |
        Проголосовать: нравится +24 Проголосовать: не нравится

      I needed 0 data structures to get ioi silver

      It is only true at the selection stages, but ioi also doesnt like to put data structures in easy problems. And when they do put it, its nit free in any way

      • »
        »
        »
        »
        6 недель назад, # ^ |
          Проголосовать: нравится 0 Проголосовать: не нравится

        You can get ioi silver without full solves on any problem based on my knowledge.

        • »
          »
          »
          »
          »
          6 недель назад, # ^ |
            Проголосовать: нравится 0 Проголосовать: не нравится

          gold is also possible without any full solves. Just look at the standing man, a lot of the gold medalists didn't fully solve any problem, but they are insanely good at partially solve a problem

  • »
    »
    7 недель назад, # ^ |
      Проголосовать: нравится -24 Проголосовать: не нравится

    And guess what the ability to solve problems is?

    • »
      »
      »
      6 недель назад, # ^ |
        Проголосовать: нравится +12 Проголосовать: не нравится

      most definitely IQ

      • »
        »
        »
        »
        6 недель назад, # ^ |
          Проголосовать: нравится -31 Проголосовать: не нравится

        finally you said something correct

        • »
          »
          »
          »
          »
          6 недель назад, # ^ |
            Проголосовать: нравится +17 Проголосовать: не нравится

          If sports programming is just an IQ-gated field, then why not quit if you have concluded that your IQ isn't high enough, instead of spreading IQ-centered propaganda? Realistically, you won't get anyone to quit an activity they have committed a nontrivial amount of time to, with just a few blogs and comments.

        • »
          »
          »
          »
          »
          6 недель назад, # ^ |
            Проголосовать: нравится +64 Проголосовать: не нравится

          more like a sarcastic statement I made as wrong as possible

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

I think you should learn it because it is important for IOI.

  • »
    »
    6 недель назад, # ^ |
      Проголосовать: нравится +27 Проголосовать: не нравится

    Genuinely, why? Why is this comment downvoted? It is, in fact, important for IOI. There are only a few DSA you would really need for IOI, and the segment tree is one of those. Binary search, basic graph algorithms, dsu, binary lifting, segment tree. It's not a lot to learn, but is extremely beneficial. Even if you never use them on IOI, it's better than regretting you did not learn them. Becoming a better problem solver in a month is not realistic; learning a few basic algorithms is.

    • »
      »
      »
      6 недель назад, # ^ |
        Проголосовать: нравится +3 Проголосовать: не нравится

      Maybe they think I am only specialist so that I can't remark something about IOI.

    • »
      »
      »
      6 недель назад, # ^ |
        Проголосовать: нравится +19 Проголосовать: не нравится

      and the second a red coder agrees with him he gets 20 upvotes.
      I feel like low rateds aren't respected enough, a good teacher of friends of mine is a pupil, but that taught half of the ppl who got medals at inoi; rating doesn't matter.

      • »
        »
        »
        »
        6 недель назад, # ^ |
          Проголосовать: нравится 0 Проголосовать: не нравится

        Both because for the sake of experiment and because I think this comment makes a lot of sense, I will say that, in fact, it's also true

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

Btw he is not lying, yesterday, instead of using segment tree for a problem, he started coding treap (it was max/min segment tree)

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