Problem wires
User kenkunkin
Submission Time 2026-01-01 19:57:20
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:26:9: error: ‘g’ was not declared in this scope
26 | g[hi].push_back(i);
| ^
wires.cpp:32:24: error: ‘g’ was not declared in this scope
32 | for (int j=0;j<g[i].size();j++)
| ^