#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 *, int *, int *, int *);
main() {
  int a, b, c;
  printf("Ââåäèòå ñòîðîíû ï/ó òðåóãîëüíèêà");
  scanf("%d%d%d", &a, &b, &c);
  if (a == b || a == c || b == c) {
    printf("Ýòî íå ñòîðîíû ïðÿìîóãîëüíèêà");
  } else {
    printf("Äà");
  }
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x10,%rsp
movl   $0x0,-0x4(%rbp)
lea    0xeca(%rip),%rdi
call   1030 <printf@plt>
lea    0xefb(%rip),%rdi
lea    -0x8(%rbp),%rsi
lea    -0xc(%rbp),%rdx
lea    -0x10(%rbp),%rcx
call   1040 <scanf@plt>
mov    -0x8(%rbp),%eax
cmp    -0xc(%rbp),%eax
je     1177 <main+0x57>
mov    -0x8(%rbp),%eax
cmp    -0x10(%rbp),%eax
je     1177 <main+0x57>
mov    -0xc(%rbp),%eax
cmp    -0x10(%rbp),%eax
jne    1188 <main+0x68>
lea    0xec6(%rip),%rdi
call   1030 <printf@plt>
jmp    1194 <main+0x74>
lea    0xeed(%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
call   1030 <printf@plt>
lea    0xf06(%rip),%rdi
lea    0x14(%rsp),%rsi
lea    0x10(%rsp),%rdx
lea    0xc(%rsp),%rcx
call   1040 <scanf@plt>
mov    0x14(%rsp),%eax
mov    0x10(%rsp),%ecx
cmp    %ecx,%eax
jne    1160 <main+0x40>
lea    0xee6(%rip),%rdi
jmp    117e <main+0x5e>
mov    0xc(%rsp),%edx
cmp    %edx,%ecx
lea    0xed7(%rip),%rcx
lea    0xf08(%rip),%rdi
cmove  %rcx,%rdi
cmp    %edx,%eax
cmove  %rcx,%rdi
call   1030 <printf@plt>
xor    %eax,%eax
add    $0x18,%rsp
ret

LLVM IR (-O0):
@.str = [61 x i8] c"\C3\82\C3\A2\C3\A5\C3\A4\C3\A8\C3\B2\C3\A5 \C3\B1\C3\B2\C3\AE\C3\B0\C3\AE\C3\AD\C3\BB \C3\AF/\C3\B3 \C3\B2\C3\B0\C3\A5\C3\B3\C3\A3\C3\AE\C3\AB\C3\BC\C3\AD\C3\A8\C3\AA\C3\A0\00"
@.str.1 = [7 x i8] c"%d%d%d\00"
@.str.2 = [56 x i8] c"\C3\9D\C3\B2\C3\AE \C3\AD\C3\A5 \C3\B1\C3\B2\C3\AE\C3\B0\C3\AE\C3\AD\C3\BB \C3\AF\C3\B0\C3\BF\C3\AC\C3\AE\C3\B3\C3\A3\C3\AE\C3\AB\C3\BC\C3\AD\C3\A8\C3\AA\C3\A0\00"
@.str.3 = [5 x i8] c"\C3\84\C3\A0\00"
define i32 @main() {
%1 = alloca i32
%2 = alloca i32
%3 = alloca i32
%4 = alloca i32
store i32 0, i32* %1
%5 = call i32 @printf(i8* getelementptr inbounds ([61 x i8], [61 x i8]* @.str, i64 0, i64 0))
%6 = call i32 @scanf(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.1, i64 0, i64 0), i32* %2, i32* %3, i32* %4)
%7 = load i32, i32* %2
%8 = load i32, i32* %3
%9 = icmp eq i32 %7, %8
br i1 %9, label %18, label %10
10: ; preds = %0
%11 = load i32, i32* %2
%12 = load i32, i32* %4
%13 = icmp eq i32 %11, %12
br i1 %13, label %18, label %14
14: ; preds = %10
%15 = load i32, i32* %3
%16 = load i32, i32* %4
%17 = icmp eq i32 %15, %16
br i1 %17, label %18, label %20
18: ; preds = %14, %10, %0
%19 = call i32 @printf(i8* getelementptr inbounds ([56 x i8], [56 x i8]* @.str.2, i64 0, i64 0))
br label %22
20: ; preds = %14
%21 = call i32 @printf(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.3, i64 0, i64 0))
br label %22
22: ; preds = %20, %18
ret i32 0
}

LLVM IR (-O2):
@.str = [61 x i8] c"\C3\82\C3\A2\C3\A5\C3\A4\C3\A8\C3\B2\C3\A5 \C3\B1\C3\B2\C3\AE\C3\B0\C3\AE\C3\AD\C3\BB \C3\AF/\C3\B3 \C3\B2\C3\B0\C3\A5\C3\B3\C3\A3\C3\AE\C3\AB\C3\BC\C3\AD\C3\A8\C3\AA\C3\A0\00"
@.str.1 = [7 x i8] c"%d%d%d\00"
@.str.2 = [56 x i8] c"\C3\9D\C3\B2\C3\AE \C3\AD\C3\A5 \C3\B1\C3\B2\C3\AE\C3\B0\C3\AE\C3\AD\C3\BB \C3\AF\C3\B0\C3\BF\C3\AC\C3\AE\C3\B3\C3\A3\C3\AE\C3\AB\C3\BC\C3\AD\C3\A8\C3\AA\C3\A0\00"
@.str.3 = [5 x i8] c"\C3\84\C3\A0\00"
define i32 @main() {
%1 = alloca i32
%2 = alloca i32
%3 = alloca i32
%4 = bitcast i32* %1 to i8*
%5 = bitcast i32* %2 to i8*
%6 = bitcast i32* %3 to i8*
%7 = tail call i32 @printf(i8* dereferenceable(1) getelementptr inbounds ([61 x i8], [61 x i8]* @.str, i64 0, i64 0))
%8 = call i32 @scanf(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.1, i64 0, i64 0), i32* %1, i32* %2, i32* %3)
%9 = load i32, i32* %1
%10 = load i32, i32* %2
%11 = icmp eq i32 %9, %10
br i1 %11, label %18, label %12
12: ; preds = %0
%13 = load i32, i32* %3
%14 = icmp eq i32 %9, %13
%15 = icmp eq i32 %10, %13
%16 = select i1 %14, i1 true, i1 %15
%17 = select i1 %16, i8* getelementptr inbounds ([56 x i8], [56 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.3, i64 0, i64 0)
br label %18
18: ; preds = %12, %0
%19 = phi i8* [ getelementptr inbounds ([56 x i8], [56 x i8]* @.str.2, i64 0, i64 0), %0 ], [ %17, %12 ]
%20 = call i32 @printf(i8* dereferenceable(1) %19)
ret i32 0
}