Problem | adjlist |
---|---|
User | Esan |
Submission Time | 2024-06-21 10:04:04 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
adjlist.cpp:4:11: error: expected initializer before ‘}’ token
4 | int main()}
| ^
adjlist.cpp:4:11: error: expected declaration before ‘}’ token
adjlist.cpp:6:2: error: ‘cin’ does not name a type; did you mean ‘sin’?
6 | cin >> n >> e;
| ^~~
| sin
adjlist.cpp:7:24: error: array bound is not an integer constant before ‘]’ token
7 | vector<int> adj[n+5];
| ^
adjlist.cpp:8:2: error: expected unqualified-id before ‘for’
8 | for (int i=0; i < e; i++){
| ^~~
adjlist.cpp:8:16: error: ‘i’ does not name a type
8 | for (int i=0; i < e; i++){
| ^
adjlist.cpp:8:23: error: ‘i’ does not name a type
8 | for (int i=0; i < e; i++){
| ^