Submission #950695

#TimeUsernameProblemLanguageResultExecution timeMemory
950695IrateBest Place (NOI17_bestplace)C++17
48 / 100
21 ms2396 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 / 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...