제출 #654778

#제출 시각아이디문제언어결과실행 시간메모리
6547780x9oBest Place (NOI17_bestplace)C++14
100 / 100
33 ms1100 KiB
#include <bits/stdc++.h> using namespace std; int main() { std::ios_base::sync_with_stdio(false); std::cin.tie(NULL); int N; std::cin >> N; int X[N], Y[N]; for (int i=0; i<N; i++) { std::cin >> X[i] >> Y[i]; } std::sort(X, X+N); std::sort(Y, Y+N); std::cout <<X[N/2] << " " << Y[N/2] << "\n"; 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...