- 博客(2)
- 资源 (1)
- 收藏
- 关注
原创 【蓝桥杯】 全球变暖
输入 7 ....... .##.... .##.... ....##. ..####. ...###. .......在这里插入代码片 输出 7 … .##… .##… …##. …####. …###. … 在这里插入代码片 #include<iostream> #include<vector> using namespace std; char a[1000][1000]; int visit[1000][1000]={0}; int dpx[4]={1,0,-1,0},.
2022-04-08 18:53:00 187
原创 蓝桥杯 七段码
蓝桥杯 七段码 C++ #include<iostream> using namespace std; int use[10];//判定每一段二极管是否使用了 int ans=0; int e[10][10];//二极管是够相连 int father[10]; int find(int x)//并查集 { int r=x; while(r!=father[r]) r=father[r]; return father[r]; } void dfs(int d) { if(
2022-03-30 17:40:33 721
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人