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

Compile Error

findingpavement.cpp:12:26: error: missing terminating " character
12 | if (arr[i](j)=="pavement'){
| ^~~~~~~~~~~~
findingpavement.cpp: In function ‘int main()’:
findingpavement.cpp:12:23: error: expression cannot be used as a function
12 | if (arr[i](j)=="pavement'){
| ^
findingpavement.cpp:13:27: error: expected ‘)’ before ‘;’ token
13 | ansh=i; answ=j;
| ^
| )
findingpavement.cpp:12:14: note: to match this ‘(’
12 | if (arr[i](j)=="pavement'){
| ^
findingpavement.cpp: At global scope:
findingpavement.cpp:18:5: error: ‘cout’ does not name a type
18 | cout<<ansh<<" "<<answ;
| ^~~~
findingpavement.cpp:19:3: error: expected declaration before ‘}’ token
19 | }
| ^