Problem | explosion |
---|---|
User | Qxhb3 |
Submission Time | 2023-06-10 20:23:08 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
explosion.cpp: In function ‘int main()’:
explosion.cpp:11:2: error: expected initializer before ‘for’
11 | for (int i = 0; i < N; i++) {
| ^~~
explosion.cpp:11:18: error: ‘i’ was not declared in this scope
11 | for (int i = 0; i < N; i++) {
| ^
explosion.cpp:18:7: error: ‘buildings’ was not declared in this scope
18 | sort(buildings, buildings + N)
| ^~~~~~~~~