Create 1908.cpp
parent
5fa00bec61
commit
9e8020b7d2
|
@ -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;
|
||||
}
|
Loading…
Reference in New Issue