Codeforces 626G Raffles(贪心+线段树)

Codeforces 626G Raffles(贪心+线段树)
原文地址:https://www.cnblogs.com/ECJTUACM-873284962/p/7096601.html