#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 main() {
  float oc, of = 1.0;
  printf("»ªÊÏ-ÉãÊÏÎÂ¶È¶ÔÕÕ±í\n");
  oc = 5 * (of - 32) / 9;
  printf("%.0f\t%.2f\n", of, oc);
  for (of = 20.0; of <= 300.0; of += 20.0) {
    oc = 5 * (of - 32) / 9;
    printf("%.0f\t%.2f\n", of, oc);
  }
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x10,%rsp
movl   $0x0,-0x4(%rbp)
movss  0xee9(%rip),%xmm0
movss  %xmm0,-0xc(%rbp)
lea    0xef5(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
movss  -0xc(%rbp),%xmm1
movss  0xec5(%rip),%xmm0
subss  %xmm0,%xmm1
movss  0xeb5(%rip),%xmm0
mulss  %xmm1,%xmm0
movss  0xea5(%rip),%xmm1
divss  %xmm1,%xmm0
movss  %xmm0,-0x8(%rbp)
movss  -0xc(%rbp),%xmm0
cvtss2sd %xmm0,%xmm0
movss  -0x8(%rbp),%xmm1
cvtss2sd %xmm1,%xmm1
lea    0xece(%rip),%rdi
mov    $0x2,%al
call   1030 <printf@plt>
movss  0xe70(%rip),%xmm0
movss  %xmm0,-0xc(%rbp)
movss  -0xc(%rbp),%xmm0
cvtss2sd %xmm0,%xmm1
movsd  0xe72(%rip),%xmm0
ucomisd %xmm1,%xmm0
jb     1221 <main+0x111>
movss  -0xc(%rbp),%xmm1
movss  0xe4f(%rip),%xmm0
subss  %xmm0,%xmm1
movss  0xe3f(%rip),%xmm0
mulss  %xmm1,%xmm0
movss  0xe2f(%rip),%xmm1
divss  %xmm1,%xmm0
movss  %xmm0,-0x8(%rbp)
movss  -0xc(%rbp),%xmm0
cvtss2sd %xmm0,%xmm0
movss  -0x8(%rbp),%xmm1
cvtss2sd %xmm1,%xmm1
lea    0xe58(%rip),%rdi
mov    $0x2,%al
call   1030 <printf@plt>
movss  -0xc(%rbp),%xmm0
cvtss2sd %xmm0,%xmm0
movsd  0xe11(%rip),%xmm1
addsd  %xmm1,%xmm0
cvtsd2ss %xmm0,%xmm0
movss  %xmm0,-0xc(%rbp)
jmp    1195 <main+0x85>
mov    -0x4(%rbp),%eax
add    $0x10,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rbp
push   %rbx
push   %rax
lea    0xefd(%rip),%rdi
call   1030 <puts@plt>
lea    0xee6(%rip),%rbx
movsd  0xec2(%rip),%xmm0
movsd  0xec2(%rip),%xmm1
mov    %rbx,%rdi
mov    $0x2,%al
call   1040 <printf@plt>
xor    %ebp,%ebp
cs nopw 0x0(%rax,%rax,1)
nopl   0x0(%rax)
add    $0x14,%ebp
xorps  %xmm1,%xmm1
cvtsi2ss %ebp,%xmm1
xorps  %xmm0,%xmm0
cvtss2sd %xmm1,%xmm0
addss  0xe97(%rip),%xmm1
mulss  0xe93(%rip),%xmm1
divss  0xe8f(%rip),%xmm1
cvtss2sd %xmm1,%xmm1
mov    %rbx,%rdi
mov    $0x2,%al
call   1040 <printf@plt>
cmp    $0x119,%ebp
jb     1160 <main+0x40>
xor    %eax,%eax
add    $0x8,%rsp
pop    %rbx
pop    %rbp
ret

LLVM IR (-O0):
@.str = [39 x i8] c"\C2\BB\C2\AA\C3\8A\C3\8F-\C3\89\C3\A3\C3\8A\C3\8F\C3\8E\C3\82\C2\B6\C3\88\C2\B6\C3\94\C3\95\C3\95\C2\B1\C3\AD\0A\00"
@.str.1 = [11 x i8] c"%.0f\09%.2f\0A\00"
define i32 @main() {
%1 = alloca i32
%2 = alloca float
%3 = alloca float
store i32 0, i32* %1
store float 1.000000e+00, float* %3
%4 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([39 x i8], [39 x i8]* @.str, i64 0, i64 0))
%5 = load float, float* %3
%6 = fsub float %5, 3.200000e+01
%7 = fmul float 5.000000e+00, %6
%8 = fdiv float %7, 9.000000e+00
store float %8, float* %2
%9 = load float, float* %3
%10 = fpext float %9 to double
%11 = load float, float* %2
%12 = fpext float %11 to double
%13 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.1, i64 0, i64 0), double %10, double %12)
store float 2.000000e+01, float* %3
br label %14
14: ; preds = %28, %0
%15 = load float, float* %3
%16 = fpext float %15 to double
%17 = fcmp ole double %16, 3.000000e+02
br i1 %17, label %18, label %33
18: ; preds = %14
%19 = load float, float* %3
%20 = fsub float %19, 3.200000e+01
%21 = fmul float 5.000000e+00, %20
%22 = fdiv float %21, 9.000000e+00
store float %22, float* %2
%23 = load float, float* %3
%24 = fpext float %23 to double
%25 = load float, float* %2
%26 = fpext float %25 to double
%27 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.1, i64 0, i64 0), double %24, double %26)
br label %28
28: ; preds = %18
%29 = load float, float* %3
%30 = fpext float %29 to double
%31 = fadd double %30, 2.000000e+01
%32 = fptrunc double %31 to float
store float %32, float* %3
br label %14
33: ; preds = %14
%34 = load i32, i32* %1
ret i32 %34
}

LLVM IR (-O2):
@.str.1 = [11 x i8] c"%.0f\09%.2f\0A\00"
@str = [38 x i8] c"\C2\BB\C2\AA\C3\8A\C3\8F-\C3\89\C3\A3\C3\8A\C3\8F\C3\8E\C3\82\C2\B6\C3\88\C2\B6\C3\94\C3\95\C3\95\C2\B1\C3\AD\00"
define i32 @main() {
%1 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([38 x i8], [38 x i8]* @str, i64 0, i64 0))
%2 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([11 x i8], [11 x i8]* @.str.1, i64 0, i64 0), double 1.000000e+00, double 0xC03138E380000000)
br label %3
3: ; preds = %0, %3
%4 = phi i32 [ 20, %0 ], [ %12, %3 ]
%5 = sitofp i32 %4 to float
%6 = fpext float %5 to double
%7 = fadd float %5, -3.200000e+01
%8 = fmul float %7, 5.000000e+00
%9 = fdiv float %8, 9.000000e+00
%10 = fpext float %9 to double
%11 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([11 x i8], [11 x i8]* @.str.1, i64 0, i64 0), double %6, double %10)
%12 = add nuw nsw i32 %4, 20
%13 = icmp ugt i32 %4, 280
br i1 %13, label %14, label %3
14: ; preds = %3
ret i32 0
}