Submission #491418

#TimeUsernameProblemLanguageResultExecution timeMemory
491418arnav_mehtaBest Place (NOI17_bestplace)C++14
3 / 100
76 ms1432 KiB
#include <bits/stdc++.h> using namespace std; long long n,x,y; /* thinking... 6 1 0 3 0 5 0 7 0 9 0 11 0 to find x,y we can do it by MEAN! */ long long int sx,sy; int main() { cin>>n; for(long long i =0;i<n;++i){ cin>>x>>y; sx+=x; sy+=y; } cout<<(sx/n)<<" "<<(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...