mirror of
https://github.com/Kiritow/OJ-Problems-Source.git
synced 2024-03-22 13:11:29 +08:00
Create 1908.cpp
This commit is contained in:
parent
5fa00bec61
commit
9e8020b7d2
13
QUSTOJ/1908.cpp
Normal file
13
QUSTOJ/1908.cpp
Normal 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;
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user