Codeforces_817】的更多相关文章

A.要求坐标差为移动距离的两倍. #include<bits/stdc++.h> using namespace std; int main() { ios::sync_with_stdio(); int x1,x2,y1,y2,x,y; cin >> x1 >> y1 >> x2 >> y2 >> x >> y; int xx = abs(x1-x2),yy = abs(y1-y2); if(xx%x || yy%y)…