当前位置:网站首页>Luogu p2089 roast chicken
Luogu p2089 roast chicken
2022-07-06 06:24:00 【zjsru_ Beginner】
Title Description
Pig Hanke I like roast chicken very much ( This is the same animal , Fratricidal !)Hanke It's special to eat chicken , Why is it special ? Because he has 10 Ingredients ( mustard 、 Cumin and so on ), Each ingredient can be put 1 To 3 g , The delicious degree of any roasted chicken is the sum of the quality of all ingredients .
Now? , Hanke Want to know , If I give you a delicious degree n, Please export this. 10 All matching schemes of ingredients .
Input format
A positive integer n, Indicates how delicious .
Output format
first line , Total number of programmes .
Line 2 to end ,10 Number , Indicates the quality of each ingredient , In dictionary order .
If there is no satisfactory method , Just output one on the first line 0.
I/o sample
Input 1
11
Output 1
10 1 1 1 1 1 1 1 1 1 2 1 1 1 1 1 1 1 1 2 1 1 1 1 1 1 1 1 2 1 1 1 1 1 1 1 1 2 1 1 1 1 1 1 1 1 2 1 1 1 1 1 1 1 1 2 1 1 1 1 1 1 1 1 2 1 1 1 1 1 1 1 1 2 1 1 1 1 1 1 1 1 2 1 1 1 1 1 1 1 1 2 1 1 1 1 1 1 1 1 1


jsj201 YY
边栏推荐
- D - How Many Answers Are Wrong
- org.activiti.bpmn.exceptions.XMLException: cvc-complex-type.2.4.a: 发现了以元素 ‘outgoing‘ 开头的无效内容
- Qt:无法定位程序输入点XXXXX于动态链接库。
- Database - current read and snapshot read
- 模拟卷Leetcode【普通】1296. 划分数组为连续数字的集合
- 曼哈顿距离与曼哈顿矩形-打印回字型矩阵
- RestTemplate、Feign实现Token传递
- Left matching principle of joint index
- [postman] dynamic variable (also known as mock function)
- MFC 动态创建的对话框及改变控件的大小和位置
猜你喜欢

B - The Suspects

黑猫带你学eMMC协议第10篇:eMMC读写操作详解(read & write)
![[wechat applet] build a development tool environment](/img/f6/51f97b1c927337b34c5b3a4207abb4.png)
[wechat applet] build a development tool environment

selenium源码通读·9 |DesiredCapabilities类分析

G - Supermarket

Database - current read and snapshot read

D - How Many Answers Are Wrong

Left matching principle of joint index

Redis core technology and basic architecture of actual combat: what does a key value database contain?

LeetCode 1200. Minimum absolute difference
随机推荐
MFC关于长字符串unsigned char与CString转换及显示问题
Set the print page style by modifying style
G - Supermarket
Data type of MySQL
黑猫带你学UFS协议第8篇:UFS初始化详解(Boot Operation)
Manhattan distance and Manhattan rectangle - print back font matrix
Simulation volume leetcode [general] 1314 Matrix area and
MFC 动态创建的对话框及改变控件的大小和位置
记一个基于JEECG-BOOT的比较复杂的增删改功能的实现
Réflexions sur la sécurité des données (réimpression)
[C language] string left rotation
org.activiti.bpmn.exceptions.XMLException: cvc-complex-type.2.4.a: 发现了以元素 ‘outgoing‘ 开头的无效内容
Error getting a new connection Cause: org. apache. commons. dbcp. SQLNestedException
MySQL之基础知识
Is the test cycle compressed? Teach you 9 ways to deal with it
一文揭开,测试外包公司的真 相
B - The Suspects
Remember the implementation of a relatively complex addition, deletion and modification function based on jeecg-boot
自定义指定路由上的Gateway过滤器工厂
win10无法操作(删除、剪切)文件