摘要: 1 #include<bits/stdc++.h> 2 using namespace std; 3 int a[101][101],q[101]; 4 bool vis[101]; 5 int max1=0,n,k,u,v,tot=0; 6 void search(int x) 7 { 8 int 阅读全文
posted @ 2022-01-27 16:12 jetaim 阅读(56) 评论(0) 推荐(0)
摘要: 1 #include<bits/stdc++.h> 2 #define N 11 3 using namespace std; 4 int a[N][N]; 5 int vis[N][N]; 6 int dir[4][2]={{-1,0},{1,0},{0,-1},{0,1}}; 7 int cnt 阅读全文
posted @ 2022-01-27 16:11 jetaim 阅读(163) 评论(0) 推荐(0)
摘要: 1 #include <bits/stdc++.h> 2 #define maxn 1000 3 char num[33]; 4 int len,q[maxn],Visited[11]; 5 long long ans = 1; 6 int main () 7 { 8 int i,j,k; 9 in 阅读全文
posted @ 2022-01-27 16:11 jetaim 阅读(35) 评论(0) 推荐(0)
摘要: 1 #include<bits/stdc++.h> 2 using namespace std; 3 int n,a,b,tot=10001; 4 int lc[201]; 5 bool vis[201]; 6 void dfs(int now,int step) 7 { 8 if(step>tot 阅读全文
posted @ 2022-01-27 10:54 jetaim 阅读(71) 评论(0) 推荐(0)