上一页 1 2 3 4 5 6 7 ··· 21 下一页
摘要: A.统计总时间,从总时间开始找第一个能提交的点。 #include<bits/stdc++.h> using namespace std; int n,m,a[1005],ok[100005] = {0}; int main() { ios::sync_with_stdio(0); cin >> n 阅读全文
posted @ 2017-07-29 01:01 zzzzzzzzhu 阅读(209) 评论(0) 推荐(0) 编辑
摘要: A.b序列从大到小填a序列中的0,在判断。 #include<bits/stdc++.h> using namespace std; int n,m,a[105],b[105]; int main() { ios::sync_with_stdio(0); cin >> n >> m; for(int 阅读全文
posted @ 2017-07-29 00:10 zzzzzzzzhu 阅读(186) 评论(0) 推荐(0) 编辑
摘要: A.要求坐标差为移动距离的两倍。 #include<bits/stdc++.h> using namespace std; int main() { ios::sync_with_stdio(0); int x1,x2,y1,y2,x,y; cin >> x1 >> y1 >> x2 >> y2 > 阅读全文
posted @ 2017-07-27 23:48 zzzzzzzzhu 阅读(131) 评论(0) 推荐(0) 编辑
摘要: A.不断增加时间,直到符合要求。 #include<bits/stdc++.h> using namespace std; int a,b; char c; int f(int x) { return x%10*10+x/10; } int main() { ios::sync_with_stdio 阅读全文
posted @ 2017-07-27 14:42 zzzzzzzzhu 阅读(146) 评论(0) 推荐(0) 编辑
摘要: A.直接判断每一个数。 #include<bits/stdc++.h> using namespace std; int n,a[55][55]; int main() { ios::sync_with_stdio(0); cin >> n; for(int i = 1;i <= n;i++) { 阅读全文
posted @ 2017-07-27 00:17 zzzzzzzzhu 阅读(186) 评论(0) 推荐(0) 编辑
摘要: A.判断n/k的奇偶性。 #include<bits/stdc++.h> using namespace std; long long n,k; int main() { ios::sync_with_stdio(0); cin >> n >> k; long long t = n/k; if(t% 阅读全文
posted @ 2017-07-25 11:54 zzzzzzzzhu 阅读(213) 评论(0) 推荐(0) 编辑
摘要: A.直接模拟。 #include<bits/stdc++.h> using namespace std; int c,v0,v1,a,l; int main() { ios::sync_with_stdio(0); cin >> c >> v0 >> v1 >> a >> l; int ans = 阅读全文
posted @ 2017-07-24 22:29 zzzzzzzzhu 阅读(149) 评论(0) 推荐(0) 编辑
摘要: A.winners总数为(k+1)diplomas。 #include<bits/stdc++.h> using namespace std; long long n,k; int main() { ios::sync_with_stdio(0); cin >> n >> k; long long 阅读全文
posted @ 2017-07-24 12:28 zzzzzzzzhu 阅读(218) 评论(0) 推荐(0) 编辑
摘要: A.小的那个数的阶乘。 #include<bits/stdc++.h> using namespace std; int a,b; int main() { ios::sync_with_stdio(0); cin >> a >> b; int t = min(a,b); int ans = 1; 阅读全文
posted @ 2017-07-24 00:09 zzzzzzzzhu 阅读(256) 评论(0) 推荐(0) 编辑
摘要: 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) 编辑
上一页 1 2 3 4 5 6 7 ··· 21 下一页