제출 #949012

#제출 시각아이디문제언어결과실행 시간메모리
949012anotherPROgrammerBest Place (NOI17_bestplace)C++14
0 / 100
56 ms600 KiB
#include <bits/stdc++.h> using namespace std; int main(){ int n; cin >> n; int x =0; int y = 0; for(int i = 0;i<n;i++){ int xi,yi; cin >> xi>>yi; x += xi; y+=yi; } x = ceil(static_cast<float>(x/n)); y = ceil(static_cast<float>(y/n)); cout << x<<" "<<y; }
#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...