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
hahaha, im sorry this is so funny.
Bruh! are you trying to increase your contribution!
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.
1439C - Greedy Shopping for example
306186287 btw, it seems like there is a bug in
b.mn = y;
not updating block sum, but somehow it's not failing any testsA Mo's Algorithm problem:
https://codeforces.net/contest/617/problem/E
i've been so long searching for this problem, god bless alex :pray: