您当前的位置: 首页 > 

2/25 floyed+dp+bfs+dfs染色+二分和bfs

钟钟终 发布时间:2022-02-25 17:37:25 ,浏览量:5

P1119 灾后重建

隐含条件:询问的t也是从小到大的

#include 

using namespace std;
const int maxn=1e3+5;
const int inf=0x3f3f3f3f;
int n,m,f[maxn][maxn],a[maxn],q;
void floyed(int k)
{
    for(int i=0;i            
关注
打赏
1688896170
查看更多评论
0.0815s