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

PROGRAMMING:The magic animal of thin, square and round

Luz5年前 (2021-05-10)题库424
There are many magical animals in Xuejie's family. They may have n heads, m legs and K tails...., To simplify the problem, Xuejie only has nine chickens at home
(nine heads, one tail), three tailed tiger (three tails, one head), Nine Tailed Fox (nine tails, one head). Give the total number of heads and tails in the room. How many possible ways do you have( PS: at Xuejie's house
There's no one. They're all out. There's only magical animals
###Input format:
The total number of heads and tails in the house is less than 1000
###Output format:
Output can exist in several ways
###Input example:
Here is a set of inputs. For example:
```in
ten
```
###Output example:
The corresponding output is given here. For example:
```out
two
```







answer:If there is no answer, please comment