摘要: C - Half and Half 随便判判 1 #include <bits/stdc++.h> 2 using namespace std; 3 4 int main(){ 5 int A, B, C, X, Y, ans = 0; 6 scanf("%d %d %d %d %d", &A, & 阅读全文
posted @ 2018-04-22 20:12 Aguin 阅读(164) 评论(0) 推荐(0) 编辑
摘要: A. No Nine 数位dp 1 #include <bits/stdc++.h> 2 using namespace std; 3 typedef long long LL; 4 5 int d[22]; 6 LL po[22], f[22][2][9]; 7 LL cal(LL x){ 8 i 阅读全文
posted @ 2018-04-22 17:03 Aguin 阅读(558) 评论(0) 推荐(0) 编辑
摘要: A.卡片游戏 暴力 1 #include <bits/stdc++.h> 2 using namespace std; 3 map<int, int> mp; 4 set<int> S; 5 const int maxn = 1e5 + 10; 6 int A[maxn], B[maxn]; 7 8 阅读全文
posted @ 2018-04-22 15:40 Aguin 阅读(193) 评论(0) 推荐(0) 编辑