제출 #1026219

#제출 시각아이디문제언어결과실행 시간메모리
1026219CpDarkBest Place (NOI17_bestplace)C++17
3 / 100
13 ms1116 KiB
#include <bits/stdc++.h> using namespace std; int main() { ios::sync_with_stdio(false); cin.tie(nullptr); int N; cin >> N; vector<int> X(N), Y(N); for (int i = 0;i < N;i++) cin >> X[i] >> Y[i]; long long sumX = 0, sumY = 0; for (int i = 0;i < N;i++) sumX += X[i], sumY += Y[i]; cout << sumX / N << ' ' << sumY / 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...