Submission #595976

#TimeUsernameProblemLanguageResultExecution timeMemory
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...