2021年6月6日

从字符串某位置开始的递增串(dfs)注意for循环中下标的错误

摘要: #include <iostream> #include <string> using namespace std; char res[50];int tag=1; void dfs(int k,int len, int st,char str[]){//st为结果串的当前位置 if(k==len) 阅读全文

posted @ 2021-06-06 18:36 ewitt 阅读(40) 评论(0) 推荐(0) 编辑

导航