Submission #1026226

#TimeUsernameProblemLanguageResultExecution timeMemory
1026226CpDarkBest Place (NOI17_bestplace)C++17
3 / 100
13 ms1884 KiB
#include <bits/stdc++.h> using namespace std; int main() { ios::sync_with_stdio(false); cin.tie(nullptr); int N; cin >> N; vector<long long> 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...