Add operator+ to Point2D so a + b produces a new point whose coordinates are the sum of a’s and b’s.
main already writes Point2D c = a + b; – your only job is making that expression mean something.
Vector Addition
easyYour solution
"Run" uses the sample stdin ("1 2 3 4"). "Submit" checks your code against all 3 test cases.
Test results
Submit your solution to run it against all test cases.