上一页 1 2 3 4 5 6 7 8 ··· 24 下一页
摘要: A. A Blend of Springtime 暴力 1 #include <bits/stdc++.h> 2 using namespace std; 3 char s[111]; 4 5 int main() { 6 scanf("%s", s + 1); 7 int l = strlen(s 阅读全文
posted @ 2018-06-12 17:09 Aguin 阅读(179) 评论(0) 推荐(0) 编辑
摘要: A.Commentary Boxes 水题 1 #include <bits/stdc++.h> 2 using namespace std; 3 typedef long long LL; 4 5 int main() { 6 LL n, m, a, b; 7 cin >> n >> m >> a 阅读全文
posted @ 2018-06-12 17:00 Aguin 阅读(273) 评论(2) 推荐(1) 编辑
摘要: 命名 暴力 1 #include <bits/stdc++.h> 2 using namespace std; 3 char S[1111], T[1111], a[1111], b[1111]; 4 5 int main() { 6 int N; 7 scanf("%d", &N); 8 whil 阅读全文
posted @ 2018-06-10 22:44 Aguin 阅读(147) 评论(0) 推荐(0) 编辑
摘要: 百度无人车 二分 #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) 编辑
上一页 1 2 3 4 5 6 7 8 ··· 24 下一页