题目:OpenJudge - 10:Chickens and Rabbits
描述:
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.
我的翻译:现有c只鸡和r只兔。 总共有21个头以及86条腿。请你求出有多少只鸡和有多少只鸭