#include<stdio.h>
int main()
{
int n;
scanf("%d",&n);
for(int i=1;i<=n;i++){
long long A,B,C;
scanf(" %ld%ld%ld",&A,&B,&C);
A+=B;
if(A>C)
printf("Case #%ld: true\n",i);
else
printf("Case #%ld: false\n",i);
}
return 0;
}
【PAT】B1011 A+B和C(15 分)
猜你喜欢
转载自www.cnblogs.com/hebust/p/9498121.html
今日推荐
周排行