Problem | shops |
---|---|
User | Rolo |
Submission Time | 2025-03-27 02:16:27 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
shops.cpp:9:16: error: array bound is not an integer constant before ‘]’ token
9 | vector<pii> v[c];
| ^
shops.cpp:10:9: error: array bound is not an integer constant before ‘]’ token
10 | int to[c];
| ^
shops.cpp:11:10: error: array bound is not an integer constant before ‘]’ token
11 | int col[c];
| ^
shops.cpp: In function ‘void dfs(int)’:
shops.cpp:15:14: error: ‘g’ was not declared in this scope
15 | for(int u : g[i])
| ^
shops.cpp:18:13: error: ‘col’ was not declared in this scope; did you mean ‘cosl’?
18 | if(!col[u]){
| ^~~
| cosl
shops.cpp: At global scope:
shops.cpp:24:1: error: expected declaration before ‘}’ token
24 | }
| ^
shops.cpp: In function ‘int main()’:
shops.cpp:32:9: error: ‘v’ was not declared in this scope
32 | v[a].pb({w,b});
|