CB--17蓝桥杯
摘要:01 5200 02 03 hhhhh,是我太菜了吗
阅读全文
posted @
2020-10-20 23:29
长风青云
阅读(140)
推荐(0)
整数分划
摘要:一个整数n(n <= 30)可以有多种分划,分划的整数之和为n,在不区分分划出各整数的次序时,字典序递减输出n 的各详细分划方案和分划总数。 > : 例如n = 6,程序输出为: 6 5 1 4 2 4 1 1 3 3 3 2 1 3 1 1 1 2 2 2 2 2 1 1 2 1 1 1 1 1
阅读全文
posted @
2020-10-20 23:27
长风青云
阅读(691)
推荐(0)
CB--18蓝桥杯
摘要:01 02 #include <iostream> #include <fstream> #include <cstdio> #include <cstdlib> #include <cmath> #include <iomanip> #include <cstring> #include <vec
阅读全文
posted @
2020-10-12 21:55
长风青云
阅读(165)
推荐(0)