Problem adjlist
User claireau
Submission Time 2023-11-16 09:19:17
Score 0
Max Time N/A
Max Memory N/A

Compile Error

adjlist.cpp: In function ‘int main()’:
adjlist.cpp:10:2: error: ‘adjolist’ was not declared in this scope; did you mean ‘adjilist’?
10 | adjolist[B].push_back (make_pair(B,W));
| ^~~~~~~~
| adjilist
adjlist.cpp:13:7: error: ‘i’ was not declared in this scope
13 | for (i<V; i++) {
| ^
adjlist.cpp:13:15: error: expected ‘;’ before ‘)’ token
13 | for (i<V; i++) {
| ^
| ;
adjlist.cpp:17:2: error: expected ‘}’ at end of input
17 | }
| ^
adjlist.cpp:4:13: note: to match this ‘{’
4 | int main () {
| ^