0_0_37773589_23809.cpp:63:6: error: expected unqualified-id before '>' token
set<P>>edge2[N];
^
0_0_37773589_23809.cpp: In function 'void top_sort()':
0_0_37773589_23809.cpp:72:23: error: 'edge2' was not declared in this scope
for (auto x : edge2[now]){
^
0_0_37773589_23809.cpp:74:38: error: 'cost' was not declared in this scope
dp[v]=max(dp[v], dp[now]+cost);
^
0_0_37773589_23809.cpp: In function 'void solve()':
0_0_37773589_23809.cpp:83:55: error: 'edge2' was not declared in this scope
for (int i = 1; i <= n; ++i)tar[i]=du[i]=dp[i]=0, edge2[i].clear(), edge1[i].clear(), edge3[i].clear();
^
0_0_37773589_23809.cpp:107:23: error: 'edge2' was not declared in this scope
if (u==v||edge2[u].count({v, it.p}))continue;
^
0_0_37773589_23809.cpp:109:13: error: 'edge2' was not declared in this scope
edge2[u].insert({v, it.p});
^
|