ZOJ 3927 Programming Ability Test(水题)

题目:http://acm.hust.edu.cn/vjudge/problem/visitOriginUrl.action?id=359787

代码:

#include<stdio.h>
#include<string.h>

using namespace std;

int main()
{
    int t;
    scanf("%d",&t);

    while(t--)
    {
        int a,b,c,d;
        scanf("%d%d%d%d",&a,&b,&c,&d);
        if(a+b+c+d<80)
            printf("No\n");
        else
            printf("Yes\n");
    }
}


你可能感兴趣的:(ZOJ 3927 Programming Ability Test(水题))