#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 *);
int /*<<< orphan*/ scanf(char *, float *, float *, float *);
int main() {
  float a, b, c;
  scanf("%f\n%f\n%f", &a, &b, &c);
  if (a == b && b == c && a == c)
    printf("equilatero\n");
  else if (a == b || b == c || a == c)
    printf("isosceles\n");
  else
    printf("escaleno\n");
  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
jne    1197 <main+0x77>
jp     1197 <main+0x77>
movss  -0xc(%rbp),%xmm0
ucomiss -0x10(%rbp),%xmm0
jne    1197 <main+0x77>
jp     1197 <main+0x77>
movss  -0x8(%rbp),%xmm0
ucomiss -0x10(%rbp),%xmm0
jne    1197 <main+0x77>
jp     1197 <main+0x77>
lea    0xe7c(%rip),%rdi
call   1030 <printf@plt>
jmp    1202 <main+0xe2>
movss  -0x8(%rbp),%xmm0
ucomiss -0xc(%rbp),%xmm0
jne    11b1 <main+0x91>
jp     11b1 <main+0x91>
jmp    11e0 <main+0xc0>
movss  -0xc(%rbp),%xmm0
ucomiss -0x10(%rbp),%xmm0
jne    11cb <main+0xab>
jp     11cb <main+0xab>
jmp    11e0 <main+0xc0>
movss  -0x8(%rbp),%xmm0
ucomiss -0x10(%rbp),%xmm0
jne    11f1 <main+0xd1>
jp     11f1 <main+0xd1>
lea    0xe2e(%rip),%rdi
call   1030 <printf@plt>
jmp    11fd <main+0xdd>
lea    0xe28(%rip),%rdi
call   1030 <printf@plt>
jmp    1202 <main+0xe2>
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),%xmm0
movss  0x10(%rsp),%xmm2
ucomiss %xmm2,%xmm0
movss  0xc(%rsp),%xmm1
jne    116f <main+0x4f>
jp     116f <main+0x4f>
ucomiss %xmm1,%xmm2
jne    1186 <main+0x66>
jp     1186 <main+0x66>
ucomiss %xmm1,%xmm0
jne    1186 <main+0x66>
jp     1186 <main+0x66>
lea    0xeaf(%rip),%rdi
jmp    118d <main+0x6d>
ucomiss %xmm1,%xmm2
jne    1176 <main+0x56>
jnp    1186 <main+0x66>
ucomiss %xmm1,%xmm0
jne    117d <main+0x5d>
jnp    1186 <main+0x66>
lea    0xe85(%rip),%rdi
jmp    118d <main+0x6d>
lea    0xe85(%rip),%rdi
call   1030 <puts@plt>
xor    %eax,%eax
add    $0x18,%rsp
ret

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

LLVM IR (-O2):
@.str = [9 x i8] c"%f\0A%f\0A%f\00"
@str = [9 x i8] c"escaleno\00"
@str.4 = [10 x i8] c"isosceles\00"
@str.5 = [11 x i8] c"equilatero\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 oeq float %8, %9
%11 = load float, float* %3
%12 = fcmp oeq float %9, %11
%13 = fcmp oeq float %8, %11
br i1 %10, label %14, label %16
14: ; preds = %0
%15 = select i1 %12, i1 %13, i1 false
br i1 %15, label %19, label %18
16: ; preds = %0
%17 = select i1 %12, i1 true, i1 %13
br i1 %17, label %18, label %19
18: ; preds = %14, %16
br label %19
19: ; preds = %16, %14, %18
%20 = phi i8* [ getelementptr inbounds ([10 x i8], [10 x i8]* @str.4, i64 0, i64 0), %18 ], [ getelementptr inbounds ([11 x i8], [11 x i8]* @str.5, i64 0, i64 0), %14 ], [ getelementptr inbounds ([9 x i8], [9 x i8]* @str, i64 0, i64 0), %16 ]
%21 = call i32 @puts(i8* dereferenceable(1) %20)
ret i32 0
}