当前位置:网站首页>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
边栏推荐
- Set the print page style by modifying style
- 模拟卷Leetcode【普通】1405. 最长快乐字符串
- Cannot create poolableconnectionfactory (could not create connection to database server. error
- 把el-tree选中的数组转换为数组对象
- [Tera term] black cat takes you to learn TTL script -- serial port automation skill in embedded development
- 對數據安全的思考(轉載)
- 私人云盘部署
- mysql按照首字母排序
- Properties file
- [C language] string left rotation
猜你喜欢
Selenium source code read through · 9 | desiredcapabilities class analysis
ICLR 2022 spotlight | analog transformer: time series anomaly detection method based on correlation difference
Customize the gateway filter factory on the specified route
Left matching principle of joint index
[eolink] PC client installation
JWT-JSON WEB TOKEN
ESP32 ESP-IDF看门狗TWDT
Manage configuration using Nacos
D - How Many Answers Are Wrong
Properties file
随机推荐
Database isolation level
Simulation volume leetcode [general] 1062 Longest repeating substring
Still worrying about how to write web automation test cases? Senior test engineers teach you selenium test case writing hand in hand
[postman] the monitors monitoring API can run periodically
Simulation volume leetcode [general] 1296 Divide an array into a set of consecutive numbers
LeetCode 739. 每日温度
Qt:无法定位程序输入点XXXXX于动态链接库。
selenium源码通读·9 |DesiredCapabilities类分析
模拟卷Leetcode【普通】1109. 航班预订统计
模拟卷Leetcode【普通】1447. 最简分数
JWT-JSON WEB TOKEN
win10无法操作(删除、剪切)文件
Delete the variables added to watch1 in keil MDK
[no app push general test plan
mysql按照首字母排序
B - The Suspects
G - Supermarket
Black cat takes you to learn EMMC Protocol Part 10: EMMC read and write operation details (read & write)
10m25dcf484c8g (FPGA) amy-6m-0002 BGA GPS module
Cannot create poolableconnectionfactory (could not create connection to database server. error