题目地址:
https://acs.jxnu.edu.cn/problem/NOIOPJENGLISH10
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.
在院子里有C只鸡和R只兔子。每只鸡有一个头和两条腿。每只兔子有一个头和四条腿。这里一共有27个头和86条腿。计算C和R。
输入:
N/A
输出:
Two integers C and R.
两个整数C和R。
样例输入:
N/A
样例输出:
not provided
不提供