| # | 제출 시각 | 아이디 | 문제 | 언어 | 결과 | 실행 시간 | 메모리 |
|---|---|---|---|---|---|---|---|
| 1354566 | jump | Best Place (NOI17_bestplace) | C++20 | 51 ms | 2112 KiB |
#include <bits/stdc++.h>
#define int long long
int n;
std::vector<int> x;
std::vector<int> y;
signed main() {
std::cin >> n;
for(int i=0;i<n;i++){
int a,b;
std::cin >> a >> b;
x.push_back(a);
y.push_back(b);
}
std::sort(x.begin(),x.end());
std::sort(y.begin(),y.end());
std::cout << x[x.size()/2] << ' ' << y[y.size()/2];
}| # | 결과 | 실행 시간 | 메모리 | 채점기 출력 |
|---|---|---|---|---|
| 결과를 불러오는 중입니다… | ||||
| # | 결과 | 실행 시간 | 메모리 | 채점기 출력 |
|---|---|---|---|---|
| 결과를 불러오는 중입니다… | ||||
| # | 결과 | 실행 시간 | 메모리 | 채점기 출력 |
|---|---|---|---|---|
| 결과를 불러오는 중입니다… | ||||
| # | 결과 | 실행 시간 | 메모리 | 채점기 출력 |
|---|---|---|---|---|
| 결과를 불러오는 중입니다… | ||||
| # | 결과 | 실행 시간 | 메모리 | 채점기 출력 |
|---|---|---|---|---|
| 결과를 불러오는 중입니다… | ||||
| # | 결과 | 실행 시간 | 메모리 | 채점기 출력 |
|---|---|---|---|---|
| 결과를 불러오는 중입니다… | ||||
