Problem findingpavement
User burningout
Submission Time 2025-01-26 22:53:27
Score 0
Max Time N/A
Max Memory N/A

Compile Error

findingpavement.cpp: In function ‘int main()’:
findingpavement.cpp:14:20: error: invalid conversion from ‘const char*’ to ‘int’ [-fpermissive]
14 | if (arr[i][j] = "pavement")
| ^~~~~~~~~~
| |
| const char*
findingpavement.cpp:18:2: error: expected ‘}’ at end of input
18 | }
| ^
findingpavement.cpp:8:24: note: to match this ‘{’
8 | for (int i=0;i<h; i++){
| ^
findingpavement.cpp:18:2: error: expected ‘}’ at end of input
18 | }
| ^
findingpavement.cpp:3:12: note: to match this ‘{’
3 | int main (){
| ^