#請問如何用DSU找出一個圖是美麗的?
1 messages · Page 1 of 1 (latest)
美麗圖是什麼ㄚ
噢噢
完全圖為什麼要用dsu🤔
我在題目底下的hint看到的;w;
我也不知道
方便傳一下題目嗎
https://codeforces.com/group/GG44hyrVLY/contest/271250/problem/A
https://judge.hlhs.hlc.edu.tw/ShowProblem?problemid=c020
同一題
1 messages · Page 1 of 1 (latest)
如題,請問若一個圖是美麗的,它的DSU有什麼特徵、性質可以使用?
我目前的做法使用單純的
struct node {
set<node*const> edges;
};
vector<node> pool;
然後用修改過的Bron Kerbosch演算法找出是否為美麗圖,請問美麗圖的DSU什麼性質嗎?🙏
美麗圖是什麼ㄚ
噢噢
完全圖為什麼要用dsu🤔
我在題目底下的hint看到的;w;
我也不知道
方便傳一下題目嗎
https://codeforces.com/group/GG44hyrVLY/contest/271250/problem/A
https://judge.hlhs.hlc.edu.tw/ShowProblem?problemid=c020
同一題