pat(B)1011. A+B和C (15)

时间:2022-11-06 19:01:30
#include <iostream>
#include <cstdio>
using namespace std;

int main()
{
  int t;
  long a, b, c;
  int ct = 0;

  cin >> t;
  while (t--){
    cin >> a >> b >> c;
    if (a + b > c) printf("Case #%d: true\n", ++ct);
    else printf("Case #%d: false\n", ++ct);  }
}