Problem | hotelhunt_ex |
---|---|
User | Sinan1453 |
Submission Time | 2024-06-21 14:44:31 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
hotelhunt_ex.cpp: In function ‘int main()’:
hotelhunt_ex.cpp:15:5: error: expected ‘,’ or ‘;’ before ‘for’
15 | for (int i = 0; i < N; ++i) {
| ^~~
hotelhunt_ex.cpp:15:21: error: ‘i’ was not declared in this scope
15 | for (int i = 0; i < N; ++i) {
| ^
hotelhunt_ex.cpp:29:13: error: ‘max_distance’ was not declared in this scope; did you mean ‘maxdistance’?
29 | cout << max_distance << endl;
| ^~~~~~~~~~~~
| maxdistance