【郑轻】[1749]Forceast!

这里写图片描述
这里写图片描述

期望问题
刚开始没大看懂……
看懂后……
呃……

#include <stdio.h>
#include <string.h>
int main() {
    double a,b,c,d,x;
    scanf("%lf %lf %lf %lf",&a,&b,&c,&d);
    x=4*a+3*b+2*c+1*d;
    if(x>=3)
        printf("金刚巨何时带我飞!\n");
    else if(x>=2&&x<3)
        printf("仰慕金刚巨!\n");
    else if(x>=1&&x<2)
        printf("调整好心态就可以了!\n");
    else
        printf("小金刚赶紧去刷题,不要再水群了!\n");
    return 0;
}

题目地址:【郑轻】[1749]Forceast!

posted @ 2015-12-21 20:12  BoilTask  阅读(10)  评论(0编辑  收藏  举报