제출 #966002

#제출 시각아이디문제언어결과실행 시간메모리
966002Zone_zoneeBest Place (NOI17_bestplace)C++14
0 / 100
62 ms2372 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<<' '<<0; return 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...