Problem explosion
User Qxhb3
Submission Time 2023-06-10 20:23:28
Score 0
Max Time N/A
Max Memory N/A

Compile Error

explosion.cpp: In function ‘int main()’:
explosion.cpp:18:32: error: expected ‘;’ before ‘for’
18 | sort(buildings, buildings + N)
| ^
| ;
19 |
20 | for (int i = 0; i < N; i++) {
| ~~~
explosion.cpp:20:18: error: ‘i’ was not declared in this scope
20 | for (int i = 0; i < N; i++) {
| ^