Submission #872901

#TimeUsernameProblemLanguageResultExecution timeMemory
872901vjudge1Best Place (NOI17_bestplace)C++17
100 / 100
68 ms2556 KiB
#include <bits/stdc++.h> using namespace std; int main(){ 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...