摘要: #include<bits/stdc++.h> using namespace std; int dx[4]={1,-1,0,0}, dy[4]={0,0,1,-1}; int bz[100][100]={1},num=0; char s[100][100],ch; bool vis[100][10 阅读全文
posted @ 2023-07-22 17:00 siuuuuuuuu 阅读(77) 评论(0) 推荐(0)
摘要: #include<bits/stdc++.h> using namespace std; int r,s,t[200],ans; int dx[]={-1,0,1,0}, dy[]={0,-1,0,1}; char a[100][100]; void dfs(int x,int y,int cnt) 阅读全文
posted @ 2023-07-22 14:40 siuuuuuuuu 阅读(16) 评论(0) 推荐(0)
摘要: #include<bits/stdc++.h> using namespace std; int a[10][10],c=0,g[1001],s=0; void print(){ for(int i=1; i<=8; i++) cout<<g[i]; cout<<endl; } bool check 阅读全文
posted @ 2023-07-22 11:02 siuuuuuuuu 阅读(20) 评论(0) 推荐(0)
摘要: #include <bits/stdc++.h> using namespace std; int a[1001],n; void dfs(int p,int c,int s){ if(s==n){ cout<<n<<"="<<a[0]; for(int i=1; i<c; i++) cout<<' 阅读全文
posted @ 2023-07-22 10:52 siuuuuuuuu 阅读(61) 评论(0) 推荐(0)
摘要: #include<bits/stdc++.h> using namespace std; int t,n,m,x,y; bool b[10][10]={0}; int s=0,k=0; int dx[8]={-2,-2,-1,1,2,2,1,-1}, dy[8]={1,-1,-2,-2,-1,1,2 阅读全文
posted @ 2023-07-22 10:44 siuuuuuuuu 阅读(54) 评论(0) 推荐(0)
摘要: #include<bits/stdc++.h> using namespace std; int n,a[1001][1001],f[1001][1001],s=0; int main() { cin>>n; for(int i=1; i<=n; i++) for(int j=1; j<=i; j+ 阅读全文
posted @ 2023-07-22 09:51 siuuuuuuuu 阅读(20) 评论(0) 推荐(0)