zl程序教程

您现在的位置是:首页 >  其它

当前栏目

字符串dfs

字符串 DFS
2023-09-14 09:07:07 时间
int visited[10]={
   0}; //做标记,n 个数需要做 n 个标记,没用过记作 0, 用过后记作 1 
char  lists[100];
void dfs(string str,int step)
{