Problem | findingpavement |
---|---|
User | om2024 |
Submission Time | 2024-06-20 13:32:46 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
findingpavement.cpp: In function ‘int main()’:
findingpavement.cpp:8:6: error: conflicting declaration ‘int arr [p]’
8 | int arr[p];
| ^~~
findingpavement.cpp:6:6: note: previous declaration as ‘int arr [h][w]’
6 | int arr[h][w];
| ^~~
findingpavement.cpp:14:14: error: ‘i’ was not declared in this scope
14 | cout << arr[i][j] << " ";
| ^
findingpavement.cpp:14:17: error: ‘j’ was not declared in this scope
14 | cout << arr[i][j] << " ";
| ^