摘要:
原题链接 题解 贪心走最小的点,由于每个点都有偶数条边,所以能进入就一定能出去 code #include<bits/stdc++.h> using namespace std; struct node { int to,id; }; vector<node> G[505]; int late[50 阅读全文
posted @ 2024-06-08 14:16
纯粹的
阅读(28)
评论(0)
推荐(0)
摘要:
原题链接 题解 关键因素:调和级数 \(\frac{1}{n}+\frac{1}{n-1}+...+\frac{1}{2}+\frac{1}{1}\) 可以近似看成 \(log(n)\) code #include<bits/stdc++.h> using namespace std; #defin 阅读全文
posted @ 2024-06-08 12:02
纯粹的
阅读(20)
评论(0)
推荐(0)

浙公网安备 33010602011771号