제출 #782921

#제출 시각아이디문제언어결과실행 시간메모리
782921PetrixBest Place (NOI17_bestplace)C++17
0 / 100
66 ms1060 KiB
#include <iostream> #include <algorithm> using namespace std; int a[100001],b[100001]; int main() { int n,i; cin>>n; for(i=0;i<n;i++){ cin>>a[i]>>b[i]; } sort(a,a+n);sort(b,b+n); cout<<a[n/2]<<b[n/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...