| 记录编号 | 46648 | 评测结果 | AAAAAAAAAA | ||
|---|---|---|---|---|---|
| 题目名称 | 1056.[ftiasch S2] 方 | 最终得分 | 100 | ||
| 用户昵称 | 是否通过 | 通过 | |||
| 代码语言 | C++ | 运行时间 | 0.004 s | ||
| 提交时间 | 2012-10-29 09:23:11 | 内存使用 | 3.15 MiB | ||
#include<fstream>
using namespace std;
int main(void)
{
ifstream fin("fang.in");
ofstream fout("fang.out");
int x1,x2,x3,y1,y2,y3;
fin>>x1>>y1>>x2>>y2>>x3>>y3;
if(x1==x2)
fout<<x3;
if(x1==x3)
fout<<x2;
if(x2==x3)
fout<<x1;
fout<<" ";
if(y1==y2)
fout<<y3;
if(y1==y3)
fout<<y2;
if(y2==y3)
fout<<y1;
fin.close();
fout.close();
return 0;
}