p3605专题

洛谷P3605 [USACO17JAN]Promotion Counting 线段树合并

题目描述 The cows have once again tried to form a startup company, failing to remember from past experience that cows make terrible managers! The cows, conveniently numbered 1…N (1≤N≤100,000), organize