显示代码纯文本
#include <iostream>
#include <cstdio>
#include <cstdlib>
#include <map>
using namespace std;
map<long long,long long> t;
int main(void)
{
freopen("fang.in","r",stdin);
freopen("fang.out","w",stdout);
long long xx1,yy1,xx2,yy2,xx3,yy3;
cin>>xx1>>yy1>>xx2>>yy2>>xx3>>yy3;
t[xx1]++;
t[xx2]++;
t[xx3]++;
if (t[xx1]==1)
cout<<xx1;
else if (t[xx2]==1)
cout<<xx2;
else
cout<<xx3;
cout<<' ';
t.clear();
t[yy1]++;
t[yy2]++;
t[yy3]++;
if (t[yy1]==1)
cout<<yy1;
else if (t[yy2]==1)
cout<<yy2;
else
cout<<yy3;
cout<<endl;
return(0);
}