Submission #956704

#TimeUsernameProblemLanguageResultExecution timeMemory
956704sanidhya077Best Place (NOI17_bestplace)C++14
0 / 100
53 ms404 KiB
#include <bits/stdc++.h> using namespace std; int main(){ int N; cin >> N; double x_sum = 0; double 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...