摘要:
CF85D Sum of Medians 洛谷传送门 题意翻译 有一个集合,初始为空。现有nn次操作: add x:将 xx 添加到集合中。 del x:将 xx 从集合中删除。 sum:将集合内的数从小到大排好序后形成有 kk 个数的序列 aa,求 \sum_^{(i\le k)\land (i\ 阅读全文
摘要:
USACO Total Flow 洛谷传送门 JDOJ传送门 Description Farmer John always wants his cows to have enough water and thus has made a map of the N (1 ⇐ N ⇐ 700) water 阅读全文