摘要: #include<stdio.h>#include<math.h>void main(){ float a,b,c; float p,area; scanf("%f,%f,%f",&a,&b,&c); if(a+b>c||a+c>b||b+c>a) { p=(a+b+c)/2; area=(floa 阅读全文
posted @ 2016-10-04 21:31 魔都初心 阅读(708) 评论(0) 推荐(0) 编辑
摘要: #include<stdio.h>int main(){ int cock,hen,chick; for(cock=0;cock<=20;cock++) for(hen=0;hen<=33;hen++) for(chick=3;chick<=99;chick++) if(5*cock+3*hen+c 阅读全文
posted @ 2016-10-04 20:57 魔都初心 阅读(119) 评论(0) 推荐(0) 编辑