#define NULL ((void *)0)
typedef unsigned long size_t; // Customize by platform.
typedef long intptr_t;
typedef unsigned long uintptr_t;
typedef long scalar_t__; // Either arithmetic or pointer type.
/* By default, we understand bool (as a convenience). */
typedef int bool;
#define false 0
#define true 1

/* Forward declarations */

/* Type definitions */

/* Variables and functions */
int /*<<< orphan*/ printf(char *, ...);
int /*<<< orphan*/ scanf(char *, ...);
int main() {
  int n;
  long long int a[20][3];
  scanf("%d", &n);
  for (int i = 0; i < n; i++) {
    scanf("%lld%lld%lld", a[i], a[i] + 1, a[i] + 2);
  }
  for (int i = 0; i < n; i++) {
    printf("Case #%d:", i + 1);
    printf(" %s\n", a[i][0] + a[i][1] > a[i][2] ? "true" : "false");
  }
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x200,%rsp
movl   $0x0,-0x4(%rbp)
lea    0xec7(%rip),%rdi
lea    -0x8(%rbp),%rsi
mov    $0x0,%al
call   1040 <scanf@plt>
movl   $0x0,-0x1f4(%rbp)
mov    -0x1f4(%rbp),%eax
cmp    -0x8(%rbp),%eax
jge    11c6 <main+0xa6>
movslq -0x1f4(%rbp),%rax
lea    -0x1f0(%rbp),%rsi
imul   $0x18,%rax,%rax
add    %rax,%rsi
movslq -0x1f4(%rbp),%rax
lea    -0x1f0(%rbp),%rdx
imul   $0x18,%rax,%rax
add    %rax,%rdx
add    $0x8,%rdx
movslq -0x1f4(%rbp),%rax
lea    -0x1f0(%rbp),%rcx
imul   $0x18,%rax,%rax
add    %rax,%rcx
add    $0x10,%rcx
lea    0xe58(%rip),%rdi
mov    $0x0,%al
call   1040 <scanf@plt>
mov    -0x1f4(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x1f4(%rbp)
jmp    114e <main+0x2e>
movl   $0x0,-0x1f8(%rbp)
mov    -0x1f8(%rbp),%eax
cmp    -0x8(%rbp),%eax
jge    1277 <main+0x157>
mov    -0x1f8(%rbp),%esi
add    $0x1,%esi
lea    0xe21(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
movslq -0x1f8(%rbp),%rcx
lea    -0x1f0(%rbp),%rax
imul   $0x18,%rcx,%rcx
add    %rcx,%rax
mov    (%rax),%rcx
movslq -0x1f8(%rbp),%rdx
lea    -0x1f0(%rbp),%rax
imul   $0x18,%rdx,%rdx
add    %rdx,%rax
add    0x8(%rax),%rcx
movslq -0x1f8(%rbp),%rdx
lea    -0x1f0(%rbp),%rax
imul   $0x18,%rdx,%rdx
add    %rdx,%rax
mov    0x10(%rax),%rdx
lea    0xddd(%rip),%rsi
lea    0xdd1(%rip),%rax
cmp    %rdx,%rcx
cmovg  %rax,%rsi
lea    0xdbe(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x1f8(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x1f8(%rbp)
jmp    11d0 <main+0xb0>
xor    %eax,%eax
add    $0x200,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x1f8,%rsp
lea    0xec8(%rip),%rdi
lea    0xc(%rsp),%rsi
xor    %eax,%eax
call   1040 <scanf@plt>
cmpl   $0x0,0xc(%rsp)
jle    11fe <main+0xde>
lea    0x10(%rsp),%rbx
lea    0xea8(%rip),%r14
xor    %ebp,%ebp
nopl   (%rax)
lea    0x8(%rbx),%rdx
lea    0x10(%rbx),%rcx
mov    %r14,%rdi
mov    %rbx,%rsi
xor    %eax,%eax
call   1040 <scanf@plt>
add    $0x1,%rbp
movslq 0xc(%rsp),%rax
add    $0x18,%rbx
cmp    %rax,%rbp
jl     1160 <main+0x40>
test   %eax,%eax
jle    11fe <main+0xde>
lea    0x20(%rsp),%rbx
xor    %r12d,%r12d
lea    0xe76(%rip),%r14
lea    0xe7e(%rip),%r13
lea    0xe7c(%rip),%rbp
lea    0xe6b(%rip),%r15
jmp    11d8 <main+0xb8>
cs nopw 0x0(%rax,%rax,1)
nopl   0x0(%rax,%rax,1)
mov    %r15,%rdi
xor    %eax,%eax
call   1030 <printf@plt>
movslq 0xc(%rsp),%rax
add    $0x18,%rbx
cmp    %rax,%r12
jge    11fe <main+0xde>
add    $0x1,%r12
mov    %r14,%rdi
mov    %r12d,%esi
xor    %eax,%eax
call   1030 <printf@plt>
mov    -0x8(%rbx),%rax
add    -0x10(%rbx),%rax
mov    %r13,%rsi
cmp    (%rbx),%rax
jg     11c0 <main+0xa0>
mov    %rbp,%rsi
jmp    11c0 <main+0xa0>
xor    %eax,%eax
add    $0x1f8,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

LLVM IR (-O0):
@.str = [3 x i8] c"%d\00"
@.str.1 = [13 x i8] c"%lld%lld%lld\00"
@.str.2 = [10 x i8] c"Case #%d:\00"
@.str.3 = [5 x i8] c" %s\0A\00"
@.str.4 = [5 x i8] c"true\00"
@.str.5 = [6 x i8] c"false\00"
define i32 @main() {
%1 = alloca i32
%2 = alloca i32
%3 = alloca [20 x [3 x i64]]
%4 = alloca i32
%5 = alloca i32
store i32 0, i32* %1
%6 = call i32 (i8*, ...) @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0), i32* %2)
store i32 0, i32* %4
br label %7
7: ; preds = %27, %0
%8 = load i32, i32* %4
%9 = load i32, i32* %2
%10 = icmp slt i32 %8, %9
br i1 %10, label %11, label %30
11: ; preds = %7
%12 = load i32, i32* %4
%13 = sext i32 %12 to i64
%14 = getelementptr inbounds [20 x [3 x i64]], [20 x [3 x i64]]* %3, i64 0, i64 %13
%15 = getelementptr inbounds [3 x i64], [3 x i64]* %14, i64 0, i64 0
%16 = load i32, i32* %4
%17 = sext i32 %16 to i64
%18 = getelementptr inbounds [20 x [3 x i64]], [20 x [3 x i64]]* %3, i64 0, i64 %17
%19 = getelementptr inbounds [3 x i64], [3 x i64]* %18, i64 0, i64 0
%20 = getelementptr inbounds i64, i64* %19, i64 1
%21 = load i32, i32* %4
%22 = sext i32 %21 to i64
%23 = getelementptr inbounds [20 x [3 x i64]], [20 x [3 x i64]]* %3, i64 0, i64 %22
%24 = getelementptr inbounds [3 x i64], [3 x i64]* %23, i64 0, i64 0
%25 = getelementptr inbounds i64, i64* %24, i64 2
%26 = call i32 (i8*, ...) @scanf(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.1, i64 0, i64 0), i64* %15, i64* %20, i64* %25)
br label %27
27: ; preds = %11
%28 = load i32, i32* %4
%29 = add nsw i32 %28, 1
store i32 %29, i32* %4
br label %7
30: ; preds = %7
store i32 0, i32* %5
br label %31
31: ; preds = %59, %30
%32 = load i32, i32* %5
%33 = load i32, i32* %2
%34 = icmp slt i32 %32, %33
br i1 %34, label %35, label %62
35: ; preds = %31
%36 = load i32, i32* %5
%37 = add nsw i32 %36, 1
%38 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.2, i64 0, i64 0), i32 %37)
%39 = load i32, i32* %5
%40 = sext i32 %39 to i64
%41 = getelementptr inbounds [20 x [3 x i64]], [20 x [3 x i64]]* %3, i64 0, i64 %40
%42 = getelementptr inbounds [3 x i64], [3 x i64]* %41, i64 0, i64 0
%43 = load i64, i64* %42
%44 = load i32, i32* %5
%45 = sext i32 %44 to i64
%46 = getelementptr inbounds [20 x [3 x i64]], [20 x [3 x i64]]* %3, i64 0, i64 %45
%47 = getelementptr inbounds [3 x i64], [3 x i64]* %46, i64 0, i64 1
%48 = load i64, i64* %47
%49 = add nsw i64 %43, %48
%50 = load i32, i32* %5
%51 = sext i32 %50 to i64
%52 = getelementptr inbounds [20 x [3 x i64]], [20 x [3 x i64]]* %3, i64 0, i64 %51
%53 = getelementptr inbounds [3 x i64], [3 x i64]* %52, i64 0, i64 2
%54 = load i64, i64* %53
%55 = icmp sgt i64 %49, %54
%56 = zext i1 %55 to i64
%57 = select i1 %55, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.4, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.5, i64 0, i64 0)
%58 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.3, i64 0, i64 0), i8* %57)
br label %59
59: ; preds = %35
%60 = load i32, i32* %5
%61 = add nsw i32 %60, 1
store i32 %61, i32* %5
br label %31
62: ; preds = %31
ret i32 0
}

