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

Compile Error

adjlist.cpp: In function ‘int main()’:
adjlist.cpp:7:7: error: ‘i’ was not declared in this scope
7 | for (i=0, i<E, i++) {
| ^
adjlist.cpp:13:2: error: expected primary-expression before ‘for’
13 | for (i<V,i++) {
| ^~~
adjlist.cpp:11:3: error: expected ‘;’ before ‘for’
11 | }
| ^
| ;
12 |
13 | for (i<V,i++) {
| ~~~
adjlist.cpp:13:2: error: expected primary-expression before ‘for’
13 | for (i<V,i++) {
| ^~~
adjlist.cpp:11:3: error: expected ‘)’ before ‘for’
11 | }
| ^
| )
12 |
13 | for (i<V,i++) {
| ~~~
adjlist.cpp:7:6: note: to match this ‘(’
7 | for (i=0, i<E, 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 | }
| ~^
|