Problem | adjlist |
---|---|
User | ultbiaslia |
Submission Time | 2023-11-10 13:28:35 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
adjlist.cpp:2:2: error: ‘use’ does not name a type
2 | use namespace std;
| ^~~
cc1plus: error: ‘::main’ must return ‘int’
adjlist.cpp: In function ‘int main()’:
adjlist.cpp:5:1: error: ‘vector’ was not declared in this scope
5 | vector<int> g[10000];
| ^~~~~~
adjlist.cpp:3:13: error: expected primary-expression before ‘long’
3 | #define int long long
| ^~~~
adjlist.cpp:5:8: note: in expansion of macro ‘int’
5 | vector<int> g[10000];
| ^~~
adjlist.cpp:7:1: error: ‘cin’ was not declared in this scope
7 | cin >> V >> E;
| ^~~
adjlist.cpp:10:5: error: ‘g’ was not declared in this scope
10 | g[a].push_back(b);
| ^
adjlist.cpp:15:2: error: ‘cout’ was not declared in this scope
15 | cout << j;
| ^~~~
adjlist.cpp:17:8: error: expected primary-expression before ‘=’ token
17 | return= 0;