c"百鸡问题":鸡翁一值钱五,鸡母一值钱三,鸡雏三值钱一.百钱买百鸡,问鸡翁,鸡母,鸡雏各几何?#includeint main(void){int a,b,c,n,t;while(scanf("%d",&n)==1){a=b=c=t=0;for(a=1;a
问题描述:
c"百鸡问题":鸡翁一值钱五,鸡母一值钱三,鸡雏三值钱一.百钱买百鸡,问鸡翁,鸡母,鸡雏各几何?
#include
int main(void)
{
int a,b,c,n,t;
while(scanf("%d",&n)==1){
a=b=c=t=0;
for(a=1;a
答
你要输入n干嘛啊.百鸡百钱不是确定了个数吗
#include
int main(void)
{
int a,b,c,n,t;
while(scanf("%d",&n)==1){
a=b=c=t=0;
for(a=1;a