摘要: 题目描述:n个点有速度,有位置,问所有的点对最小距离之和为多少 解法1:离散化 + 树状数组 基本上做出来的都是用的这个方法,不多介绍,看代码吧 #include<bits/stdc++.h> using namespace std; const int maxn=200010; const int 阅读全文
posted @ 2020-05-19 19:05 ertuan 阅读(217) 评论(0) 推荐(0)