제출 #872895

#제출 시각아이디문제언어결과실행 시간메모리
872895vjudge1Best Place (NOI17_bestplace)C++17
100 / 100
74 ms1368 KiB
#include <bits/stdc++.h> using namespace std; typedef long long ll; int main(){ int N; cin>>N; int x[N]; int y[N]; for (int i=0; i<N; i++) cin>>x[i]>>y[i]; sort(x, x+N); sort(y, y+N); int a = N/2; cout<<x[a]<<' '<<y[a]<<endl; }
#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...