0_0_26244430_18282.cpp: In function 'void dfs(int)':
0_0_26244430_18282.cpp:136:4: error: 'Ans' was not declared in this scope
Ans[d[v]]+=A[u][v];
^
0_0_26244430_18282.cpp: In function 'void solve()':
0_0_26244430_18282.cpp:150:40: error: 'Ans' was not declared in this scope
for(int i=0;i<d[n-1];i++) ans=max(ans,Ans[i]);
^
|