#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 *, float);
int /*<<< orphan*/ scanf(char *, float *, float *, float *);
int main() {
  float x, y, z;
  scanf("%f %f %f", &x, &y, &z);
  if (x > y && x > z) {
    printf("\n%.1f", x);
  } else if (y > x && y > z) {
    printf("\n%.1f", y);
  } else if (z > x && z > y) {
    printf("\n%.1f", z);
  }
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x10,%rsp
movl   $0x0,-0x4(%rbp)
lea    0xeca(%rip),%rdi
lea    -0x8(%rbp),%rsi
lea    -0xc(%rbp),%rdx
lea    -0x10(%rbp),%rcx
call   1040 <scanf@plt>
movss  -0x8(%rbp),%xmm0
ucomiss -0xc(%rbp),%xmm0
jbe    117b <main+0x5b>
movss  -0x8(%rbp),%xmm0
ucomiss -0x10(%rbp),%xmm0
jbe    117b <main+0x5b>
movss  -0x8(%rbp),%xmm0
lea    0xe98(%rip),%rdi
call   1030 <printf@plt>
jmp    11e8 <main+0xc8>
movss  -0xc(%rbp),%xmm0
ucomiss -0x8(%rbp),%xmm0
jbe    11af <main+0x8f>
movss  -0xc(%rbp),%xmm0
ucomiss -0x10(%rbp),%xmm0
jbe    11af <main+0x8f>
movss  -0xc(%rbp),%xmm0
lea    0xe64(%rip),%rdi
call   1030 <printf@plt>
jmp    11e3 <main+0xc3>
movss  -0x10(%rbp),%xmm0
ucomiss -0x8(%rbp),%xmm0
jbe    11de <main+0xbe>
movss  -0x10(%rbp),%xmm0
ucomiss -0xc(%rbp),%xmm0
jbe    11de <main+0xbe>
movss  -0x10(%rbp),%xmm0
lea    0xe30(%rip),%rdi
call   1030 <printf@plt>
jmp    11e3 <main+0xc3>
jmp    11e8 <main+0xc8>
mov    -0x4(%rbp),%eax
add    $0x10,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
sub    $0x18,%rsp
lea    0xed5(%rip),%rdi
lea    0x14(%rsp),%rsi
lea    0x10(%rsp),%rdx
lea    0xc(%rsp),%rcx
call   1040 <scanf@plt>
movss  0x14(%rsp),%xmm2
movss  0x10(%rsp),%xmm1
ucomiss %xmm1,%xmm2
movss  0xc(%rsp),%xmm0
jbe    1160 <main+0x40>
ucomiss %xmm0,%xmm2
jbe    1160 <main+0x40>
movaps %xmm2,%xmm0
jmp    1179 <main+0x59>
ucomiss %xmm2,%xmm1
jbe    116f <main+0x4f>
ucomiss %xmm0,%xmm1
jbe    116f <main+0x4f>
movaps %xmm1,%xmm0
jmp    1179 <main+0x59>
ucomiss %xmm2,%xmm0
jbe    1185 <main+0x65>
ucomiss %xmm1,%xmm0
jbe    1185 <main+0x65>
lea    0xe89(%rip),%rdi
call   1030 <printf@plt>
xor    %eax,%eax
add    $0x18,%rsp
ret

LLVM IR (-O0):
@.str = [9 x i8] c"%f %f %f\00"
@.str.1 = [6 x i8] c"\0A%.1f\00"
define i32 @main() {
%1 = alloca i32
%2 = alloca float
%3 = alloca float
%4 = alloca float
store i32 0, i32* %1
%5 = call i32 @scanf(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str, i64 0, i64 0), float* %2, float* %3, float* %4)
%6 = load float, float* %2
%7 = load float, float* %3
%8 = fcmp ogt float %6, %7
br i1 %8, label %9, label %16
9: ; preds = %0
%10 = load float, float* %2
%11 = load float, float* %4
%12 = fcmp ogt float %10, %11
br i1 %12, label %13, label %16
13: ; preds = %9
%14 = load float, float* %2
%15 = call i32 @printf(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0), float %14)
br label %40
16: ; preds = %9, %0
%17 = load float, float* %3
%18 = load float, float* %2
%19 = fcmp ogt float %17, %18
br i1 %19, label %20, label %27
20: ; preds = %16
%21 = load float, float* %3
%22 = load float, float* %4
%23 = fcmp ogt float %21, %22
br i1 %23, label %24, label %27
24: ; preds = %20
%25 = load float, float* %3
%26 = call i32 @printf(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0), float %25)
br label %39
27: ; preds = %20, %16
%28 = load float, float* %4
%29 = load float, float* %2
%30 = fcmp ogt float %28, %29
br i1 %30, label %31, label %38
31: ; preds = %27
%32 = load float, float* %4
%33 = load float, float* %3
%34 = fcmp ogt float %32, %33
br i1 %34, label %35, label %38
35: ; preds = %31
%36 = load float, float* %4
%37 = call i32 @printf(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0), float %36)
br label %38
38: ; preds = %35, %31, %27
br label %39
39: ; preds = %38, %24
br label %40
40: ; preds = %39, %13
%41 = load i32, i32* %1
ret i32 %41
}

LLVM IR (-O2):
@.str = [9 x i8] c"%f %f %f\00"
@.str.1 = [6 x i8] c"\0A%.1f\00"
define i32 @main() {
%1 = alloca float
%2 = alloca float
%3 = alloca float
%4 = bitcast float* %1 to i8*
%5 = bitcast float* %2 to i8*
%6 = bitcast float* %3 to i8*
%7 = call i32 @scanf(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str, i64 0, i64 0), float* %1, float* %2, float* %3)
%8 = load float, float* %1
%9 = load float, float* %2
%10 = fcmp ogt float %8, %9
%11 = load float, float* %3
%12 = fcmp ogt float %8, %11
%13 = select i1 %10, i1 %12, i1 false
br i1 %13, label %22, label %14
14: ; preds = %0
%15 = fcmp ogt float %9, %8
%16 = fcmp ogt float %9, %11
%17 = select i1 %15, i1 %16, i1 false
br i1 %17, label %22, label %18
18: ; preds = %14
%19 = fcmp ogt float %11, %8
%20 = fcmp ogt float %11, %9
%21 = select i1 %19, i1 %20, i1 false
br i1 %21, label %22, label %25
22: ; preds = %18, %14, %0
%23 = phi float [ %8, %0 ], [ %9, %14 ], [ %11, %18 ]
%24 = call i32 @printf(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0), float %23)
br label %25
25: ; preds = %22, %18
ret i32 0
}