Problem adjlist
User tomatofrog0w0
Submission Time 2023-11-10 15:13:56
Score 0
Max Time N/A
Max Memory N/A

Compile Error

adjlist.cpp: In function ‘int32_t main()’:
adjlist.cpp:3:13: error: expected initializer before ‘long’
3 | #define int long long
| ^~~~
adjlist.cpp:8:3: note: in expansion of macro ‘int’
8 | int n, e, a, b;
| ^~~
adjlist.cpp:9:13: error: ‘n’ was not declared in this scope; did you mean ‘yn’?
9 | cin >> n >> e;
| ^
| yn
adjlist.cpp:9:18: error: ‘e’ was not declared in this scope
9 | cin >> n >> e;
| ^
adjlist.cpp:12:10: error: ‘a’ was not declared in this scope
12 | cin >> a >> b;
| ^
adjlist.cpp:12:15: error: ‘b’ was not declared in this scope
12 | cin >> a >> b;
| ^
adjlist.cpp:14:2: error: ‘g’ was not declared in this scope
14 | g[a].push_back (b);
| ^
adjlist.cpp:19:17: error: ‘g’ was not declared in t