Submission #966048

#TimeUsernameProblemLanguageResultExecution timeMemory
966048JungPSBest Place (NOI17_bestplace)C++14
100 / 100
28 ms3932 KiB
#include<iostream> #include<cmath> #include<algorithm> using namespace std; #define int long long signed main(){ ios_base::sync_with_stdio(false); cin.tie(nullptr); cout.tie(nullptr); int n; cin >> n; int x[n],y[n]; for(int i=0;i<n;++i) cin >> x[i] >> y[i]; sort(x,x+n); sort(y,y+n); cout << x[n/2] << " " << y[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...