| Problem | bestplace |
|---|---|
| User | Jaryl |
| Submission Time | 2025-06-21 20:14:58 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
bestplace.cpp: In function ‘int main()’:
bestplace.cpp:8:2: error: expected primary-expression before ‘<’ token
8 | <vector>int x[n], y[n];
| ^
bestplace.cpp:8:9: error: missing template arguments before ‘>’ token
8 | <vector>int x[n], y[n];
| ^
bestplace.cpp:8:10: error: expected primary-expression before ‘int’
8 | <vector>int x[n], y[n];
| ^~~
bestplace.cpp:11:10: error: ‘x’ was not declared in this scope
11 | cin >> x[n] >> y[n];
| ^
bestplace.cpp:11:18: error: ‘y’ was not declared in this scope
11 | cin >> x[n] >> y[n];
| ^
bestplace.cpp:13:16: error: ‘x’ was not declared in this scope
13 | int MedianX = x[n/2];
| ^
bestplace.cpp:14:16: error: ‘y’ was not declared in this scope
14 | int MedianY = y[n/2];
| ^