摘要: A.模拟,注意单人的时候判断顺序。 #include<bits/stdc++.h> using namespace std; int n,a,b; int main() { ios::sync_with_stdio(0); cin >> n >> a >> b; int b1 = b,b2 = 0, 阅读全文
posted @ 2017-07-23 23:46 zzzzzzzzhu 阅读(180) 评论(0) 推荐(0) 编辑
摘要: A.线性判断。 #include<bits/stdc++.h> using namespace std; int n,a[105] = {0}; int main() { ios::sync_with_stdio(0); cin >> n; for(int i = 1;i <= n;i++) cin 阅读全文
posted @ 2017-07-23 14:27 zzzzzzzzhu 阅读(165) 评论(0) 推荐(0) 编辑