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

PROGRAMMING:Chicken and rabbit in the same cage

Luz5年前 (2021-05-10)题库498
The total number of chickens and rabbits is n, and the total number of legs is m. Input n and m, then output the number of chickens and rabbits.
###Input format:
Enter two integers n and m to represent the total number of chickens and rabbits and the total number of legs, respectively( 0###Output format:
Output two integers, separated by a space, respectively, the number of chickens and rabbits.
###Input example:
```in
14 32
```
###Output example:
```out
12 2
```






answer:If there is no answer, please comment