摘要: 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) 编辑