This submission is migrated from previous version of oj.uz, which used different machine for grading. This submission may have different result if resubmitted.
#include<bits/stdc++.h>
#define deb(x) cout<<#x<<": "<<x<<endl
using namespace std;
int main(){
int n;
cin>>n;
long long x=0,y=0;
for(int i=0;i<n;i++){
long long temp,temp1;
cin>>temp>>temp1;
x+=temp;
y+=temp1;
}
cout<<x/n<<" "<<y/n;
return(0);
}
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |