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

Compile Error

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