LLVM IR (-O2):
@.str = [3 x i8] c"%d\00"
@.str.1 = [13 x i8] c"%lld%lld%lld\00"
@.str.2 = [10 x i8] c"Case #%d:\00"
@.str.3 = [5 x i8] c" %s\0A\00"
@.str.4 = [5 x i8] c"true\00"
@.str.5 = [6 x i8] c"false\00"
define i32 @main() {
%1 = alloca i32
%2 = alloca [20 x [3 x i64]]
%3 = bitcast i32* %1 to i8*
%4 = bitcast [20 x [3 x i64]]* %2 to i8*
%5 = call i32 (i8*, ...) @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0), i32* %1)
%6 = load i32, i32* %1
%7 = icmp sgt i32 %6, 0
br i1 %7, label %10, label %20
8: ; preds = %10
%9 = icmp sgt i32 %17, 0
br i1 %9, label %21, label %20
10: ; preds = %0, %10
%11 = phi i64 [ %16, %10 ], [ 0, %0 ]
%12 = getelementptr inbounds [20 x [3 x i64]], [20 x [3 x i64]]* %2, i64 0, i64 %11, i64 0
%13 = getelementptr inbounds [20 x [3 x i64]], [20 x [3 x i64]]* %2, i64 0, i64 %11, i64 1
%14 = getelementptr inbounds [20 x [3 x i64]], [20 x [3 x i64]]* %2, i64 0, i64 %11, i64 2
%15 = call i32 (i8*, ...) @scanf(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.1, i64 0, i64 0), i64* %12, i64* %13, i64* %14)
%16 = add nuw nsw i64 %11, 1
%17 = load i32, i32* %1
%18 = sext i32 %17 to i64
%19 = icmp slt i64 %16, %18
br i1 %19, label %10, label %8
20: ; preds = %21, %0, %8
ret i32 0
21: ; preds = %8, %21
%22 = phi i64 [ %23, %21 ], [ 0, %8 ]
%23 = add nuw nsw i64 %22, 1
%24 = trunc i64 %23 to i32
%25 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([10 x i8], [10 x i8]* @.str.2, i64 0, i64 0), i32 %24)
%26 = getelementptr inbounds [20 x [3 x i64]], [20 x [3 x i64]]* %2, i64 0, i64 %22, i64 0
%27 = load i64, i64* %26
%28 = getelementptr inbounds [20 x [3 x i64]], [20 x [3 x i64]]* %2, i64 0, i64 %22, i64 1
%29 = load i64, i64* %28
%30 = add nsw i64 %29, %27
%31 = getelementptr inbounds [20 x [3 x i64]], [20 x [3 x i64]]* %2, i64 0, i64 %22, i64 2
%32 = load i64, i64* %31
%33 = icmp sgt i64 %30, %32
%34 = select i1 %33, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.4, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.5, i64 0, i64 0)
%35 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([5 x i8], [5 x i8]* @.str.3, i64 0, i64 0), i8* %34)
%36 = load i32, i32* %1
%37 = sext i32 %36 to i64
%38 = icmp slt i64 %23, %37
br i1 %38, label %21, label %20
}