G. 【例】百钱买百鸡

    Type: Default 1000ms 256MiB

【例】百钱买百鸡

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.

题目描述

百钱买百鸡问题。鸡翁一,值钱五,鸡母一,值钱三,鸡雏三,值钱一,百钱买百鸡,问鸡翁、鸡母、鸡雏各几何?

输入

输出

输出各种鸡翁、鸡母、鸡雏的数量,依次由小到大,每种情况各占一行,每行三个数之间用一个空格隔开。

4月1号共同课程

Not Attended
Status
Done
Rule
IOI
Problem
8
Start at
2026-4-1 13:00
End at
2026-4-13 5:00
Duration
280 hour(s)
Host
Partic.
7