Problem | pipes |
---|---|
User | bribritt |
Submission Time | 2023-04-22 10:06:33 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
pipes.cpp:7:9: error: ‘vector’ does not name a type
7 | typedef vector<int> vi;
| ^~~~~~
pipes.cpp:8:9: error: ‘set’ does not name a type
8 | typedef set<int> si;
| ^~~
pipes.cpp:9:9: error: ‘vector’ does not name a type
9 | typedef vector<ii> vii;
| ^~~~~~
pipes.cpp:10:9: error: ‘set’ does not name a type
10 | typedef set<ii> sii;
| ^~~
pipes.cpp:13:1: error: ‘vi’ does not name a type; did you mean ‘ii’?
13 | vi adj[MAXN], adj_dfs3[MAXN];
| ^~
| ii
pipes.cpp: In function ‘void dfs(int)’:
pipes.cpp:18:17: error: ‘adj’ was not declared in this scope
18 | for(auto i: adj[x]) if(!visited[i]) {
| ^~~
pipes.cpp:20:6: error: ‘adj_dfs3’ was not declared in this scope
20 | adj_dfs3[x].pb(i);
| ^~~~~~~~
pipes.cpp: In function ‘int dp(int)’:
pipes.cpp:29:16: error: ‘adj