import java.util.Scanner;
public class Main {
public static void main(String[] args) {
int scores[]=newint[7];
for(inti=1;i<7;i++){
scores[i]=8-i;
}
Scanner scanner = newScanner(System.in);
int n =scanner.nextInt();
while(n-->0){
int ballLeft, pScore ,oScore ;
ballLeft=scanner.nextInt();
pScore=scanner.nextInt();
oScore=scanner.nextInt();
if(ballLeft>=6){
pScore = pScore+((ballLeft-6)*8+27);
}else{
for(int i=1;i<=ballLeft;i++){
pScore=pScore+scores[i];
}
}
if(pScore>=oScore){
System.out.println("Yes");
}else{
System.out.println("No");
}
}
}
}
2060Snooker斯诺克
最新推荐文章于 2020-01-07 18:35:02 发布