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

Compile Error

findingpavement.cpp: In function ‘int main()’:
findingpavement.cpp:14:18: error: could not convert ‘arr[i][j].std::__cxx11::basic_string<char>::operator=(((const char*)"pavement"))’ from ‘std::__cxx11::basic_string<char>’ to ‘bool’
14 | if (arr[i][j] = "pavement")
| ~~~~~~~~~~^~~~~~~~~~~~
| |
| std::__cxx11::basic_string<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 (){
| ^