#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); } }
#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); } }