Problem | cactus |
---|---|
User | Ash |
Submission Time | 2024-04-20 07:54:29 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
cactus.cpp: In function ‘void solve()’:
cactus.cpp:11:11: error: found ‘:’ in nested-name-specifier, expected ‘::’
11 | int u, v:
| ^
| ::
cactus.cpp:11:10: error: ‘v’ has not been declared
11 | int u, v:
| ^
cactus.cpp:12:7: error: qualified-id in declaration before ‘>>’ token
12 | cin >> u >> v;
| ^~
cactus.cpp:13:20: error: ‘v’ was not declared in this scope
13 | adj[u].push_back(v);
| ^
cactus.cpp: At global scope:
cactus.cpp:16:8: error: expected declaration before ‘}’ token
16 | }
| ^