Submission #949015

#TimeUsernameProblemLanguageResultExecution timeMemory
949015anotherPROgrammerBest 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 =0; int y = 0; for(int i = 0;i<n;i++){ int xi,yi; cin >> xi>>yi; x += xi; y+=yi; } x = ceil(static_cast<float>(x/n)); y = ceil(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...