Problem adjlist
User fanqie
Submission Time 2023-11-16 10:46:30
Score 0
Max Time N/A
Max Memory N/A

Compile Error

adjlist.cpp: In function ‘int main()’:
adjlist.cpp:17:13: error: expected primary-expression before ‘;’ token
17 | for (int i=; i<e; i++){
| ^
adjlist.cpp:23:10: error: expected unqualified-id before ‘=’ token
23 | for (int=0; i<n; i++){
| ^
adjlist.cpp:23:10: error: expected ‘;’ before ‘=’ token
23 | for (int=0; i<n; i++){
| ^
| ;
adjlist.cpp:23:10: error: expected primary-expression before ‘=’ token
adjlist.cpp:23:14: error: ‘i’ was not declared in this scope
23 | for (int=0; i<n; i++){
| ^
adjlist.cpp:23:17: error: expected ‘)’ before ‘;’ token
23 | for (int=0; i<n; i++){
| ~ ^
| )
adjlist.cpp:23:19: error: ‘i’ was not declared in this scope
23 | for (int=0; i<n; i++){
| ^