#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 a, b, c;
  scanf("%f %f %f", &a, &b, &c);
  if (a >= b && a >= c)
    printf("%.1f", a);
  if (b >= a && b >= c)
    printf("%.1f", b);
  if (c >= a && 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
lea    -0xc(%rbp),%rdx
lea    -0x10(%rbp),%rcx
call   1040 <scanf@plt>
movss  -0x8(%rbp),%xmm0
ucomiss -0xc(%rbp),%xmm0
jb     1176 <main+0x56>
movss  -0x8(%rbp),%xmm0
ucomiss -0x10(%rbp),%xmm0
jb     1176 <main+0x56>
movss  -0x8(%rbp),%xmm0
lea    0xe98(%rip),%rdi
call   1030 <printf@plt>
movss  -0xc(%rbp),%xmm0
ucomiss -0x8(%rbp),%xmm0
jb     11a5 <main+0x85>
movss  -0xc(%rbp),%xmm0
ucomiss -0x10(%rbp),%xmm0
jb     11a5 <main+0x85>
movss  -0xc(%rbp),%xmm0
lea    0xe69(%rip),%rdi
call   1030 <printf@plt>
movss  -0x10(%rbp),%xmm0
ucomiss -0x8(%rbp),%xmm0
jb     11d4 <main+0xb4>
movss  -0x10(%rbp),%xmm0
ucomiss -0xc(%rbp),%xmm0
jb     11d4 <main+0xb4>
movss  -0x10(%rbp),%xmm0
lea    0xe3a(%rip),%rdi
call   1030 <printf@plt>
xor    %eax,%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
jb     117c <main+0x5c>
ucomiss %xmm0,%xmm2
jb     117c <main+0x5c>
lea    0xea7(%rip),%rdi
movaps %xmm2,%xmm0
call   1030 <printf@plt>
movss  0x10(%rsp),%xmm1
movss  0x14(%rsp),%xmm2
movss  0xc(%rsp),%xmm0
ucomiss %xmm2,%xmm1
jb     11a7 <main+0x87>
ucomiss %xmm0,%xmm1
jb     11a7 <main+0x87>
lea    0xe7c(%rip),%rdi
movaps %xmm1,%xmm0
call   1030 <printf@plt>
movss  0xc(%rsp),%xmm0
movss  0x14(%rsp),%xmm2
movss  0x10(%rsp),%xmm1
ucomiss %xmm2,%xmm0
jb     11bd <main+0x9d>
ucomiss %xmm1,%xmm0
jb     11bd <main+0x9d>
lea    0xe51(%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 = [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 ([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 oge 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 oge 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 ([5 x i8], [5 x i8]* @.str.1, i64 0, i64 0), float %14)
br label %16
16: ; preds = %13, %9, %0
%17 = load float, float* %3
%18 = load float, float* %2
%19 = fcmp oge 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 oge 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 ([5 x i8], [5 x i8]* @.str.1, i64 0, i64 0), float %25)
br label %27
27: ; preds = %24, %20, %16
%28 = load float, float* %4
%29 = load float, float* %2
%30 = fcmp oge 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 oge 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 ([5 x i8], [5 x i8]* @.str.1, i64 0, i64 0), float %36)
br label %38
38: ; preds = %35, %31, %27
ret i32 0
}

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