제출 #950693

#제출 시각아이디문제언어결과실행 시간메모리
950693IrateBest Place (NOI17_bestplace)C++17
0 / 100
23 ms3164 KiB
#include<bits/stdc++.h> using namespace std; int main(){ ios_base::sync_with_stdio(0); cin.tie(0); int n; cin >> n; vector<pair<int, int>>v(n); for(int i = 0;i < n;++i){ cin >> v[i].first >> v[i].second; } sort(v.begin(), v.end()); cout << v[(n + 1) / 2].first << " " << 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...