제출 #850856

#제출 시각아이디문제언어결과실행 시간메모리
850856annabeth9680Best Place (NOI17_bestplace)C++17
100 / 100
28 ms3168 KiB
#include <bits/stdc++.h> using namespace std; int main() { ios_base::sync_with_stdio(0); cin.tie(0); cout.tie(0); int N; cin >> N; vector<int> X(N), Y(N); for(int i = 0;i<N;++i) cin >> X[i] >> Y[i]; sort(X.begin(),X.end()); sort(Y.begin(),Y.end()); cout << X[N/2] << " " << Y[N/2] << "\n"; 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...