Problem | findingpavement |
---|---|
User | Red123 |
Submission Time | 2025-03-13 22:14:57 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
findingpavement.cpp: In function ‘int main()’:
findingpavement.cpp:9:2: error: expected initializer before ‘for’
9 | for(int i = 0;i < n;i++){
| ^~~
findingpavement.cpp:9:16: error: ‘i’ was not declared in this scope
9 | for(int i = 0;i < n;i++){
| ^
findingpavement.cpp:9:20: error: ‘n’ was not declared in this scope
9 | for(int i = 0;i < n;i++){
| ^
findingpavement.cpp:14:23: error: ‘H’ was not declared in this scope
14 | for (int i = 0; i < H; i++) {
| ^
findingpavement.cpp:15:29: error: ‘W’ was not declared in this scope
15 | for (int j = 0; j < W; j++) {
| ^
findingpavement.cpp:16:17: error: ‘grid’ was not declared in this scope
16 | if (grid[i][j] == "pavement") {
| ^~~~