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

Автор I_am_Invincible, 15 месяцев назад, По-английски

HI good people. Recently i learned about mo's algorithm and grabbed some basic idea of SQRT decomposition. I solved a few problems related to it but those were just direct implementation. So i would I like to know from you if you found some problems that you solved using anyone of these two topics. It will be helpful if you provide me the link to those problems in the comment that you think are related to these topics. (also if the problems are more recent it will be more appreciated. Thank you)

N.B. Also this is just for learning purpose. I know these topics are very tough for someone at this level but i want to give them a try out of interest you can say :D

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

»
15 месяцев назад, скрыть # |
 
Проголосовать: нравится -23 Проголосовать: не нравится

Bruh! are you trying to increase your contribution!

  • »
    »
    15 месяцев назад, скрыть # ^ |
    Rev. 2  
    Проголосовать: нравится +8 Проголосовать: не нравится

    i don't care about contribution bru. i think that is a waste of time to think about that. you can upvote downvote as you wish. that's your choice. but i meant what i said in the blog and i always respect them who help me :)

    N.B. also i am strictly against them who purposefully want to get negative contribution.

»
15 месяцев назад, скрыть # |
Rev. 2  
Проголосовать: нравится 0 Проголосовать: не нравится

1439C - Greedy Shopping for example

my solution
»
15 месяцев назад, скрыть # |
 
Проголосовать: нравится 0 Проголосовать: не нравится
»
15 месяцев назад, скрыть # |
Rev. 4  
Проголосовать: нравится +4 Проголосовать: не нравится

966E - May Holidays combining HLD and sqrt decomp.

398D - Instant Messanger heavy light partitioning.

348C - Subset Sums heavy light partitioning again.

1580C - Train Maintenance heavy light partitioning AGAIN.

911G - Mass Change Queries small to large and sqrt decomp.

342E - Xenia and Tree sqrt decomp and rebuild.

522D - Closest Equals block processing / Mo's algorithm.

Bit counting 617E - XOR and Favorite Number but extended.

Sub-subsequence sqrt decomposition with tries.

Delete numbers heavy light partitioning AGAIN (yes, this is starting to be boring now).

And a lot of other problems that can be solved with other data structures, but I like sqrt decomposition the most :)

»
15 месяцев назад, скрыть # |
 
Проголосовать: нравится 0 Проголосовать: не нравится

Classic Mo algorithm problem.

Little Elephant and Array

»
2 месяца назад, скрыть # |
Rev. 2  
Проголосовать: нравится +5 Проголосовать: не нравится

SQRT_Decomposition

Mo's Algorithm

I think you can find the resources you need here.

PS: I just realized that the blog was sent a while ago so my bad 😔