题目描述
代码示例:
#include<iostream>
using namespace std;
int main(){
int n;
long long int a[3];
cin >> n;
bool b[n];
for(int i = 0;i<n;i++){
for(int j=0;j<3;j++){
std::cin>>a[j];
}
if(a[0]+a[1]>a[2]) b[i]=1;
else b[i] = 0;
}
for(int i=0;i<n;i++){
cout << "Case #"<< i+1 <<": ";
if(b[i] == 1) cout << "true\n";
else cout << "false\n";
}
return 0;
}