P1038-神经网络【拓扑排序】正题
正题题目链接:https://www.luogu.org/recordnew/lists?uid=52918&pid=P1038题目大意有n个点,输入点给出权值,其余点的权值为Ci=∑i,j∈EWi,jCj−UiCi=∑i,j∈EWi,jCj−UiC_i=\sum_{i,j\in E}W_{i,j}C_j-U_iCi<=0Ci<=0C_i...