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

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