#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 *);
int main() {
  float a, b, c;
  scanf("\n%f", &a);
  scanf("\n%f", &b);
  scanf("\n%f", &c);
  if (a > b && a > c)
    printf("\n%.1f", a);
  if (b > a && b < c)
    printf("\n%.1f", c);
  if (b > a && b > c)
    printf("\n%.1f", b);
}


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
call   1040 <scanf@plt>
lea    0xeba(%rip),%rdi
lea    -0xc(%rbp),%rsi
call   1040 <scanf@plt>
lea    0xeaa(%rip),%rdi
lea    -0x10(%rbp),%rsi
call   1040 <scanf@plt>
movss  -0x8(%rbp),%xmm0
ucomiss -0xc(%rbp),%xmm0
jbe    118e <main+0x6e>
movss  -0x8(%rbp),%xmm0
ucomiss -0x10(%rbp),%xmm0
jbe    118e <main+0x6e>
movss  -0x8(%rbp),%xmm0
lea    0xe7b(%rip),%rdi
call   1030 <printf@plt>
movss  -0xc(%rbp),%xmm0
ucomiss -0x8(%rbp),%xmm0
jbe    11c1 <main+0xa1>
movss  -0xc(%rbp),%xmm1
movss  -0x10(%rbp),%xmm0
ucomiss %xmm1,%xmm0
jbe    11c1 <main+0xa1>
movss  -0x10(%rbp),%xmm0
lea    0xe48(%rip),%rdi
call   1030 <printf@plt>
movss  -0xc(%rbp),%xmm0
ucomiss -0x8(%rbp),%xmm0
jbe    11f0 <main+0xd0>
movss  -0xc(%rbp),%xmm0
ucomiss -0x10(%rbp),%xmm0
jbe    11f0 <main+0xd0>
movss  -0xc(%rbp),%xmm0
lea    0xe19(%rip),%rdi
call   1030 <printf@plt>
mov    -0x4(%rbp),%eax
add    $0x10,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rbx
sub    $0x10,%rsp
lea    0xed4(%rip),%rbx
lea    0xc(%rsp),%rsi
mov    %rbx,%rdi
call   1040 <scanf@plt>
lea    0x8(%rsp),%rsi
mov    %rbx,%rdi
call   1040 <scanf@plt>
lea    0x4(%rsp),%rsi
mov    %rbx,%rdi
call   1040 <scanf@plt>
movss  0xc(%rsp),%xmm1
movss  0x8(%rsp),%xmm0
ucomiss %xmm0,%xmm1
jbe    1186 <main+0x66>
ucomiss 0x4(%rsp),%xmm1
jbe    1186 <main+0x66>
lea    0xe92(%rip),%rdi
movaps %xmm1,%xmm0
call   1030 <printf@plt>
movss  0x8(%rsp),%xmm0
movss  0xc(%rsp),%xmm1
ucomiss %xmm1,%xmm0
jbe    11b1 <main+0x91>
movss  0x4(%rsp),%xmm2
ucomiss %xmm0,%xmm2
jbe    11b1 <main+0x91>
lea    0xe67(%rip),%rdi
movaps %xmm2,%xmm0
call   1030 <printf@plt>
movss  0x8(%rsp),%xmm0
movss  0xc(%rsp),%xmm1
ucomiss %xmm1,%xmm0
jbe    11c9 <main+0xa9>
ucomiss 0x4(%rsp),%xmm0
jbe    11c9 <main+0xa9>
lea    0xe40(%rip),%rdi
call   1030 <printf@plt>
xor    %eax,%eax
add    $0x10,%rsp
pop    %rbx
ret

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

LLVM IR (-O2):
@.str = [4 x i8] c"\0A%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 ([4 x i8], [4 x i8]* @.str, i64 0, i64 0), float* %1)
%8 = call i32 @scanf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0), float* %2)
%9 = call i32 @scanf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0), float* %3)
%10 = load float, float* %1
%11 = load float, float* %2
%12 = fcmp ogt float %10, %11
%13 = load float, float* %3
%14 = fcmp ogt float %10, %13
%15 = select i1 %12, i1 %14, i1 false
br i1 %15, label %16, label %20
16: ; preds = %0
%17 = call i32 @printf(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0), float %10)
%18 = load float, float* %2
%19 = load float, float* %1
br label %20
20: ; preds = %16, %0
%21 = phi float [ %19, %16 ], [ %10, %0 ]
%22 = phi float [ %18, %16 ], [ %11, %0 ]
%23 = fcmp ogt float %22, %21
br i1 %23, label %24, label %31
24: ; preds = %20
%25 = load float, float* %3
%26 = fcmp olt float %22, %25
br i1 %26, label %27, label %31
27: ; preds = %24
%28 = call i32 @printf(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0), float %25)
%29 = load float, float* %2
%30 = load float, float* %1
br label %31
31: ; preds = %27, %24, %20
%32 = phi float [ %30, %27 ], [ %21, %24 ], [ %21, %20 ]
%33 = phi float [ %29, %27 ], [ %22, %24 ], [ %22, %20 ]
%34 = fcmp ogt float %33, %32
%35 = load float, float* %3
%36 = fcmp ogt float %33, %35
%37 = select i1 %34, i1 %36, i1 false
br i1 %37, label %38, label %40
38: ; preds = %31
%39 = call i32 @printf(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0), float %33)
br label %40
40: ; preds = %38, %31
ret i32 0
}