摘要: 题目让求最大加权回路,容易想到插头 \(dp\)。其余的就很常规了。 #include<bits/stdc++.h> using namespace std; const int N=2205,M=105; int n,m,mp[N][M][10],c[M][10]; bool vis[N][M][ 阅读全文
posted @ 2025-04-06 08:48 长安一片月_22 阅读(13) 评论(0) 推荐(0)