2239: 练39.4 百钱买百鸡

Memory Limit:64 MB Time Limit:1.000 S
Judge Style:Text Compare Creator:
Submit:3 Solved:3

Description

百钱买百鸡问题:$3$文钱可以买$1$只公鸡,$2$文钱可以买1只母鸡,$1$文钱可以买$3$只小鸡,要用$100$文钱买$100$只鸡,求公鸡,母鸡,小鸡各多少只?

Input

无。

Output

输出各种公鸡、母鸡、小鸡的数量,依次由小到大,每种情况各占一行,并每个整数占$5$个字符的宽度。

Sample Input Copy

Sample Output Copy

    0   40   60
    5   32   63
   10   24   66
   15   16   69
   20    8   72
   25    0   75

Source/Category