首页 > 中心图
头像 Nemo小丑鱼~
发表于 2022-08-01 18:52:53
枚举每一个点 针对第二个条件,缺哪些边,添哪些边就可以了 针对第三个条件,用最小路径点覆盖就可以了 #include<iostream> #include<cstring> using namespace std; int n,m; const int N=1e3; int 展开全文