![](https://img-blog.csdnimg.cn/20201014180756922.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
数据处理
文章平均质量分 63
JdiLfc
这个作者很懒,什么都没留下…
展开
-
D - Monument Tour Gym - 102465D and 货舱选址----求某一个点到使其到所有点的连线之和最小问题
找出一条线,能把点连起来切最短,连接方式如图找出每个坐标的最小值和最大值,在这所有的点里面找到最中间的那个就是答案#include<bits/stdc++.h>using namespace std;int l[100100];int r[100100];int a[200100];int main(){ int n,m,k; cin>>n>>m>>k; memset(l,0x3f3f3f,sizeof(l)); .原创 2021-01-18 10:19:45 · 424 阅读 · 0 评论 -
E - Rounding Gym - 102465E
You decided to stay an extra day in Paris visiting favorite places of Parisians around T’el’ecom ParisTech. You want to collect information about these favorite places, but asking people to fill in surveys is less fun than coding. For this reason, you aske原创 2021-01-18 08:45:16 · 280 阅读 · 0 评论