摘要:        
#include #include int main() { int score; while(scanf("%d",&score)!=EOF) { if(score100) printf("Score is error!\n"); if(score>=90&&score=80&&score=70&&score...    阅读全文
posted @ 2019-03-31 15:50
pipiforever
阅读(327)
评论(0)
推荐(0)
        
            
        
        
摘要:        
#include #include #define PI 3.1415927 int main() { double r,v; while(scanf("%lf",&r)!=EOF) { v = PI*r*r*r*4/3; printf("%.3lf\n",v); } return 0; }    阅读全文
posted @ 2019-03-31 15:47
pipiforever
阅读(194)
评论(0)
推荐(0)
        
            
        
        
摘要:        
#include #include int main() { double a,b; while(scanf("%lf",&a)!=EOF) { if(a>=0.00) printf("%.2lf\n",a); else printf("%.2lf\n",-a); } r...    阅读全文
posted @ 2019-03-31 15:47
pipiforever
阅读(229)
评论(0)
推荐(0)
        
            
        
        
摘要:        
#include #include #include int main() { double x1,x2,y1,y2,dis; while(scanf("%lf %lf %lf %lf",&x1,&y1,&x2,&y2)!=EOF) { dis = sqrt((x2-x1)*(x2-x1)+(y2-y1)*(y2-y1)); prin...    阅读全文
posted @ 2019-03-31 15:45
pipiforever
阅读(305)
评论(0)
推荐(0)
        
            
        
        
摘要:        
#include #include int main() { char a,b,c,t; while(scanf("%c%c%c",&a,&b,&c)!=EOF) { getchar();//一定要有这一行,因为scanf在接收字符串时,会把换行键一起接收,这里需要用getchar来吸收换行键。 if(a>b) ...    阅读全文
posted @ 2019-03-31 15:43
pipiforever
阅读(340)
评论(0)
推荐(0)
        
 
                     
                    
                 
                    
                
 
         浙公网安备 33010602011771号
浙公网安备 33010602011771号