Comments

what is better O(n sqrt(n)) or O(n logn)? I am right that asymptotically O(n n**0.33) equals O(n n**0.5)?

That is not actually you who does the rephrase of problem, which is actually a problem solving skill. Chat-GPT does it for you. I do not do this because I have work ethics

B problem editorial not clear for me. Is it slower to find all divisors of n, and iterate over them than ignore it and just iterate over all possible k? I am sorry I am missing something in editorial although I solved it right after contest. I can't find how O(n⋅n−−√3) compares to O(nlogn) asymptotically.

these messages were nonsense and obvious. I am still wonder who could ask such clear things

I would solve D i believe if I would not spend 50 minutes on G and somehow managed to miss the statement. Good job!

Please could you explain the G statement? How should I count inversions in the string, from which blues were removed? How many inversions do I have in this string: '0010000'. When should I choose 'blue' cost of a symbol instead of 'red'? Too hard for me to get it from statement

sorry x2

sorry

+17

Thank you for the beautiful round, loved it, although stuck on first problem till the end of time. Need some skills

solved div2 AB feeling good

I am new to this. Please advice a math book and algorithms book. I barely can solve even 1200 problems