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