Problem subgraphs
User Ningja
Submission Time 2023-11-10 15:17:15
Score 0
Max Time N/A
Max Memory N/A

Compile Error

subgraphs.cpp:5:1: error: expected unqualified-id before ‘<’ token
5 | <bool> v[1001];
| ^
subgraphs.cpp: In function ‘void visited(int)’:
subgraphs.cpp:9:6: error: ‘v’ was not declared in this scope
9 | if (v[x]=true) return;
| ^
subgraphs.cpp:10:2: error: ‘v’ was not declared in this scope
10 | v[x]=true;
| ^