#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 EXIT_FAILURE;
int EXIT_SUCCESS;
int /*<<< orphan*/ printf(char *, int, char *);
int scanf(char *, ...);
int main(int argc, char *argv[]) {
  int n;
  if (scanf("%d", &n) != 1)
    return EXIT_FAILURE;
  long nums[n][3];
  for (int i = 0; i < n; i++) {
    if (scanf("%ld%ld%ld", &nums[i][0], &nums[i][1], &nums[i][2]) != 3)
      return EXIT_FAILURE;
  }
  for (int i = 0; i < n; i++) {
    if (nums[i][0] + nums[i][1] > nums[i][2]) {
      printf("Case #%d: true%s", i + 1, i == (n - 1) ? "" : "\n");
    } else {
      printf("Case #%d: false%s", i + 1, i == (n - 1) ? "" : "\n");
    }
  }
  return EXIT_SUCCESS;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x40,%rsp
movl   $0x0,-0x4(%rbp)
mov    %edi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
lea    0xec3(%rip),%rdi
lea    -0x14(%rbp),%rsi
mov    $0x0,%al
call   1040 <scanf@plt>
cmp    $0x1,%eax
je     1162 <main+0x42>
mov    0x2e88(%rip),%rax
mov    (%rax),%eax
mov    %eax,-0x4(%rbp)
jmp    12fd <main+0x1dd>
mov    -0x14(%rbp),%eax
mov    %rsp,%rcx
mov    %rcx,-0x20(%rbp)
lea    (%rax,%rax,2),%rcx
lea    0xf(,%rcx,8),%rdx
movabs $0x3ffffffff0,%rcx
and    %rcx,%rdx
mov    %rsp,%rcx
sub    %rdx,%rcx
mov    %rcx,-0x40(%rbp)
mov    %rcx,%rsp
mov    %rax,-0x28(%rbp)
movl   $0x0,-0x2c(%rbp)
mov    -0x2c(%rbp),%eax
cmp    -0x14(%rbp),%eax
jge    121e <main+0xfe>
mov    -0x40(%rbp),%rcx
movslq -0x2c(%rbp),%rax
imul   $0x18,%rax,%rax
mov    %rcx,%rsi
add    %rax,%rsi
movslq -0x2c(%rbp),%rax
imul   $0x18,%rax,%rax
mov    %rcx,%rdx
add    %rax,%rdx
add    $0x8,%rdx
movslq -0x2c(%rbp),%rax
imul   $0x18,%rax,%rax
add    %rax,%rcx
add    $0x10,%rcx
lea    0xe20(%rip),%rdi
mov    $0x0,%al
call   1040 <scanf@plt>
cmp    $0x3,%eax
je     120b <main+0xeb>
mov    0x2de6(%rip),%rax
mov    (%rax),%eax
mov    %eax,-0x4(%rbp)
movl   $0x1,-0x30(%rbp)
jmp    12f6 <main+0x1d6>
jmp    1210 <main+0xf0>
mov    -0x2c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x2c(%rbp)
jmp    119d <main+0x7d>
movl   $0x0,-0x34(%rbp)
mov    -0x34(%rbp),%eax
cmp    -0x14(%rbp),%eax
jge    12e3 <main+0x1c3>
mov    -0x40(%rbp),%rcx
movslq -0x34(%rbp),%rax
imul   $0x18,%rax,%rdx
mov    %rcx,%rax
add    %rdx,%rax
mov    (%rax),%rax
movslq -0x34(%rbp),%rdx
imul   $0x18,%rdx,%rsi
mov    %rcx,%rdx
add    %rsi,%rdx
add    0x8(%rdx),%rax
movslq -0x34(%rbp),%rdx
imul   $0x18,%rdx,%rdx
add    %rdx,%rcx
cmp    0x10(%rcx),%rax
jle    12a1 <main+0x181>
mov    -0x34(%rbp),%esi
add    $0x1,%esi
mov    -0x34(%rbp),%ecx
mov    -0x14(%rbp),%edi
sub    $0x1,%edi
lea    0xd9b(%rip),%rdx
lea    0xd95(%rip),%rax
cmp    %edi,%ecx
cmove  %rax,%rdx
lea    0xd76(%rip),%rdi
call   1030 <printf@plt>
jmp    12d0 <main+0x1b0>
mov    -0x34(%rbp),%esi
add    $0x1,%esi
mov    -0x34(%rbp),%ecx
mov    -0x14(%rbp),%edi
sub    $0x1,%edi
lea    0xd67(%rip),%rdx
lea    0xd61(%rip),%rax
cmp    %edi,%ecx
cmove  %rax,%rdx
lea    0xd55(%rip),%rdi
call   1030 <printf@plt>
jmp    12d5 <main+0x1b5>
mov    -0x34(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x34(%rbp)
jmp    1225 <main+0x105>
mov    0x2cee(%rip),%rax
mov    (%rax),%eax
mov    %eax,-0x4(%rbp)
movl   $0x1,-0x30(%rbp)
mov    -0x20(%rbp),%rax
mov    %rax,%rsp
mov    -0x4(%rbp),%eax
mov    %rbp,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rbp
mov    %rsp,%rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x18,%rsp
lea    0xec8(%rip),%rdi
lea    -0x2c(%rbp),%rsi
xor    %eax,%eax
call   1040 <scanf@plt>
cmp    $0x1,%eax
jne    1230 <main+0x110>
mov    %rsp,%rdx
mov    -0x2c(%rbp),%eax
lea    (%rax,%rax,2),%rax
lea    0xf(,%rax,8),%rax
movabs $0x3ffffffff0,%rcx
and    %rax,%rcx
mov    %rsp,%r13
sub    %rcx,%r13
mov    %r13,%rsp
mov    0x2e5d(%rip),%r15
cmpl   $0x0,-0x2c(%rbp)
jle    124c <main+0x12c>
mov    %rdx,-0x38(%rbp)
lea    0xe73(%rip),%r14
mov    0x2e49(%rip),%r15
mov    %r13,%rbx
xor    %r12d,%r12d
nopl   (%rax)
lea    0x8(%rbx),%rdx
lea    0x10(%rbx),%rcx
mov    %r14,%rdi
mov    %rbx,%rsi
xor    %eax,%eax
call   1040 <scanf@plt>
cmp    $0x3,%eax
jne    123b <main+0x11b>
add    $0x1,%r12
movslq -0x2c(%rbp),%rax
add    $0x18,%rbx
cmp    %rax,%r12
jl     11a0 <main+0x80>
test   %eax,%eax
jle    1241 <main+0x121>
add    $0x10,%r13
xor    %ebx,%ebx
lea    0xe3f(%rip),%r14
lea    0xe26(%rip),%r12
lea    0xe32(%rip),%r15
jmp    1204 <main+0xe4>
mov    %ebx,%esi
call   1030 <printf@plt>
movslq -0x2c(%rbp),%rax
add    $0x18,%r13
cmp    %rax,%rbx
jge    1241 <main+0x121>
mov    -0x8(%r13),%rcx
add    -0x10(%r13),%rcx
add    $0xffffffff,%eax
mov    %r14,%rdx
cmp    %rax,%rbx
je     121e <main+0xfe>
lea    0xe00(%rip),%rdx
add    $0x1,%rbx
mov    %r12,%rdi
cmp    0x0(%r13),%rcx
jg     11f0 <main+0xd0>
mov    %r15,%rdi
jmp    11f0 <main+0xd0>
mov    0x2da9(%rip),%rax
mov    (%rax),%eax
jmp    1252 <main+0x132>
mov    -0x38(%rbp),%rdx
jmp    124c <main+0x12c>
mov    -0x38(%rbp),%rdx
mov    0x2d8c(%rip),%r15
mov    (%r15),%eax
mov    %rdx,%rsp
lea    -0x28(%rbp),%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

LLVM IR (-O0):
@.str = [3 x i8] c"%d\00"
@EXIT_FAILURE = global i32 0
@.str.1 = [10 x i8] c"%ld%ld%ld\00"
@.str.2 = [17 x i8] c"Case #%d: true%s\00"
@.str.3 = [1 x i8] zeroinitializer
@.str.4 = [2 x i8] c"\0A\00"
@.str.5 = [18 x i8] c"Case #%d: false%s\00"
@EXIT_SUCCESS = global i32 0
define i32 @main(i32 %0, i8** %1) {
%3 = alloca i32
%4 = alloca i32
%5 = alloca i8**
%6 = alloca i32
%7 = alloca i8*
%8 = alloca i64
%9 = alloca i32
%10 = alloca i32
%11 = alloca i32
store i32 0, i32* %3
store i32 %0, i32* %4
store i8** %1, i8*** %5
%12 = call i32 (i8*, ...) @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0), i32* %6)
%13 = icmp ne i32 %12, 1
br i1 %13, label %14, label %16
14: ; preds = %2
%15 = load i32, i32* @EXIT_FAILURE
store i32 %15, i32* %3
br label %97
16: ; preds = %2
%17 = load i32, i32* %6
%18 = zext i32 %17 to i64
%19 = call i8* @llvm.stacksave()
store i8* %19, i8** %7
%20 = alloca [3 x i64], i64 %18
store i64 %18, i64* %8
store i32 0, i32* %9
br label %21
21: ; preds = %43, %16
%22 = load i32, i32* %9
%23 = load i32, i32* %6
%24 = icmp slt i32 %22, %23
br i1 %24, label %25, label %46
25: ; preds = %21
%26 = load i32, i32* %9
%27 = sext i32 %26 to i64
%28 = getelementptr inbounds [3 x i64], [3 x i64]* %20, i64 %27
%29 = getelementptr inbounds [3 x i64], [3 x i64]* %28, i64 0, i64 0
%30 = load i32, i32* %9
%31 = sext i32 %30 to i64
%32 = getelementptr inbounds [3 x i64], [3 x i64]* %20, i64 %31
%33 = getelementptr inbounds [3 x i64], [3 x i64]* %32, i64 0, i64 1
%34 = load i32, i32* %9
%35 = sext i32 %34 to i64
%36 = getelementptr inbounds [3 x i64], [3 x i64]* %20, i64 %35
%37 = getelementptr inbounds [3 x i64], [3 x i64]* %36, i64 0, i64 2
%38 = call i32 (i8*, ...) @scanf(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.1, i64 0, i64 0), i64* %29, i64* %33, i64* %37)
%39 = icmp ne i32 %38, 3
br i1 %39, label %40, label %42
40: ; preds = %25
%41 = load i32, i32* @EXIT_FAILURE
store i32 %41, i32* %3
store i32 1, i32* %10
br label %95
42: ; preds = %25
br label %43
43: ; preds = %42
%44 = load i32, i32* %9
%45 = add nsw i32 %44, 1
store i32 %45, i32* %9
br label %21
46: ; preds = %21
store i32 0, i32* %11
br label %47
47: ; preds = %90, %46
%48 = load i32, i32* %11
%49 = load i32, i32* %6
%50 = icmp slt i32 %48, %49
br i1 %50, label %51, label %93
51: ; preds = %47
%52 = load i32, i32* %11
%53 = sext i32 %52 to i64
%54 = getelementptr inbounds [3 x i64], [3 x i64]* %20, i64 %53
%55 = getelementptr inbounds [3 x i64], [3 x i64]* %54, i64 0, i64 0
%56 = load i64, i64* %55
%57 = load i32, i32* %11
%58 = sext i32 %57 to i64
%59 = getelementptr inbounds [3 x i64], [3 x i64]* %20, i64 %58
%60 = getelementptr inbounds [3 x i64], [3 x i64]* %59, i64 0, i64 1
%61 = load i64, i64* %60
%62 = add nsw i64 %56, %61
%63 = load i32, i32* %11
%64 = sext i32 %63 to i64
%65 = getelementptr inbounds [3 x i64], [3 x i64]* %20, i64 %64
%66 = getelementptr inbounds [3 x i64], [3 x i64]* %65, i64 0, i64 2
%67 = load i64, i64* %66
%68 = icmp sgt i64 %62, %67
br i1 %68, label %69, label %79
69: ; preds = %51
%70 = load i32, i32* %11
%71 = add nsw i32 %70, 1
%72 = load i32, i32* %11
%73 = load i32, i32* %6
%74 = sub nsw i32 %73, 1
%75 = icmp eq i32 %72, %74
%76 = zext i1 %75 to i64
%77 = select i1 %75, i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.3, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.4, i64 0, i64 0)
%78 = call i32 @printf(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.2, i64 0, i64 0), i32 %71, i8* %77)
br label %89
79: ; preds = %51
%80 = load i32, i32* %11
%81 = add nsw i32 %80, 1
%82 = load i32, i32* %11
%83 = load i32, i32* %6
%84 = sub nsw i32 %83, 1
%85 = icmp eq i32 %82, %84
%86 = zext i1 %85 to i64
%87 = select i1 %85, i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.3, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.4, i64 0, i64 0)
%88 = call i32 @printf(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.5, i64 0, i64 0), i32 %81, i8* %87)
br label %89
89: ; preds = %79, %69
br label %90
90: ; preds = %89
%91 = load i32, i32* %11
%92 = add nsw i32 %91, 1
store i32 %92, i32* %11
br label %47
93: ; preds = %47
%94 = load i32, i32* @EXIT_SUCCESS
store i32 %94, i32* %3
store i32 1, i32* %10
br label %95
95: ; preds = %93, %40
%96 = load i8*, i8** %7
br label %97
97: ; preds = %95, %14
%98 = load i32, i32* %3
ret i32 %98
}

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