Problem findingpavement
User ArianneLim
Submission Time 2024-06-20 13:46:11
Score 0
Max Time N/A
Max Memory N/A

Compile Error

findingpavement.cpp: In function ‘int main()’:
findingpavement.cpp:11:23: error: expression cannot be used as a function
11 | if (arr[i](j)=="pavement"){
| ^
findingpavement.cpp:17:11: error: ‘answh’ was not declared in this scope; did you mean ‘answ’?
17 | cout<<answh<<" "<<answ;
| ^~~~~
| answ