#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 *);
int main() {
  float g, j, gus = 1.40, jul = 1.10;
  int cont = 0;
  scanf("%f %f", &g, &j);
  if (g <= j) {
    printf("Nunca alcancará");
    return 0;
  }
  g /= 100;
  j /= 100;
  while (jul <= gus) {
    jul += j;
    printf("%lf\n", jul);
    gus += g;
    printf("%lf\n", gus);
    cont++;
  }
  printf("%d", cont);
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x20,%rsp
movl   $0x0,-0x4(%rbp)
movss  0xecd(%rip),%xmm0
movss  %xmm0,-0x10(%rbp)
movss  0xebc(%rip),%xmm0
movss  %xmm0,-0x14(%rbp)
movl   $0x0,-0x18(%rbp)
lea    0xeb5(%rip),%rdi
lea    -0x8(%rbp),%rsi
lea    -0xc(%rbp),%rdx
call   1040 <scanf@plt>
movss  -0x8(%rbp),%xmm1
movss  -0xc(%rbp),%xmm0
ucomiss %xmm1,%xmm0
jb     1191 <main+0x71>
lea    0xe94(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
movl   $0x0,-0x4(%rbp)
jmp    123b <main+0x11b>
movss  -0x8(%rbp),%xmm0
movss  0xe6a(%rip),%xmm1
divss  %xmm1,%xmm0
movss  %xmm0,-0x8(%rbp)
movss  -0xc(%rbp),%xmm0
movss  0xe54(%rip),%xmm1
divss  %xmm1,%xmm0
movss  %xmm0,-0xc(%rbp)
movss  -0x14(%rbp),%xmm1
movss  -0x10(%rbp),%xmm0
ucomiss %xmm1,%xmm0
jb     122a <main+0x10a>
movss  -0xc(%rbp),%xmm0
addss  -0x14(%rbp),%xmm0
movss  %xmm0,-0x14(%rbp)
movss  -0x14(%rbp),%xmm0
cvtss2sd %xmm0,%xmm0
lea    0xe34(%rip),%rdi
mov    $0x1,%al
call   1030 <printf@plt>
movss  -0x8(%rbp),%xmm0
addss  -0x10(%rbp),%xmm0
movss  %xmm0,-0x10(%rbp)
movss  -0x10(%rbp),%xmm0
cvtss2sd %xmm0,%xmm0
lea    0xe0e(%rip),%rdi
mov    $0x1,%al
call   1030 <printf@plt>
mov    -0x18(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x18(%rbp)
jmp    11bd <main+0x9d>
mov    -0x18(%rbp),%esi
lea    0xdf4(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x4(%rbp),%eax
add    $0x20,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %r14
push   %rbx
sub    $0x18,%rsp
lea    0xede(%rip),%rdi
lea    0xc(%rsp),%rsi
lea    0x14(%rsp),%rdx
call   1040 <scanf@plt>
movss  0xc(%rsp),%xmm0
movss  0x14(%rsp),%xmm2
ucomiss %xmm0,%xmm2
jae    124c <main+0x12c>
movss  0xea6(%rip),%xmm1
divss  %xmm1,%xmm0
movss  %xmm0,0xc(%rsp)
divss  %xmm1,%xmm2
movss  %xmm2,0x14(%rsp)
addss  0xe8e(%rip),%xmm2
movss  %xmm2,0x10(%rsp)
xorps  %xmm0,%xmm0
cvtss2sd %xmm2,%xmm0
lea    0xe99(%rip),%rbx
mov    %rbx,%rdi
mov    $0x1,%al
call   1030 <printf@plt>
movss  0xc(%rsp),%xmm0
addss  0xe66(%rip),%xmm0
movss  %xmm0,0x8(%rsp)
cvtss2sd %xmm0,%xmm0
mov    %rbx,%rdi
mov    $0x1,%al
call   1030 <printf@plt>
movss  0x8(%rsp),%xmm1
movss  0x10(%rsp),%xmm0
mov    $0x1,%ebx
ucomiss %xmm0,%xmm1
jb     123a <main+0x11a>
mov    $0x1,%ebx
lea    0xe4b(%rip),%r14
nopl   0x0(%rax,%rax,1)
movss  %xmm1,0x8(%rsp)
addss  0x14(%rsp),%xmm0
movss  %xmm0,0x10(%rsp)
cvtss2sd %xmm0,%xmm0
mov    %r14,%rdi
mov    $0x1,%al
call   1030 <printf@plt>
movss  0x8(%rsp),%xmm0
addss  0xc(%rsp),%xmm0
movss  %xmm0,0x8(%rsp)
movss  0x8(%rsp),%xmm0
cvtss2sd %xmm0,%xmm0
mov    %r14,%rdi
mov    $0x1,%al
call   1030 <printf@plt>
movss  0x8(%rsp),%xmm1
movss  0x10(%rsp),%xmm0
add    $0x1,%ebx
ucomiss %xmm0,%xmm1
jae    11e0 <main+0xc0>
lea    0xde7(%rip),%rdi
mov    %ebx,%esi
xor    %eax,%eax
call   1030 <printf@plt>
jmp    125a <main+0x13a>
lea    0xdbf(%rip),%rdi
xor    %eax,%eax
call   1030 <printf@plt>
xor    %eax,%eax
add    $0x18,%rsp
pop    %rbx
pop    %r14
ret

LLVM IR (-O0):
@.str = [6 x i8] c"%f %f\00"
@.str.1 = [17 x i8] c"Nunca alcancar\C3\A1\00"
@.str.2 = [5 x i8] c"%lf\0A\00"
@.str.3 = [3 x i8] c"%d\00"
define i32 @main() {
%1 = alloca i32
%2 = alloca float
%3 = alloca float
%4 = alloca float
%5 = alloca float
%6 = alloca i32
store i32 0, i32* %1
store float 0x3FF6666660000000, float* %4
store float 0x3FF19999A0000000, float* %5
store i32 0, i32* %6
%7 = call i32 @scanf(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str, i64 0, i64 0), float* %2, float* %3)
%8 = load float, float* %2
%9 = load float, float* %3
%10 = fcmp ole float %8, %9
br i1 %10, label %11, label %13
11: ; preds = %0
%12 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.1, i64 0, i64 0))
store i32 0, i32* %1
br label %40
13: ; preds = %0
%14 = load float, float* %2
%15 = fdiv float %14, 1.000000e+02
store float %15, float* %2
%16 = load float, float* %3
%17 = fdiv float %16, 1.000000e+02
store float %17, float* %3
br label %18
18: ; preds = %22, %13
%19 = load float, float* %5
%20 = load float, float* %4
%21 = fcmp ole float %19, %20
br i1 %21, label %22, label %37
22: ; preds = %18
%23 = load float, float* %3
%24 = load float, float* %5
%25 = fadd float %24, %23
store float %25, float* %5
%26 = load float, float* %5
%27 = fpext float %26 to double
%28 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.2, i64 0, i64 0), double %27)
%29 = load float, float* %2
%30 = load float, float* %4
%31 = fadd float %30, %29
store float %31, float* %4
%32 = load float, float* %4
%33 = fpext float %32 to double
%34 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.2, i64 0, i64 0), double %33)
%35 = load i32, i32* %6
%36 = add nsw i32 %35, 1
store i32 %36, i32* %6
br label %18
37: ; preds = %18
%38 = load i32, i32* %6
%39 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.3, i64 0, i64 0), i32 %38)
br label %40
40: ; preds = %37, %11
%41 = load i32, i32* %1
ret i32 %41
}

