제출 #742269

#제출 시각아이디문제언어결과실행 시간메모리
742269JosephuuBest Place (NOI17_bestplace)C++17
100 / 100
101 ms1364 KiB
#include <bits/stdc++.h> using namespace std; int main() { int n, a; cin >> n; vector<int> x, y; for (int i = 0; i < n; ++i) { cin >> a; x.push_back(a); cin >> a; y.push_back(a); } sort(x.begin(), x.end()); sort(y.begin(), y.end()); cout << x[x.size() / 2] << " " << y[y.size() / 2]; }
#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...