You are viewing a single comment's thread. Return to all comments →
C++ Solution:
vector findPoint(int px, int py, int qx, int qy) { return {2*qx - px, 2*qy - py}; }
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++ Solution:
vector findPoint(int px, int py, int qx, int qy) { return {2*qx - px, 2*qy - py}; }