제출 #1082524

#제출 시각아이디문제언어결과실행 시간메모리
1082524NewtonabcBest Place (NOI17_bestplace)C++14
100 / 100
83 ms3524 KiB
#include<bits/stdc++.h> using namespace std; vector<int> a,b; int main(){ int n; cin>>n; for(int i=0;i<n;i++){ int tmpa,tmpb; cin>>tmpa >>tmpb; a.push_back(tmpa); b.push_back(tmpb); } sort(a.begin(),a.end()); sort(b.begin(),b.end()); cout<<a[n/2] <<" " <<b[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...