Problem subgraphs
User Maggie
Submission Time 2023-11-15 09:32:08
Score 0
Max Time N/A
Max Memory N/A

Compile Error

subgraphs.cpp: In function ‘int main()’:
subgraphs.cpp:29:17: error: missing template arguments before ‘[’ token
29 | cin >> array [i][j];
| ^
subgraphs.cpp:34:31: error: missing template arguments before ‘[’ token
34 | if (!visited[i][j]or !array[i][j] == '.')continue;
| ^
subgraphs.cpp:36:11: error: expected ‘;’ before ‘}’ token
36 | sum +=1
| ^
| ;
37 | }
| ~