题解列表
dfs通过递归试探求取符合条件的格子数
摘要: #include using namespace std; const int N = 25; int n, m,t,max_step, v[N][N];//a基于1-based……
dfs求解自然数的拆分
摘要: #include using namespace std; int n,a[50];//a用来存储分割结果 void dfs(int t) { if (!t && a[0] ……