#include <iostream>
#include <cmath>
using namespace std;
int main()
{
int n;
cin>>n;
double a,b,c;
string t[100000];
int count=0;
for(int i=0;i<n;i++)
{
cin>>a>>b>>c;
double res = a+b;
if(res>c)
{
t[count] = "true"; count++;
}
else{
t[count] = "false"; count++;
}
}
for(int i=0;i<count;i++)
{
if(i==(count-1))
{
cout<<"Case #"<<i+1<<": "<<t[i];
break;
}
cout<<"Case #"<<i+1<<": "<<t[i]<<endl;
}
}
相关文章
- 11-24PAT: 1010 A+B和C
- 11-24【PAT】B1011 A+B 和 C
- 11-24PAT乙级 1011. A+B和C (15)
- 11-24PAT(Basic Level) 1011 A+B 和 C
- 11-24PAT-乙级-1011. A+B和C (15)
- 11-241011 A+B 和 C (15 分)—PAT (Basic Level) Practice (中文)
- 11-24PAT (Basic Level) Practice || 1011 A+B 和 C (15 分)
- 11-24PAT乙级1016 部分A+B(C语言)
- 11-24PAT A1065 A+B and C (64bit)
- 11-24PAT甲级-1065 A+B and C (64bit) (20分)