-->
当前位置:首页 > 题库

PROGRAMMING:Moving bricks

Luz5年前 (2021-05-10)题库576
A construction site needs to carry bricks. It is known that a man carries three bricks, a woman carries two bricks and a child carries one brick. If you want to use n people to move n bricks exactly, how many ways are there( Note that when the number of people in a certain category is 0, it is also a reasonable scheme.)
######Input format:
The input gives a positive integer n on a line.
######Output format:
If no qualified scheme is found, "None" will be output; If there are qualified schemes, the number of schemes is directly output.
######Input example:
```in
forty-five
```
######Output example:
```out
four
```







answer:If there is no answer, please comment