제출 #320894

#제출 시각아이디문제언어결과실행 시간메모리
320894strawberry2005Best Place (NOI17_bestplace)C++14
100 / 100
103 ms3832 KiB
#include<bits/stdc++.h> #define deb(x) cout<<#x<<": "<<x<<endl using namespace std; int main(){ int n; cin>>n; long long x[n],y[n]; for(int i=0;i<n;i++){ long long temp,temp1; cin>>temp>>temp1; x[i]=temp; y[i]=temp1; } sort(x,x+n); sort(y,y+n); cout<<x[n/2]<<" "<<y[n/2]; 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...