
简介
该用户还未填写简介
擅长的技术栈
未填写擅长的技术栈
可提供的服务
暂无可提供的服务
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
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

到底了