Problem | manycolours |
---|---|
User | bribritt |
Submission Time | 2023-07-29 07:42:42 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
manycolours.cpp: In function ‘void dfs(int, int)’:
manycolours.cpp:12:9: error: ‘struct std::pair<int, std::pair<int, int> >’ has no member named ‘fist’; did you mean ‘first’?
12 | dfs(i.fist,x);
| ^~~~
| first
manycolours.cpp: In function ‘int main()’:
manycolours.cpp:19:40: error: expected ‘)’ before ‘;’ token
19 | adj[A].push_back(make_pair(B,ii(C,D));
| ~ ^
| )
manycolours.cpp:20:40: error: expected ‘)’ before ‘;’ token
20 | adj[B].push_back(make_pair(B,ii(C,D));
| ~ ^
| )
manycolours.cpp:29:13: error: ‘struct std::pair<int, std::pair<int, int> >’ has no member named ‘fi’
29 | D=par[D].fi;
| ^~