#include <bits/stdc++.h>
using namespace std;
int main(){
int n;
cin>>n;
vector<pair<int,int>> posi(n);
for(int i=1;i<=n;i++){
cin>>posi[i].first>>posi[i].second;
}
sort(posi.begin(),posi.end());
cout<<posi[n/2].first<<' '<<0;
return 0;
}
# |
결과 |
실행 시간 |
메모리 |
Grader output |
1 |
Correct |
1 ms |
348 KB |
Output is correct |
2 |
Correct |
0 ms |
348 KB |
Output is correct |
3 |
Incorrect |
0 ms |
348 KB |
Output isn't correct |
4 |
Halted |
0 ms |
0 KB |
- |
# |
결과 |
실행 시간 |
메모리 |
Grader output |
1 |
Correct |
1 ms |
348 KB |
Output is correct |
2 |
Runtime error |
1 ms |
348 KB |
Execution killed with signal 6 |
3 |
Halted |
0 ms |
0 KB |
- |
# |
결과 |
실행 시간 |
메모리 |
Grader output |
1 |
Correct |
48 ms |
1208 KB |
Output is correct |
2 |
Correct |
53 ms |
1116 KB |
Output is correct |
3 |
Correct |
45 ms |
1112 KB |
Output is correct |
4 |
Correct |
40 ms |
1112 KB |
Output is correct |
5 |
Correct |
46 ms |
1116 KB |
Output is correct |
6 |
Correct |
45 ms |
1116 KB |
Output is correct |
7 |
Incorrect |
49 ms |
1364 KB |
Output isn't correct |
8 |
Halted |
0 ms |
0 KB |
- |
# |
결과 |
실행 시간 |
메모리 |
Grader output |
1 |
Incorrect |
0 ms |
344 KB |
Output isn't correct |
2 |
Halted |
0 ms |
0 KB |
- |
# |
결과 |
실행 시간 |
메모리 |
Grader output |
1 |
Incorrect |
2 ms |
348 KB |
Output isn't correct |
2 |
Halted |
0 ms |
0 KB |
- |
# |
결과 |
실행 시간 |
메모리 |
Grader output |
1 |
Incorrect |
60 ms |
1208 KB |
Output isn't correct |
2 |
Halted |
0 ms |
0 KB |
- |