Submission #949020

#TimeUsernameProblemLanguageResultExecution timeMemory
949020anotherPROgrammerBest Place (NOI17_bestplace)C++14
0 / 100
62 ms348 KiB
#include <bits/stdc++.h> using namespace std; int main(){ int n; cin >> n; int x =0; int y = 0; for(int i = 0;i<n;i++){ int xi,yi; cin >> xi>>yi; x += xi; y+=yi; } x = round(static_cast<float>(x/n)); y = round(static_cast<float>(y/n)); cout << x<<" "<<y<<endl; }
#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...