Problem adjlist
User asbx
Submission Time 2023-11-10 10:31:00
Score 0
Max Time N/A
Max Memory N/A

Compile Error

adjlist.cpp:10:1: error: stray ‘\342’ in program
10 | …
| ^
adjlist.cpp:10:2: error: stray ‘\200’ in program
10 | …
| ^
adjlist.cpp:10:3: error: stray ‘\246’ in program
10 | …
| ^
adjlist.cpp:2:1: error: ‘vector’ does not name a type
2 | vector<int> g[1005];
| ^~~~~~
adjlist.cpp:4:1: error: ‘cin’ does not name a type
4 | cin >> V >> E;
| ^~~
adjlist.cpp:5:1: error: expected unqualified-id before ‘for’
5 | for (int i = 0; i < E; i++) {
| ^~~
adjlist.cpp:5:17: error: ‘i’ does not name a type
5 | for (int i = 0; i < E; i++) {
| ^
adjlist.cpp:5:24: error: ‘i’ does not name a type
5 | for (int i = 0; i < E; i++) {
| ^
adjlist.cpp:12:1: error: expected unqualified-id before ‘for’
12 | for (int i = 0; i < V; i++) {
| ^~~
adjlist.cpp:12:17: error: ‘i’ does no