此贴已结,判-1的条件把1打成-1了 ```cpp if(scc[i]==scc[x.first]&&x.second==-1){ cout<<"-1\n"; return; } ``` by OobugoO @ 2023-10-27 14:01:14