| # | Time | Username | Problem | Language | Result | Execution time | Memory |
|---|---|---|---|---|---|---|---|
| 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];
}| # | Result | Execution time | Memory | Grader output |
|---|---|---|---|---|
| Fetching results... | ||||
| # | Result | Execution time | Memory | Grader output |
|---|---|---|---|---|
| Fetching results... | ||||
| # | Result | Execution time | Memory | Grader output |
|---|---|---|---|---|
| Fetching results... | ||||
| # | Result | Execution time | Memory | Grader output |
|---|---|---|---|---|
| Fetching results... | ||||
| # | Result | Execution time | Memory | Grader output |
|---|---|---|---|---|
| Fetching results... | ||||
| # | Result | Execution time | Memory | Grader output |
|---|---|---|---|---|
| Fetching results... | ||||
