摘要:
题目传送门 分析:求最短路的题目,不需要把点标代号。 code: #include <bits/stdc++.h> using namespace std; #define File(x) freopen("(x)","r",stdin) #define pf printf #define ull 阅读全文
posted @ 2021-07-20 15:48
GUO_dx
阅读(47)
评论(0)
推荐(0)
摘要:
题目传送门 分析:总体走势肯定是b大致从小到大排序的,但是比如{0,1}和{1,2},会发现b={2,1}时更优 代码: #include<bits/stdc++.h> using namespace std; int a[10001]; double cal[1000001]; double ca 阅读全文
posted @ 2021-07-20 10:11
GUO_dx
阅读(67)
评论(0)
推荐(0)

浙公网安备 33010602011771号