摘要: 百度无人车 二分 #include <bits/stdc++.h> using namespace std; typedef long long LL; const int maxn = 2e4 + 10; LL a[maxn]; int main(){ int n; scanf("%d", &n) 阅读全文
posted @ 2018-05-12 21:08 Aguin 阅读(418) 评论(2) 推荐(0) 编辑
摘要: A.最小化价格 贪心 1 #include <bits/stdc++.h> 2 using namespace std; 3 const int maxn = 1e5 + 10; 4 int a[maxn], b[maxn], c[maxn], id[maxn]; 5 multiset<int> S 阅读全文
posted @ 2018-05-12 15:30 Aguin 阅读(233) 评论(0) 推荐(0) 编辑