# | Time | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
872906 | vjudge1 | Best Place (NOI17_bestplace) | C++11 | 55 ms | 404 KiB |
This submission is migrated from previous version of oj.uz, which used different machine for grading. This submission may have different result if resubmitted.
//hi
//info t4 wk 6
//contest
//task 1 Best Place
#include <iostream>
using namespace std;
//wow i havent coded in a long time
int main() {
int N;
cin >> N;
int x, y, xsum, ysum = 0;
for (int i = 0; i < N; i++) {
cin >> x;
xsum += x;
cin >> y;
ysum += y;
}
cout << xsum/N << " " << ysum/N;
}
Compilation message (stderr)
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |