Submission #956708

#TimeUsernameProblemLanguageResultExecution timeMemory
956708sanidhya077Best Place (NOI17_bestplace)C++14
3 / 100
55 ms432 KiB
#include <bits/stdc++.h> using namespace std; int main(){ long N; cin >> N; long long x_sum = 0; long long y_sum = 0; int X,Y; for(long i = 0; i < N; i++){ cin >> X >> Y; x_sum += X; y_sum += Y; } cout << (x_sum/N + (x_sum % 2)) << " " << (y_sum/N + (y_sum % 2)) ; return 0; }
#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...