Problem | adjlist |
---|---|
User | Mischa |
Submission Time | 2023-11-10 14:12:45 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
adjlist.cpp:8:1: error: expected initializer before ‘vector’
8 | vector <int> g[10001];
| ^~~~~~
adjlist.cpp:10:1: error: ‘cin’ does not name a type; did you mean ‘sin’?
10 | cin >> V >> E;
| ^~~
| sin
adjlist.cpp:11:1: error: expected unqualified-id before ‘for’
11 | for (int i=0; i < E; i++) {
| ^~~
adjlist.cpp:11:15: error: ‘i’ does not name a type
11 | for (int i=0; i < E; i++) {
| ^
adjlist.cpp:11:22: error: ‘i’ does not name a type
11 | for (int i=0; i < E; i++) {
| ^
adjlist.cpp:16:9: error: expected unqualified-id before ‘for’
16 | for (int i=0; i<V; i++){
| ^~~
adjlist.cpp:16:23: error: ‘i’ does not name a type
16 | for (int i=0; i<V; i++){
| ^
adjlist.cpp:16:28: error: ‘i’ does not name a type
16 | for (int i=0; i<