제출 #1005978

#제출 시각아이디문제언어결과실행 시간메모리
1005978kebineBest Place (NOI17_bestplace)C++17
3 / 100
12 ms348 KiB
#include <bits/stdc++.h>
#define int long long
#define pii pair<int, int>
using namespace std;

int32_t main()
{
    ios_base::sync_with_stdio(false);
    cin.tie(NULL);
    cout.tie(NULL);

    int n;
    cin >> n;
    int resx = 0, resy = 0;
    for (int i = 0; i < n; i++)
    {
        int x, y;
        cin >> x >> y;
        resx += x, resy += y;
    }
    cout << resx / n << " " << resy / n << endl;

    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...