【入门】百钱百鸡问题
You cannot submit for this problem because the contest is ended. You can click "Open in Problem Set" to view this problem in normal mode.
说明
用100元钱买100只鸡,公鸡,母鸡,小鸡都要有。公鸡5元1只,母鸡3元1只,小鸡1元3只。请问公鸡,母鸡,小鸡各应该买多少只?
输入格式
无
输出格式
每种买法占一行,由3个数组成,顺序为 公鸡数 母鸡数 小鸡数。每个数字空格隔开。
样例
2024/03/03 10:00班C++作业
- Status
- Done
- Problem
- 7
- Open Since
- 2024-3-3 0:00
- Deadline
- 2024-3-9 23:59
- Extension
- 24 hour(s)