-
递归枚举模板
问题描述:生成长度为n的字串,其字符从26个英文字母的前p(p≤26)个字母中选取,使得没有相邻的子序列相等。例如p=3,n=5时:
//...
递归枚举模板
问题描述:生成长度为n的字串,其字符从26个英文字母的前p(p≤26)个字母中选取,使得没有相邻的子序列相等。例如p=3,n=5时:
// abcba 满足条件
// abcbc 不满足条件
//输入:n p
//输出:所有满足条件的字串及总数-recursive template Problem description : n generation length of the string and its 26 characters from the English alphabet before p (p 26) 000 1984 letter, makes no adjacent sequences equivalent. For example, p = 3, n = 5 :// abcba meet the conditions// abcbc not satisfied conditions// input : n p// output : to satisfy all the conditions and the total number of strings
- 2023-04-22 22:30:03下载
- 积分:1
-
各种链表操作
链表的各种操作 头插尾插 排序 判断环 合并有序链表等等
- 2022-12-18 08:30:03下载
- 积分:1
-
词法分析器
这是关于编程语言和翻译方法的源代码。词法分析器,认识到有效的字符串。 第 1 步编写编译器。
- 2022-08-25 11:11:28下载
- 积分:1
-
可以画一个彩色的多边形,是在VC环境下编写的。
可以画一个彩色的多边形,是在VC环境下编写的。-draw a colorful graph
- 2023-02-22 21:00:03下载
- 积分:1
-
Video Based Face Detection
Video Based Face Detection
- 2023-05-19 01:00:04下载
- 积分:1
-
一个比较专业的数值计算软件了,是采用蒙特卡洛算法写的,做的是物理学中的Ising model...
一个比较专业的数值计算软件了,是采用蒙特卡洛算法写的,做的是物理学中的Ising model-a more professional numerical calculation software is written using the Monte-Carlo algorithm, so the physics of the Ising model
- 2022-01-28 10:05:38下载
- 积分:1
-
VC7写的,用来将金山单词本生成的文本文件转换成为我想要的其它格式写的。有兴趣的可以看看。...
VC7写的,用来将金山单词本生成的文本文件转换成为我想要的其它格式写的。有兴趣的可以看看。-VC7 wrote, Jinshan words used to generate the text of the document I want to switch to the other format writes. Interested can look at.
- 2022-03-07 16:24:49下载
- 积分:1
-
一个文本编辑器,压缩包里包含源程序和可执行文件。
一个文本编辑器,压缩包里包含源程序和可执行文件。-A text editor, contains source code and executable file.
- 2023-08-30 17:05:04下载
- 积分:1
-
familiar with the use of the various controls for beginners is a very useful pro...
熟悉MFC各种控件的使用,对于初学者来说是很有用的程序
-familiar with the use of the various controls for beginners is a very useful procedure
- 2022-01-26 03:43:30下载
- 积分:1
-
旅行商问题的动态规划方法已加入票据。
用动态规划法求解旅行商问题 已经加入注释 欢迎批评指正-dynamic programming method for the traveling salesman problem has joined Notes welcome criticism correction
- 2022-01-27 20:41:09下载
- 积分:1