摘要: #include<iostream>#include<cstdio>#include<cstdlib>#define maxn 100char ch[maxn][maxn];using namespace std;int length,width;void dfs(int x,int y){ ch[ 阅读全文
posted @ 2020-05-28 11:54 Joelin12 阅读(115) 评论(0) 推荐(0)
摘要: #include<iostream>#include<stack>#define maxn 30using namespace std;stack<int>st;int n,k,a[maxn];bool dfs(int i,int sum){ if(i==k) return sum==k;//加到最 阅读全文
posted @ 2020-05-28 10:47 Joelin12 阅读(104) 评论(0) 推荐(0)