刷題筆記32——STL::map實現並查集、島問題

文章目錄 1、STL::map實現並查集 測試結果 代碼 2、島問題 題目描述 2.1 解法1:單CPU單內存 2.2 測試結果及代碼 解法2:使用並查集多任務計算 3、更多的並查集問題 1、STL::map實現並查集 測試結果 代碼 實現思路見 此處——並查集node #include <iostream> #include <map> #include <stack> #include <ve
相關文章
相關標籤/搜索