Submission #976200

#TimeUsernameProblemLanguageResultExecution timeMemory
976200Hercule_PoirotBest Place (NOI17_bestplace)C++17
3 / 100
17 ms2136 KiB
#include <bits/stdc++.h> using namespace std; typedef long long ll; const int MOD=1000000007; int main(){ ios_base::sync_with_stdio(false); cin.tie(NULL); cout.tie(NULL); int n; ll x,y,sx=0,sy=0; cin>>n; for(int i=0;i<n;i++){ cin>>x>>y; sx+=x; sy+=y; } sx/=n; sy/=n; cout<<sx<<" "<<sy<<"\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...