제출 #227656

#제출 시각아이디문제언어결과실행 시간메모리
227656AutoratchBest Place (NOI17_bestplace)C++14
3 / 100
33 ms2304 KiB
#include <bits/stdc++.h> using namespace std; int n; double x,y; int main() { ios_base::sync_with_stdio(0); cin.tie(0); cin >> n; for(int i = 1;i <= n;i++) { int a,b; cin >> a >> b; x+=a,y+=b; } x/=(double)n,y/=(double)n; cout << fixed << setprecision(0) << x << ' ' << 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...