Submission #966001

#TimeUsernameProblemLanguageResultExecution timeMemory
966001Zone_zoneeBest Place (NOI17_bestplace)C++14
0 / 100
63 ms2900 KiB
#include <bits/stdc++.h> using namespace std; int main(){ int n; cin>>n; vector<pair<int,int>> posi(n); for(int i=0;i<n;i++){ cin>>posi[i].first>>posi[i].second; } sort(posi.begin(),posi.end()); cout<<(posi[0].first+posi[n-1].first)/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...