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

Compile Error

adjlist.cpp: In function ‘int main()’:
adjlist.cpp:7:17: error: expected ‘;’ before ‘<’ token
7 | for (int i=0, i<E, i++) {
| ^
| ;
adjlist.cpp:7:17: error: expected primary-expression before ‘<’ token
adjlist.cpp:7:24: error: expected ‘;’ before ‘)’ token
7 | for (int i=0, i<E, i++) {
| ^
| ;
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:17:2: error: expected primary-expression at end of input
17 | }
| ^
adjlist.cpp:17:3: error: expected ‘;’ at end of input
17 | }
| ~^
| ;
adjlist.cpp:17:2: error: expected primary-expre