#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, d, e, f;
  scanf("%d%d%d", &a, &b, &c);
  d = a * a;
  e = b * b;
  f = c * c;
  {
    if ((d + e) != f && (e + f) != d && (f + d) != e)
      printf("Не сооетветсвуют теореме Пифагора\n");
    else
      printf("Эначения подходят");
  }
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x20,%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>
mov    -0x8(%rbp),%eax
imul   -0x8(%rbp),%eax
mov    %eax,-0x14(%rbp)
mov    -0xc(%rbp),%eax
imul   -0xc(%rbp),%eax
mov    %eax,-0x18(%rbp)
mov    -0x10(%rbp),%eax
imul   -0x10(%rbp),%eax
mov    %eax,-0x1c(%rbp)
mov    -0x14(%rbp),%eax
add    -0x18(%rbp),%eax
cmp    -0x1c(%rbp),%eax
je     11a3 <main+0x83>
mov    -0x18(%rbp),%eax
add    -0x1c(%rbp),%eax
cmp    -0x14(%rbp),%eax
je     11a3 <main+0x83>
mov    -0x1c(%rbp),%eax
add    -0x14(%rbp),%eax
cmp    -0x18(%rbp),%eax
je     11a3 <main+0x83>
lea    0xe6e(%rip),%rdi
call   1030 <printf@plt>
jmp    11af <main+0x8f>
lea    0xe9e(%rip),%rdi
call   1030 <printf@plt>
xor    %eax,%eax
add    $0x20,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
sub    $0x18,%rsp
lea    0xec5(%rip),%rdi
lea    0x14(%rsp),%rsi
lea    0x10(%rsp),%rdx
lea    0xc(%rsp),%rcx
call   1050 <scanf@plt>
mov    0x14(%rsp),%eax
imul   %eax,%eax
mov    0x10(%rsp),%ecx
imul   %ecx,%ecx
mov    0xc(%rsp),%edx
imul   %edx,%edx
lea    (%rcx,%rax,1),%esi
cmp    %edx,%esi
je     1186 <main+0x56>
lea    (%rdx,%rcx,1),%esi
cmp    %eax,%esi
je     1186 <main+0x56>
add    %eax,%edx
cmp    %ecx,%edx
je     1186 <main+0x56>
lea    0xeaa(%rip),%rdi
call   1030 <puts@plt>
jmp    1192 <main+0x62>
lea    0xe7a(%rip),%rdi
call   1040 <printf@plt>
xor    %eax,%eax
add    $0x18,%rsp
ret

LLVM IR (-O0):
@.str = [7 x i8] c"%d%d%d\00"
@.str.1 = [65 x i8] c"\D0\9D\D0\B5 \D1\81\D0\BE\D0\BE\D0\B5\D1\82\D0\B2\D0\B5\D1\82\D1\81\D0\B2\D1\83\D1\8E\D1\82 \D1\82\D0\B5\D0\BE\D1\80\D0\B5\D0\BC\D0\B5 \D0\9F\D0\B8\D1\84\D0\B0\D0\B3\D0\BE\D1\80\D0\B0\0A\00"
@.str.2 = [34 x i8] c"\D0\AD\D0\BD\D0\B0\D1\87\D0\B5\D0\BD\D0\B8\D1\8F \D0\BF\D0\BE\D0\B4\D1\85\D0\BE\D0\B4\D1\8F\D1\82\00"
define i32 @main() {
%1 = alloca i32
%2 = alloca i32
%3 = alloca i32
%4 = alloca i32
%5 = alloca i32
%6 = alloca i32
%7 = alloca i32
store i32 0, i32* %1
%8 = call i32 @scanf(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str, i64 0, i64 0), i32* %2, i32* %3, i32* %4)
%9 = load i32, i32* %2
%10 = load i32, i32* %2
%11 = mul nsw i32 %9, %10
store i32 %11, i32* %5
%12 = load i32, i32* %3
%13 = load i32, i32* %3
%14 = mul nsw i32 %12, %13
store i32 %14, i32* %6
%15 = load i32, i32* %4
%16 = load i32, i32* %4
%17 = mul nsw i32 %15, %16
store i32 %17, i32* %7
%18 = load i32, i32* %5
%19 = load i32, i32* %6
%20 = add nsw i32 %18, %19
%21 = load i32, i32* %7
%22 = icmp ne i32 %20, %21
br i1 %22, label %23, label %37
23: ; preds = %0
%24 = load i32, i32* %6
%25 = load i32, i32* %7
%26 = add nsw i32 %24, %25
%27 = load i32, i32* %5
%28 = icmp ne i32 %26, %27
br i1 %28, label %29, label %37
29: ; preds = %23
%30 = load i32, i32* %7
%31 = load i32, i32* %5
%32 = add nsw i32 %30, %31
%33 = load i32, i32* %6
%34 = icmp ne i32 %32, %33
br i1 %34, label %35, label %37
35: ; preds = %29
%36 = call i32 @printf(i8* getelementptr inbounds ([65 x i8], [65 x i8]* @.str.1, i64 0, i64 0))
br label %39
37: ; preds = %29, %23, %0
%38 = call i32 @printf(i8* getelementptr inbounds ([34 x i8], [34 x i8]* @.str.2, i64 0, i64 0))
br label %39
39: ; preds = %37, %35
ret i32 0
}

LLVM IR (-O2):
@.str = [7 x i8] c"%d%d%d\00"
@.str.2 = [34 x i8] c"\D0\AD\D0\BD\D0\B0\D1\87\D0\B5\D0\BD\D0\B8\D1\8F \D0\BF\D0\BE\D0\B4\D1\85\D0\BE\D0\B4\D1\8F\D1\82\00"
@str = [64 x i8] c"\D0\9D\D0\B5 \D1\81\D0\BE\D0\BE\D0\B5\D1\82\D0\B2\D0\B5\D1\82\D1\81\D0\B2\D1\83\D1\8E\D1\82 \D1\82\D0\B5\D0\BE\D1\80\D0\B5\D0\BC\D0\B5 \D0\9F\D0\B8\D1\84\D0\B0\D0\B3\D0\BE\D1\80\D0\B0\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 = call i32 @scanf(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str, i64 0, i64 0), i32* %1, i32* %2, i32* %3)
%8 = load i32, i32* %1
%9 = mul nsw i32 %8, %8
%10 = load i32, i32* %2
%11 = mul nsw i32 %10, %10
%12 = load i32, i32* %3
%13 = mul nsw i32 %12, %12
%14 = add nuw nsw i32 %11, %9
%15 = icmp eq i32 %14, %13
%16 = add nuw nsw i32 %13, %11
%17 = icmp eq i32 %16, %9
%18 = select i1 %15, i1 true, i1 %17
%19 = add nuw nsw i32 %13, %9
%20 = icmp eq i32 %19, %11
%21 = select i1 %18, i1 true, i1 %20
br i1 %21, label %24, label %22
22: ; preds = %0
%23 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([64 x i8], [64 x i8]* @str, i64 0, i64 0))
br label %26
24: ; preds = %0
%25 = call i32 @printf(i8* dereferenceable(1) getelementptr inbounds ([34 x i8], [34 x i8]* @.str.2, i64 0, i64 0))
br label %26
26: ; preds = %24, %22
ret i32 0
}