You are viewing a single comment's thread. Return to all comments →
C++ Code
#include<iostream> #include<algorithm> #include<vector> using namespace std; int main(){ int test;cin>>test; while(test--){ int x1,y1,x,y; cin>>x1>>y1>>x>>y; int x2 = 2*x - x1; int y2 = 2*y - y1; cout<<x2<<" "<<y2<<endl; } }
Seems like cookies are disabled on this browser, please enable them to open this website
Find the Point
You are viewing a single comment's thread. Return to all comments →
C++ Code