LLVM IR (-O2):
@.str = [6 x i8] c"%f %f\00"
@.str.1 = [17 x i8] c"Nunca alcancar\C3\A1\00"
@.str.2 = [5 x i8] c"%lf\0A\00"
@.str.3 = [3 x i8] c"%d\00"
define i32 @main() {
%1 = alloca float
%2 = alloca float
%3 = bitcast float* %1 to i8*
%4 = bitcast float* %2 to i8*
%5 = call i32 @scanf(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str, i64 0, i64 0), float* %1, float* %2)
%6 = load float, float* %1
%7 = load float, float* %2
%8 = fcmp ugt float %6, %7
br i1 %8, label %11, label %9
9: ; preds = %0
%10 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([17 x i8], [17 x i8]* @.str.1, i64 0, i64 0))
br label %39
11: ; preds = %0
%12 = fdiv float %6, 1.000000e+02
store float %12, float* %1
%13 = fdiv float %7, 1.000000e+02
store float %13, float* %2
%14 = fadd float %13, 0x3FF19999A0000000
%15 = fpext float %14 to double
%16 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([5 x i8], [5 x i8]* @.str.2, i64 0, i64 0), double %15)
%17 = load float, float* %1
%18 = fadd float %17, 0x3FF6666660000000
%19 = fpext float %18 to double
%20 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([5 x i8], [5 x i8]* @.str.2, i64 0, i64 0), double %19)
%21 = fcmp ugt float %14, %18
br i1 %21, label %36, label %22
22: ; preds = %11, %22
%23 = phi i32 [ %34, %22 ], [ 1, %11 ]
%24 = phi float [ %31, %22 ], [ %18, %11 ]
%25 = phi float [ %27, %22 ], [ %14, %11 ]
%26 = load float, float* %2
%27 = fadd float %25, %26
%28 = fpext float %27 to double
%29 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([5 x i8], [5 x i8]* @.str.2, i64 0, i64 0), double %28)
%30 = load float, float* %1
%31 = fadd float %24, %30
%32 = fpext float %31 to double
%33 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([5 x i8], [5 x i8]* @.str.2, i64 0, i64 0), double %32)
%34 = add nuw nsw i32 %23, 1
%35 = fcmp ugt float %27, %31
br i1 %35, label %36, label %22
36: ; preds = %22, %11
%37 = phi i32 [ 1, %11 ], [ %34, %22 ]
%38 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([3 x i8], [3 x i8]* @.str.3, i64 0, i64 0), i32 %37)
br label %39
39: ; preds = %36, %9
ret i32 0
}