0_0_37767328_17163.cpp: In function 'void solve()':
0_0_37767328_17163.cpp:104:12: error: missing template arguments before 'ssg'
vector ssg(cnt_block + 1, vector<pll>(0));
^
0_0_37767328_17163.cpp:111:39: error: 'ssg' was not declared in this scope
if (block[u] != block[v]) ssg[block[u]].push_back({block[v], t.second}), deg[block[v]]++;
^
0_0_37767328_17163.cpp:120:23: error: 'ssg' was not declared in this scope
for (auto t : ssg[u]) {
^
0_0_37767328_17163.cpp:123:43: error: 'w' was not declared in this scope
val[v] = max(val[v], val[u] + w);
^
|