ARC052B
B - Cone
https://gyazo.com/b521601c556b2aac52a8b46e571e6792
Thoughts.
Given 10^2 intervals, do the process 10^5 times, finding intervals that overlap given one interval and calculating a bit.
If you do it naively, it's still 10^7, so you can make it...
Official Explanation
The above solution was a different solution, written "this one is simpler".
Assumed solutions are those that use cumulative sums
ARC052
---
This page is auto-translated from /nishio/ARC052B using DeepL. If you looks something interesting but the auto-translated English is not good enough to understand it, feel free to let me know at @nishio_en. I'm very happy to spread my thought to non-Japanese readers.