1011 A+B 和 C

 

 

#include"iostream"
using namespace std;

typedef long long LL;
int main() {
    LL a,b,c;
    int n;
    cin>>n;
    for(int i =1; i <=n; ++i) {
        printf("Case #%d: ",i);
        cin>>a>>b>>c;
        if(a+b > c)
            cout<<"true\n";
        else
            cout<<"false\n";
    }
    return 0;
}

 

posted @ 2020-02-15 19:00  tangq123  阅读(130)  评论(0编辑  收藏  举报