#include<stdio.h>
int main(){
long n,a,b,c;//int范围是(-2^31,2^31-1),long范围是(-2^64,2^64-1)
scanf("%ld",&n);//long对应词是%ld
for(long i=1;i<=n;i++){
scanf("%ld %ld %ld",&a,&b,&c);
if(a+b>c){
printf("Case #%ld: true\n",i);
}else{
printf("Case #%ld: false\n",i);
}
}
return 0;
}
PAT乙级C语言1011 A+B和C
最新推荐文章于 2024-08-14 20:16:41 发布