2 条题解

  • 0
    @ 2026-8-28 14:32:14
    #include<bits/stdc++.h>
    using namespace std;
    int a,b,c,d,e,f;
    signed main(){
    	ios::sync_with_stdio(0);cin.tie(0);cout.tie(0);
    	cin>>a>>b>>c>>d>>e>>f;
    	if(a==c)cout<<e<<' ';
    	else if(c==e)cout<<a<<' ';
    	else cout<<c<<' ';
    	
    	if(b==d)cout<<f<<'\n';
    	else if(d==f)cout<<b<<'\n';
    	else cout<<d<<'\n';
    	
    	return 0;
    }
    

    信息

    ID
    12439
    时间
    2000ms
    内存
    1024MiB
    难度
    6
    标签
    递交数
    15
    已通过
    12
    上传者