OJ-Problems-Source/QUSTOJ/1908.cpp
2016-12-07 19:08:22 +08:00

14 lines
209 B
C++

#include <iostream>
#include <complex>
using namespace std;
int main()
{
int a,b,c,d;
cin>>a>>b>>c>>d;
complex<int> x(a,b);
complex<int> y(c,d);
cout<<x+y<<" "<<x-y<<endl;
return 0;
}