2019 杭電多校第三場 題解

  題解   1001 Azshara's deep sea Unsolved.node 1002 Blow up the city.  題解:倒着建圖,而後將原圖出度爲零的點用一個新節點鏈接起來,支配樹板題。c++ 參考代碼:ide #include<bits/stdc++.h> using namespace std; #define LL long long #define pb push_
相關文章
相關標籤/搜索