Submission #956699

#TimeUsernameProblemLanguageResultExecution timeMemory
956699sanidhya077Best Place (NOI17_bestplace)C++14
0 / 100
54 ms348 KiB
#include <bits/stdc++.h> using namespace std; int main(){ int N; cin >> N; int x_sum = 0; int y_sum = 0; int X,Y; for(int i = 0; i < N; i++){ cin >> X >> Y; x_sum += X; y_sum += Y; } cout << round(x_sum/N) << " " << round(y_sum/N); 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...