Submission #479314

#TimeUsernameProblemLanguageResultExecution timeMemory
479314PaNz3rBest Place (NOI17_bestplace)C++14
3 / 100
86 ms2976 KiB
#include <bits/stdc++.h> #include <algorithm> using namespace std; int main(){ int n; cin>>n; std::vector<int> x(n); std::vector<int> y(n); for(int i=0;i<n;i++){ cin>>x[i]>>y[i]; } int x_s=0; int y_s=0; for(auto a: x) x_s=x_s+a; for(auto a: y) y_s=y_s+a; cout<<x_s/n<<" "<<y_s/n<<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...