Create 1908.cpp

pull/45/head
Kirigaya Kazuto 2016-12-07 19:08:22 +08:00 committed by GitHub
parent 5fa00bec61
commit 9e8020b7d2
1 changed files with 13 additions and 0 deletions

13
QUSTOJ/1908.cpp Normal file
View File

@ -0,0 +1,13 @@
#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;
}