2016 provincial warming programming ability Test

Source: Internet
Author: User

Programming Ability TestTime limit:2000MS Memory Limit:65536KB 64bit IO Format:%lld &%llu< /c8>

Description

Programming Ability Test (PAT) aims to evaluate objectively, through unified examinations with automatic online judging sy Stem, the abilities of testees in programming and algorithm design, hence to evaluate scientifically the programming Talen TS, and to provide the enterprises a reference standard for personnel selection.

The Alliance enterprises may be their specific green channel preferential conditions listed at the PAT registration webs Ite. Some Enterprises also provide "letter of Introduction" for the Testees-download and submit to the human resource depart ment together with the PAT certificate when seeking employments.

Recently, Edward co.,ltd joins PAT Alliance and sets their green channel preferential conditions to points of PAT Advanced Level. That's means you can enter the green channel if you get a points or above on PAT advanced level. Now Edward Co.,ltd Gets the result of all examinees, please tell them whether the examinee can get the chance of Entering green channel.

Input

There is multiple test cases. The first line of input contains an integer indicating the number of the T test cases. For each test case:

The only line contains four integers,,, ScoreA ScoreB ScoreC and ScoreD -the four problems ' score of the examinee. ( 0 <= ScoreA <=, 0 <= ScoreB , ScoreC <=, 0 <= ScoreD <= 30)

Output

For each test case, if the examinee gets a points or above in total, output "Yes", Else Output "No".

Sample Input

40 0 5 3020 25 20 020 25 20 1520 25 25 30

Sample Output

Nonoyesyes

Water problem: Write here son want to explain,, again difficult game also has water problem ...
#include <iostream>#include<stdio.h>using namespacestd;intMain () {intT; scanf ("%d", &t);  while(t--)    {        intA, B, C, D; scanf ("%d%d%d%d", &a, &b, &c, &d); if(A + B + C + D >= the)
printf"yes\n"); Else
printf"no\n"); } return 0;}

2016 provincial warming programming ability Test

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.