当前位置:网站首页>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
边栏推荐
- 数据库隔离级别
- 数据库-当前读与快照读
- LeetCode 732. 我的日程安排表 III
- Simulation volume leetcode [general] 1405 Longest happy string
- Black cat takes you to learn UFS Protocol Part 8: UFS initialization (boot operation)
- JMeter做接口测试,如何提取登录Cookie
- org.activiti.bpmn.exceptions.XMLException: cvc-complex-type.2.4.a: 发现了以元素 ‘outgoing‘ 开头的无效内容
- Mise en œuvre d’une fonction complexe d’ajout, de suppression et de modification basée sur jeecg - boot
- Postman核心功能解析-参数化和测试报告
- 曼哈顿距离与曼哈顿矩形-打印回字型矩阵
猜你喜欢
![[C language] string left rotation](/img/5f/66bcc8f992108bf3b7e455709d3174.png)
[C language] string left rotation

oscp raven2靶机渗透过程

Construction and integration of Zipkin and sleuth for call chain monitoring

LeetCode 739. 每日温度

Black cat takes you to learn UFS protocol Chapter 4: detailed explanation of UFS protocol stack

Postman核心功能解析-参数化和测试报告

Properties file

Coordinatorlayout+nestedscrollview+recyclerview pull up the bottom display is incomplete

D - How Many Answers Are Wrong

mysql按照首字母排序
随机推荐
[API interface tool] Introduction to postman interface
win10无法操作(删除、剪切)文件
黑猫带你学UFS协议第8篇:UFS初始化详解(Boot Operation)
模拟卷Leetcode【普通】1314. 矩阵区域和
Coordinatorlayout+nestedscrollview+recyclerview pull up the bottom display is incomplete
Convert the array selected by El tree into an array object
Database isolation level
黑猫带你学UFS协议第18篇:UFS如何配置逻辑单元(LU Management)
Esp32 esp-idf watchdog twdt
Construction and integration of Zipkin and sleuth for call chain monitoring
Simulation volume leetcode [general] 1109 Flight reservation statistics
org.activiti.bpmn.exceptions.XMLException: cvc-complex-type.2.4.a: 发现了以元素 ‘outgoing‘ 开头的无效内容
Understanding of processes and threads
Black cat takes you to learn UFS protocol Chapter 18: how UFS configures logical units (Lu Management)
Simulation volume leetcode [general] 1414 The minimum number of Fibonacci numbers with a sum of K
LeetCode 731. 我的日程安排表 II
Manhattan distance and Manhattan rectangle - print back font matrix
Manhattan distance sum - print diamond
JWT-JSON WEB TOKEN
JDBC Requset 对应内容及功能介绍