제출 #738094

#제출 시각아이디문제언어결과실행 시간메모리
738094mosiashvililukaBest Place (NOI17_bestplace)C++14
100 / 100
38 ms3028 KiB
#include<bits/stdc++.h> using namespace std; int a,b,c,d,e,i,j,ii,jj,zx,xc,A[100009],B[100009]; int main(){ ios_base::sync_with_stdio(false),cin.tie(0),cout.tie(0); cin>>a; for(i=1; i<=a; i++){ cin>>A[i]>>B[i]; } sort(A+1,A+a+1); sort(B+1,B+a+1); cout<<A[a/2+a%2]<<" "<<B[a/2+a%2]; return 0; }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...