摘要:
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 > 阅读全文
摘要:
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 阅读全文
摘要:
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++) { 阅读全文