제출 #595976

#제출 시각아이디문제언어결과실행 시간메모리
595976chinmoy_101Best Place (NOI17_bestplace)C++14
100 / 100
121 ms3884 KiB
#include<bits/stdc++.h> using namespace std; #define ll long long int int main() { ll n; cin>>n; ll arr[n]; ll ar[n]; for(ll i=0; i<n; i++) { cin>>arr[i] >>ar[i]; } sort(arr, arr+n); sort(ar, ar+n); cout<<arr[n/2] <<" " <<ar[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...