#D. C++-循环嵌套-百钱百鸡问题:用100块钱买刚好100只鸡,问有多少种购买方案,分别买几只?

    Type: Default 1000ms 256MiB

C++-循环嵌套-百钱百鸡问题:用100块钱买刚好100只鸡,问有多少种购买方案,分别买几只?

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.

Background

Description

百钱百鸡问题:公鸡一只5块钱,母鸡一只3块钱,小鸡3只1块钱,用100块钱买刚好100只鸡,问有多少种购买方案,分别买几只? image

Format

Input

Output

Samples


0 25 75
4 18 78
8 11 81
12 4 84

Limitation

1s, 1024KiB for each test case.

循环嵌套

Not Attended
Status
Done
Rule
ACM/ICPC
Problem
8
Start at
2024-4-27 17:15
End at
2024-5-12 17:15
Duration
360 hour(s)
Host
Partic.
5