제출 #533486

#제출 시각아이디문제언어결과실행 시간메모리
533486devariaotaBest Place (NOI17_bestplace)C++17
100 / 100
92 ms2156 KiB
#include <bits/stdc++.h> #define pb push_back #define fi first #define se second typedef long long ll; using namespace std; ll n; int main(){ cin >> n; vector<ll>x,y; for(int i = 0; i < n; i++){ ll a, b; cin >> a >> b; x.pb(a);y.pb(b); } sort(x.begin(),x.end()); sort(y.begin(),y.end()); cout << x[n/2] << " " << y[n/2] << "\n"; }
#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...