摘要:
画展 没看数据范围想了半天DP。裸贪心。 滑冰场 1.建分层图跑最短路 2.启发式搜索 #include <bits/stdc++.h> using namespace std; #define int long long constexpr int MAX_N = 2000; constexpr 阅读全文
摘要:
A. 奶牛飞车 贪心,把最慢的放前面 #include <bits/stdc++.h> using namespace std; constexpr int maxn = 1e6 + 10; int n, m, d, L; int s[maxn]; int ans = 0; inline bool 阅读全文