제출 #872929

#제출 시각아이디문제언어결과실행 시간메모리
872929vjudge1Best Place (NOI17_bestplace)C++14
100 / 100
65 ms1200 KiB
#include <iostream> #include <algorithm> using namespace std; int main(){ int N = 0; cin >> N; int a[N]; int b[N]; for(int i = 0; i < N; i++){ cin >> a[i]; cin >> b[i]; } sort(a, a+N); sort(b, b+N); cout << a[N/2] << " "; cout << b[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...