06 2021 档案

-std=c++11 编译器设置
摘要:range-based 'for' loops are not allowed in C++98 mode 阅读全文

posted @ 2021-06-30 22:25 ewitt 阅读(545) 评论(0) 推荐(0)

错题集的必要性
摘要:任何一件事,只要有复杂性,那么就有容易犯错的地方,必须把它记录下来,不然会反复出错。 阅读全文

posted @ 2021-06-09 22:16 ewitt 阅读(176) 评论(0) 推荐(0)

从字符串某位置开始的递增串(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 阅读(58) 评论(0) 推荐(0)

导航