Problem wires
User kenkunkin
Submission Time 2026-01-01 19:55:23
Score 0
Max Time N/A
Max Memory N/A

Compile Error

wires.cpp:18:1: error: ‘vector’ does not name a type
18 | vector <int> g[maxn];
| ^~~~~~
wires.cpp: In function ‘void wires(int, int, int*)’:
wires.cpp:25:9: error: ‘g’ was not declared in this scope
25 | g[hi].push_back(i);
| ^
wires.cpp:31:24: error: ‘g’ was not declared in this scope
31 | for (int j=0;j<g[i].size();j++)
| ^