#F. 【入门】百钱百鸡问题

    Type: Default 1000ms 128MiB

【入门】百钱百鸡问题

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++作业

Not Claimed
Status
Done
Problem
7
Open Since
2024-3-3 0:00
Deadline
2024-3-9 23:59
Extension
24 hour(s)