【洛谷 P2880】[USACO07]Balanced Lineup G【树状数组】

题目描述 题目 For the daily milking, Farmer John’s N cows (1 ≤ N ≤ 50,000) always line up in the same order. One day Farmer John decides to organize a game of Ultimate Frisbee with some of the cows. To keep
相关文章
相关标签/搜索