| Problem | horsejockey |
|---|---|
| User | AJigglypuffCoder |
| Submission Time | 2026-06-23 11:22:25 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
horsejockey.cpp:20:7: error: token "[" is not valid in preprocessor expressions
20 | #if (v[i] > v[0] || (v[i] == v[0] && x[i] >= x[0])) {
| ^
horsejockey.cpp:20: error: unterminated #if
20 | #if (v[i] > v[0] || (v[i] == v[0] && x[i] >= x[0])) {
|
horsejockey.cpp: In function ‘int main()’:
horsejockey.cpp:19:22: error: expected ‘}’ at end of input
19 | cin >> x[i] >> v[i];
| ^
horsejockey.cpp:18:24: note: to match this ‘{’
18 | for (int i=1;i<N;i++) {
| ^
horsejockey.cpp:19:22: error: expected ‘}’ at end of input
19 | cin >> x[i] >> v[i];
| ^
horsejockey.cpp:11:12: note: to match this ‘{’
11 | int main() {
| ^