Type: Default 1000ms 256MiB

作业题 - 百钱买百鸡

提示:该题测试数据补录中,暂不支持评测提交。

No testdata at current.

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 个数组成,顺序为 公鸡数 母鸡数 小鸡数。每个数字空格隔开。

4 18 78
8 11 81
12 4 84

输入输出样例

本题无

语法综合测试

Not Attended
Status
Done
Rule
XCPC
Problem
11
Start at
2025-8-18 14:00
End at
2025-8-18 17:00
Duration
3 hour(s)
Host
Partic.
16