#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("%f", &a);
  scanf("%f", &b);
  scanf("%f", &c);
  if (a > b) {
    if (a > c) {
      printf("%.1f", a);
    }
  }
  if (b > a) {
    if (b > c) {
      printf("%.1f", b);
    }
  }
  if (c > a) {
    if (c > b) {
      printf("%.1f", c);
    }
  }
  return 0;
}


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    1193 <main+0x73>
movss  -0x8(%rbp),%xmm0
ucomiss -0x10(%rbp),%xmm0
jbe    118e <main+0x6e>
movss  -0x8(%rbp),%xmm0
lea    0xe7a(%rip),%rdi
call   1030 <printf@plt>
jmp    1193 <main+0x73>
movss  -0xc(%rbp),%xmm0
ucomiss -0x8(%rbp),%xmm0
jbe    11c7 <main+0xa7>
movss  -0xc(%rbp),%xmm0
ucomiss -0x10(%rbp),%xmm0
jbe    11c2 <main+0xa2>
movss  -0xc(%rbp),%xmm0
lea    0xe46(%rip),%rdi
call   1030 <printf@plt>
jmp    11c7 <main+0xa7>
movss  -0x10(%rbp),%xmm0
ucomiss -0x8(%rbp),%xmm0
jbe    11fb <main+0xdb>
movss  -0x10(%rbp),%xmm0
ucomiss -0xc(%rbp),%xmm0
jbe    11f6 <main+0xd6>
movss  -0x10(%rbp),%xmm0
lea    0xe12(%rip),%rdi
call   1030 <printf@plt>
jmp    11fb <main+0xdb>
xor    %eax,%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),%xmm2
movss  0x8(%rsp),%xmm1
ucomiss %xmm1,%xmm2
movss  0x4(%rsp),%xmm0
jbe    1190 <main+0x70>
ucomiss %xmm0,%xmm2
jbe    1190 <main+0x70>
lea    0xe8d(%rip),%rdi
movaps %xmm2,%xmm0
call   1030 <printf@plt>
movss  0x8(%rsp),%xmm1
movss  0xc(%rsp),%xmm2
movss  0x4(%rsp),%xmm0
ucomiss %xmm2,%xmm1
jbe    11bb <main+0x9b>
ucomiss %xmm0,%xmm1
jbe    11bb <main+0x9b>
lea    0xe62(%rip),%rdi
movaps %xmm1,%xmm0
call   1030 <printf@plt>
movss  0x4(%rsp),%xmm0
movss  0xc(%rsp),%xmm2
movss  0x8(%rsp),%xmm1
ucomiss %xmm2,%xmm0
jbe    11d1 <main+0xb1>
ucomiss %xmm1,%xmm0
jbe    11d1 <main+0xb1>
lea    0xe37(%rip),%rdi
call   1030 <printf@plt>
xor    %eax,%eax
add    $0x10,%rsp
pop    %rbx
ret

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

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