http://noi.openjudge.cn/english/10/
描述
In the yard were C chickens and R rabbits. Each chicken has one head and two legs. Each rabbit has one head and four legs. There are total 27 heads and 86 legs in the yard. Calculate C and R.
输入
N/A
输出
Two integers C and R.
鸡兔问题
描述:
在这个院子里有R只兔子和C只鸡。每只鸡有一个头和两条腿,每只兔子有一个头和四条腿,整个院子里有27个头和86条腿。求C和R的值。
输入:
N/A
输出:
两个整数C和R.