Please read the new rule regarding the restriction on the use of AI tools. ×

altrko's blog

By altrko, history, 4 hours ago, In English

i just cant understand the code even thought i really do understand idea. can anyone explain it?

  • Vote: I like it
  • -5
  • Vote: I do not like it

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

Why do you wanna understand mo's algorithm code? practice some binary search problems instead.. mo's algo is not needed at this level.

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

    Because it's interesting! No one should need a reason to learn things.

    • »
      »
      »
      112 minutes ago, # ^ |
      Rev. 2   Vote: I like it +3 Vote: I do not like it

      I was just saying it is of no use to him if he is trying to do it in perspective of cp.. of course he can learn anything but he must know it will be of no use to him in cp at this stage.. cuz i also learned a lot of advanced things which i thought may come in handy for me during contest but unfortunately could not use a single one of them (though those things were interesting).. thats why just telling him if he just want to know this thing out of curiosity its totally fine

      • »
        »
        »
        »
        83 minutes ago, # ^ |
          Vote: I like it 0 Vote: I do not like it

        its not my main acc its alt XD. And i am indeed on different level there

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

You can read this. This is easy explanation.You should solve problem to understand why you will use this algorithm otherwise it will be useless to learn.