제출 #699301

#제출 시각아이디문제언어결과실행 시간메모리
699301anonimyBest Place (NOI17_bestplace)C++14
100 / 100
37 ms3832 KiB
#include <iostream> #include <algorithm> #include <vector> using namespace std; typedef long long ll; int main() { ios::sync_with_stdio(false); cin.tie(0); cout.tie(0); ll n; cin >> n; vector<ll> x(n), y(n); for (ll 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]; }
#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...