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