logo
publist
写文章

简介

该用户还未填写简介

擅长的技术栈

可提供的服务

暂无可提供的服务

acwing 837 连通块中点的数量 2022/03/06

#include<iostream>using namespace std ;const int N = 1e5 + 10 ;int p[N] ,si[N] ;int n , m ;int find(int x){if(p[x] != x) p[x] = find(p[x]);return p[x] ;}int main(){cin >> n >> m ;for

#蓝桥杯#拓扑学#c++
acwing 901 滑雪 2022/05/11

#include<iostream>#include<cstring>#include<algorithm>using namespace std ;const int N = 310 ;int n , m ;int f[N][N] ;int h[N][N] ;int dx[4] = {-1,0,1,0} , dy[4] = {0,1,0,-1} ;int dp

文章图片
#蓝桥杯#c++#算法
到底了