可以给我个免费www.***.com
1输入总数n
setxwhite=0,xblack=0,xpurple=0
2循环1到n,输入1-n头牛的颜色代号y(1=white,2=black,3=purple)
ify=1,xwhite=xwhite+1
ify=2,xblack=xblack+1
ify=3,xpurple=xpur来自ple+1
3printxwhit,xblack,xpurple
可以给我个免费www.***.com
1输入总数n
setxwhite=0,xblack=0,xpurple=0
2循环1到n,输入1-n头牛的颜色代号y(1=white,2=black,3=purple)
ify=1,xwhite=xwhite+1
ify=2,xblack=xblack+1
ify=3,xpurple=xpur来自ple+1
3printxwhit,xblack,xpurple
扫一扫,手机浏览