递归实现指数型枚举(例)
摘要:从 1 ~ n 这n个整数中随机选取任意多个,输出所有可能的选择方案。 #include <iostream> //C++标准库中的头文件.用于控制台输入和输出。 #include <cstring> //用于处理字符串的函数和操作 #include <algorithm> //提供了许多常用的算法
阅读全文
posted @ 2023-05-27 19:23
posted @ 2023-05-27 19:23
posted @ 2023-05-14 17:35
posted @ 2023-05-13 18:23
posted @ 2023-04-02 15:58
posted @ 2023-04-01 20:00