Submission #872898

#TimeUsernameProblemLanguageResultExecution timeMemory
872898vjudge1Best Place (NOI17_bestplace)C++17
3 / 100
56 ms2316 KiB
#include <bits/stdc++.h> using namespace std; int main(){ int N; cin>>N; pair<int,int> a[N]; for(int i=0; i<N; i++){ cin>>a[i].first>>a[i].second; } int x=0,y=0; for(int i=0; i<N; i++){ x+=a[i].first; y+=a[i].second; } cout<<x/N<<' '<<y/N; }
#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...