#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 */
typedef int /*<<< orphan*/ FILE;

/* Variables and functions */
scalar_t__ calloc(int, int);
int /*<<< orphan*/ comb(int *, int, int /*<<< orphan*/, int *, int *);
int /*<<< orphan*/ din(int *, int /*<<< orphan*/, int, int /*<<< orphan*/,
                       int *, int *);
int /*<<< orphan*/ equalizza(int *, int /*<<< orphan*/, int);
int /*<<< orphan*/ exit(int);
int /*<<< orphan*/ fclose(int /*<<< orphan*/ *);
int /*<<< orphan*/ *fopen(char *, char *);
int /*<<< orphan*/ fscanf(int /*<<< orphan*/ *, char *, int *);
int getCosto(int *, int *, int);
scalar_t__ malloc(int);
int /*<<< orphan*/ printArrows(int *, int);
int /*<<< orphan*/ printf(char *, ...);
int /*<<< orphan*/ puts(char *);
int main() {
  FILE *fp;
  int i, n;
  int *f, *sol, *bestSol;
  if ((fp = fopen("frecce2.txt", "r")) == NULL) {
    printf("Errore! Impossibile aprire il file \"%s\"\n", "frecce2.txt");
    exit(1);
  }
  printf("Sto usando il file \"%s\"...\n", "frecce2.txt");
  fscanf(fp, "%d", &n);
  printf("Ho trovato %d frecce...\n", n);
  f = (int *)malloc(n * sizeof(int));
  sol = (int *)calloc(n, sizeof(int));
  bestSol = (int *)calloc(n, sizeof(int));
  for (i = 0; i < n; i++) {
    fscanf(fp, "%d", &f[i]);
  }
  fclose(fp);
  printArrows(f, n);
  equalizza(sol, 0, n - 1);
  equalizza(bestSol, 0, n - 1);
  puts("Metodo programmazione dinamica...");
  din(f, 0, n - 1, 0, sol, bestSol);
  printArrows(bestSol, n);
  printf("Costo: %d\n", getCosto(f, bestSol, n));
  for (i = 80; i-- > 0; printf("-"))
    ;
  equalizza(sol, 0, n - 1);
  equalizza(bestSol, 0, n - 1);
  puts("Metodo calcolo combinatorio...");
  comb(f, n, 0, sol, bestSol);
  printArrows(bestSol, n);
  printf("Costo: %d\n", getCosto(f, bestSol, n));
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x30,%rsp
movl   $0x0,-0x4(%rbp)
lea    0xe1a(%rip),%rdi
lea    0xe1f(%rip),%rsi
call   10e0 <fopen@plt>
mov    %rax,-0x10(%rbp)
cmp    $0x0,%rax
jne    121f <main+0x4f>
lea    0xe07(%rip),%rdi
lea    0xdf2(%rip),%rsi
mov    $0x0,%al
call   1080 <printf@plt>
mov    $0x1,%edi
call   10f0 <exit@plt>
lea    0xe11(%rip),%rdi
lea    0xdd3(%rip),%rsi
mov    $0x0,%al
call   1080 <printf@plt>
mov    -0x10(%rbp),%rdi
lea    0xe14(%rip),%rsi
lea    -0x18(%rbp),%rdx
call   10a0 <fscanf@plt>
mov    -0x18(%rbp),%esi
lea    0xe04(%rip),%rdi
mov    $0x0,%al
call   1080 <printf@plt>
movslq -0x18(%rbp),%rax
shl    $0x2,%rax
mov    %eax,%edi
call   10c0 <malloc@plt>
mov    %rax,-0x20(%rbp)
mov    -0x18(%rbp),%edi
mov    $0x4,%esi
call   10b0 <calloc@plt>
mov    %rax,-0x28(%rbp)
mov    -0x18(%rbp),%edi
mov    $0x4,%esi
call   10b0 <calloc@plt>
mov    %rax,-0x30(%rbp)
movl   $0x0,-0x14(%rbp)
mov    -0x14(%rbp),%eax
cmp    -0x18(%rbp),%eax
jge    12ce <main+0xfe>
mov    -0x10(%rbp),%rdi
mov    -0x20(%rbp),%rdx
movslq -0x14(%rbp),%rax
shl    $0x2,%rax
add    %rax,%rdx
lea    0xd98(%rip),%rsi
call   10a0 <fscanf@plt>
mov    -0x14(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x14(%rbp)
jmp    1295 <main+0xc5>
mov    -0x10(%rbp),%rdi
call   1070 <fclose@plt>
mov    -0x20(%rbp),%rdi
mov    -0x18(%rbp),%esi
call   1030 <printArrows@plt>
mov    -0x28(%rbp),%rdi
mov    -0x18(%rbp),%edx
sub    $0x1,%edx
xor    %esi,%esi
call   10d0 <equalizza@plt>
mov    -0x30(%rbp),%rdi
mov    -0x18(%rbp),%edx
sub    $0x1,%edx
xor    %esi,%esi
call   10d0 <equalizza@plt>
lea    0xd63(%rip),%rdi
call   1040 <puts@plt>
mov    -0x20(%rbp),%rdi
mov    -0x18(%rbp),%edx
sub    $0x1,%edx
mov    -0x28(%rbp),%r8
mov    -0x30(%rbp),%r9
xor    %ecx,%ecx
mov    %ecx,%esi
call   1090 <din@plt>
mov    -0x30(%rbp),%rdi
mov    -0x18(%rbp),%esi
call   1030 <printArrows@plt>
mov    -0x20(%rbp),%rdi
mov    -0x30(%rbp),%rsi
mov    -0x18(%rbp),%edx
call   1060 <getCosto@plt>
mov    %eax,%esi
lea    0xd40(%rip),%rdi
mov    $0x0,%al
call   1080 <printf@plt>
movl   $0x50,-0x14(%rbp)
mov    -0x14(%rbp),%eax
mov    %eax,%ecx
add    $0xffffffff,%ecx
mov    %ecx,-0x14(%rbp)
cmp    $0x0,%eax
jle    138b <main+0x1bb>
jmp    1378 <main+0x1a8>
lea    0xd1d(%rip),%rdi
mov    $0x0,%al
call   1080 <printf@plt>
jmp    135f <main+0x18f>
mov    -0x28(%rbp),%rdi
mov    -0x18(%rbp),%edx
sub    $0x1,%edx
xor    %esi,%esi
call   10d0 <equalizza@plt>
mov    -0x30(%rbp),%rdi
mov    -0x18(%rbp),%edx
sub    $0x1,%edx
xor    %esi,%esi
call   10d0 <equalizza@plt>
lea    0xcea(%rip),%rdi
call   1040 <puts@plt>
mov    -0x20(%rbp),%rdi
mov    -0x18(%rbp),%esi
mov    -0x28(%rbp),%rcx
mov    -0x30(%rbp),%r8
xor    %edx,%edx
call   1050 <comb@plt>
mov    -0x30(%rbp),%rdi
mov    -0x18(%rbp),%esi
call   1030 <printArrows@plt>
mov    -0x20(%rbp),%rdi
mov    -0x30(%rbp),%rsi
mov    -0x18(%rbp),%edx
call   1060 <getCosto@plt>
mov    %eax,%esi
lea    0xc9d(%rip),%rdi
mov    $0x0,%al
call   1080 <printf@plt>
xor    %eax,%eax
add    $0x30,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x18,%rsp
lea    0xe0b(%rip),%rdi
lea    0xe10(%rip),%rsi
call   10f0 <fopen@plt>
test   %rax,%rax
je     13d0 <main+0x1f0>
mov    %rax,%r13
lea    0xe23(%rip),%rdi
lea    0xde5(%rip),%rsi
xor    %eax,%eax
call   1090 <printf@plt>
lea    0xe2a(%rip),%rsi
lea    0xc(%rsp),%rdx
mov    %r13,%rdi
call   10b0 <fscanf@plt>
mov    0xc(%rsp),%esi
lea    0xe15(%rip),%rdi
xor    %eax,%eax
call   1090 <printf@plt>
mov    0xc(%rsp),%edi
shl    $0x2,%edi
call   10d0 <malloc@plt>
mov    %rax,%r14
mov    0xc(%rsp),%edi
mov    $0x4,%esi
call   10c0 <calloc@plt>
mov    %rax,0x10(%rsp)
mov    0xc(%rsp),%edi
mov    $0x4,%esi
call   10c0 <calloc@plt>
mov    %rax,%r12
cmpl   $0x0,0xc(%rsp)
jle    12b0 <main+0xd0>
xor    %r15d,%r15d
lea    0xdc7(%rip),%rbx
mov    %r14,%rbp
nop
mov    %r13,%rdi
mov    %rbx,%rsi
mov    %rbp,%rdx
call   10b0 <fscanf@plt>
add    $0x1,%r15
movslq 0xc(%rsp),%rax
add    $0x4,%rbp
cmp    %rax,%r15
jl     1290 <main+0xb0>
mov    %r13,%rdi
call   1080 <fclose@plt>
mov    0xc(%rsp),%esi
mov    %r14,%rdi
call   1040 <printArrows@plt>
mov    0xc(%rsp),%edx
add    $0xffffffff,%edx
mov    0x10(%rsp),%rbp
mov    %rbp,%rdi
xor    %esi,%esi
call   10e0 <equalizza@plt>
mov    0xc(%rsp),%edx
add    $0xffffffff,%edx
mov    %r12,%rdi
xor    %esi,%esi
call   10e0 <equalizza@plt>
lea    0xd7d(%rip),%rdi
call   1050 <puts@plt>
mov    0xc(%rsp),%edx
add    $0xffffffff,%edx
mov    %r14,%rdi
xor    %esi,%esi
xor    %ecx,%ecx
mov    %rbp,%r8
mov    %r12,%r9
call   10a0 <din@plt>
mov    0xc(%rsp),%esi
mov    %r12,%rdi
call   1040 <printArrows@plt>
mov    0xc(%rsp),%edx
mov    %r14,%rdi
mov    %r12,%rsi
call   1070 <getCosto@plt>
lea    0xd5f(%rip),%rdi
mov    %eax,%esi
xor    %eax,%eax
call   1090 <printf@plt>
mov    $0x51,%ebx
mov    $0x2d,%edi
call   1030 <putchar@plt>
add    $0xffffffff,%ebx
cmp    $0x1,%ebx
ja     1340 <main+0x160>
mov    0xc(%rsp),%edx
add    $0xffffffff,%edx
mov    %rbp,%rdi
xor    %esi,%esi
call   10e0 <equalizza@plt>
mov    0xc(%rsp),%edx
add    $0xffffffff,%edx
mov    %r12,%rdi
xor    %esi,%esi
call   10e0 <equalizza@plt>
lea    0xd21(%rip),%rdi
call   1050 <puts@plt>
mov    0xc(%rsp),%esi
mov    %r14,%rdi
xor    %edx,%edx
mov    %rbp,%rcx
mov    %r12,%r8
call   1060 <comb@plt>
mov    0xc(%rsp),%esi
mov    %r12,%rdi
call   1040 <printArrows@plt>
mov    0xc(%rsp),%edx
mov    %r14,%rdi
mov    %r12,%rsi
call   1070 <getCosto@plt>
lea    0xcdb(%rip),%rdi
mov    %eax,%esi
xor    %eax,%eax
call   1090 <printf@plt>
xor    %eax,%eax
add    $0x18,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret
lea    0xc37(%rip),%rdi
lea    0xc22(%rip),%rsi
xor    %eax,%eax
call   1090 <printf@plt>
mov    $0x1,%edi
call   1100 <exit@plt>

LLVM IR (-O0):
@.str = [12 x i8] c"frecce2.txt\00"
@.str.1 = [2 x i8] c"r\00"
@.str.2 = [41 x i8] c"Errore! Impossibile aprire il file \22%s\22\0A\00"
@.str.3 = [28 x i8] c"Sto usando il file \22%s\22...\0A\00"
@.str.4 = [3 x i8] c"%d\00"
@.str.5 = [25 x i8] c"Ho trovato %d frecce...\0A\00"
@.str.6 = [34 x i8] c"Metodo programmazione dinamica...\00"
@.str.7 = [11 x i8] c"Costo: %d\0A\00"
@.str.8 = [2 x i8] c"-\00"
@.str.9 = [31 x i8] c"Metodo calcolo combinatorio...\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* @fopen(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.1, i64 0, i64 0))
store i32* %8, i32** %2
%9 = icmp eq i32* %8, null
br i1 %9, label %10, label %13
10: ; preds = %0
%11 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([41 x i8], [41 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str, i64 0, i64 0))
%12 = call i32 @exit(i32 1)
unreachable
13: ; preds = %0
%14 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @.str.3, i64 0, i64 0), i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str, i64 0, i64 0))
%15 = load i32*, i32** %2
%16 = call i32 @fscanf(i32* %15, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.4, i64 0, i64 0), i32* %4)
%17 = load i32, i32* %4
%18 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str.5, i64 0, i64 0), i32 %17)
%19 = load i32, i32* %4
%20 = sext i32 %19 to i64
%21 = mul i64 %20, 4
%22 = trunc i64 %21 to i32
%23 = call i64 @malloc(i32 %22)
%24 = inttoptr i64 %23 to i32*
store i32* %24, i32** %5
%25 = load i32, i32* %4
%26 = call i64 @calloc(i32 %25, i32 4)
%27 = inttoptr i64 %26 to i32*
store i32* %27, i32** %6
%28 = load i32, i32* %4
%29 = call i64 @calloc(i32 %28, i32 4)
%30 = inttoptr i64 %29 to i32*
store i32* %30, i32** %7
store i32 0, i32* %3
br label %31
31: ; preds = %42, %13
%32 = load i32, i32* %3
%33 = load i32, i32* %4
%34 = icmp slt i32 %32, %33
br i1 %34, label %35, label %45
35: ; preds = %31
%36 = load i32*, i32** %2
%37 = load i32*, i32** %5
%38 = load i32, i32* %3
%39 = sext i32 %38 to i64
%40 = getelementptr inbounds i32, i32* %37, i64 %39
%41 = call i32 @fscanf(i32* %36, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.4, i64 0, i64 0), i32* %40)
br label %42
42: ; preds = %35
%43 = load i32, i32* %3
%44 = add nsw i32 %43, 1
store i32 %44, i32* %3
br label %31
45: ; preds = %31
%46 = load i32*, i32** %2
%47 = call i32 @fclose(i32* %46)
%48 = load i32*, i32** %5
%49 = load i32, i32* %4
%50 = call i32 @printArrows(i32* %48, i32 %49)
%51 = load i32*, i32** %6
%52 = load i32, i32* %4
%53 = sub nsw i32 %52, 1
%54 = call i32 @equalizza(i32* %51, i32 0, i32 %53)
%55 = load i32*, i32** %7
%56 = load i32, i32* %4
%57 = sub nsw i32 %56, 1
%58 = call i32 @equalizza(i32* %55, i32 0, i32 %57)
%59 = call i32 @puts(i8* getelementptr inbounds ([34 x i8], [34 x i8]* @.str.6, i64 0, i64 0))
%60 = load i32*, i32** %5
%61 = load i32, i32* %4
%62 = sub nsw i32 %61, 1
%63 = load i32*, i32** %6
%64 = load i32*, i32** %7
%65 = call i32 @din(i32* %60, i32 0, i32 %62, i32 0, i32* %63, i32* %64)
%66 = load i32*, i32** %7
%67 = load i32, i32* %4
%68 = call i32 @printArrows(i32* %66, i32 %67)
%69 = load i32*, i32** %5
%70 = load i32*, i32** %7
%71 = load i32, i32* %4
%72 = call i32 @getCosto(i32* %69, i32* %70, i32 %71)
%73 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.7, i64 0, i64 0), i32 %72)
store i32 80, i32* %3
br label %74
74: ; preds = %79, %45
%75 = load i32, i32* %3
%76 = add nsw i32 %75, -1
store i32 %76, i32* %3
%77 = icmp sgt i32 %75, 0
br i1 %77, label %78, label %81
78: ; preds = %74
br label %79
79: ; preds = %78
%80 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.8, i64 0, i64 0))
br label %74
81: ; preds = %74
%82 = load i32*, i32** %6
%83 = load i32, i32* %4
%84 = sub nsw i32 %83, 1
%85 = call i32 @equalizza(i32* %82, i32 0, i32 %84)
%86 = load i32*, i32** %7
%87 = load i32, i32* %4
%88 = sub nsw i32 %87, 1
%89 = call i32 @equalizza(i32* %86, i32 0, i32 %88)
%90 = call i32 @puts(i8* getelementptr inbounds ([31 x i8], [31 x i8]* @.str.9, i64 0, i64 0))
%91 = load i32*, i32** %5
%92 = load i32, i32* %4
%93 = load i32*, i32** %6
%94 = load i32*, i32** %7
%95 = call i32 @comb(i32* %91, i32 %92, i32 0, i32* %93, i32* %94)
%96 = load i32*, i32** %7
%97 = load i32, i32* %4
%98 = call i32 @printArrows(i32* %96, i32 %97)
%99 = load i32*, i32** %5
%100 = load i32*, i32** %7
%101 = load i32, i32* %4
%102 = call i32 @getCosto(i32* %99, i32* %100, i32 %101)
%103 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.7, i64 0, i64 0), i32 %102)
ret i32 0
}

LLVM IR (-O2):
@.str = [12 x i8] c"frecce2.txt\00"
@.str.1 = [2 x i8] c"r\00"
@.str.2 = [41 x i8] c"Errore! Impossibile aprire il file \22%s\22\0A\00"
@.str.3 = [28 x i8] c"Sto usando il file \22%s\22...\0A\00"
@.str.4 = [3 x i8] c"%d\00"
@.str.5 = [25 x i8] c"Ho trovato %d frecce...\0A\00"
@.str.6 = [34 x i8] c"Metodo programmazione dinamica...\00"
@.str.7 = [11 x i8] c"Costo: %d\0A\00"
@.str.9 = [31 x i8] c"Metodo calcolo combinatorio...\00"
define i32 @main() {
%1 = alloca i32
%2 = bitcast i32* %1 to i8*
%3 = tail call i32* @fopen(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.1, i64 0, i64 0))
%4 = icmp eq i32* %3, null
br i1 %4, label %5, label %8
5: ; preds = %0
%6 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([41 x i8], [41 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str, i64 0, i64 0))
%7 = tail call i32 @exit(i32 1)
unreachable
8: ; preds = %0
%9 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([28 x i8], [28 x i8]* @.str.3, i64 0, i64 0), i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str, i64 0, i64 0))
%10 = call i32 @fscanf(i32* %3, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.4, i64 0, i64 0), i32* %1)
%11 = load i32, i32* %1
%12 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([25 x i8], [25 x i8]* @.str.5, i64 0, i64 0), i32 %11)
%13 = load i32, i32* %1
%14 = shl i32 %13, 2
%15 = call i64 @malloc(i32 %14)
%16 = inttoptr i64 %15 to i32*
%17 = load i32, i32* %1
%18 = call i64 @calloc(i32 %17, i32 4)
%19 = inttoptr i64 %18 to i32*
%20 = load i32, i32* %1
%21 = call i64 @calloc(i32 %20, i32 4)
%22 = inttoptr i64 %21 to i32*
%23 = load i32, i32* %1
%24 = icmp sgt i32 %23, 0
br i1 %24, label %25, label %33
25: ; preds = %8, %25
%26 = phi i64 [ %29, %25 ], [ 0, %8 ]
%27 = getelementptr inbounds i32, i32* %16, i64 %26
%28 = call i32 @fscanf(i32* %3, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.4, i64 0, i64 0), i32* %27)
%29 = add nuw nsw i64 %26, 1
%30 = load i32, i32* %1
%31 = sext i32 %30 to i64
%32 = icmp slt i64 %29, %31
br i1 %32, label %25, label %33
33: ; preds = %25, %8
%34 = call i32 @fclose(i32* %3)
%35 = load i32, i32* %1
%36 = call i32 @printArrows(i32* %16, i32 %35)
%37 = load i32, i32* %1
%38 = add nsw i32 %37, -1
%39 = call i32 @equalizza(i32* %19, i32 0, i32 %38)
%40 = load i32, i32* %1
%41 = add nsw i32 %40, -1
%42 = call i32 @equalizza(i32* %22, i32 0, i32 %41)
%43 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([34 x i8], [34 x i8]* @.str.6, i64 0, i64 0))
%44 = load i32, i32* %1
%45 = add nsw i32 %44, -1
%46 = call i32 @din(i32* %16, i32 0, i32 %45, i32 0, i32* %19, i32* %22)
%47 = load i32, i32* %1
%48 = call i32 @printArrows(i32* %22, i32 %47)
%49 = load i32, i32* %1
%50 = call i32 @getCosto(i32* %16, i32* %22, i32 %49)
%51 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([11 x i8], [11 x i8]* @.str.7, i64 0, i64 0), i32 %50)
br label %52
52: ; preds = %33, %52
%53 = phi i32 [ 80, %33 ], [ %54, %52 ]
%54 = add nsw i32 %53, -1
%55 = call i32 @putchar(i32 45)
%56 = icmp ugt i32 %53, 1
br i1 %56, label %52, label %57
57: ; preds = %52
%58 = load i32, i32* %1
%59 = add nsw i32 %58, -1
%60 = call i32 @equalizza(i32* %19, i32 0, i32 %59)
%61 = load i32, i32* %1
%62 = add nsw i32 %61, -1
%63 = call i32 @equalizza(i32* %22, i32 0, i32 %62)
%64 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([31 x i8], [31 x i8]* @.str.9, i64 0, i64 0))
%65 = load i32, i32* %1
%66 = call i32 @comb(i32* %16, i32 %65, i32 0, i32* %19, i32* %22)
%67 = load i32, i32* %1
%68 = call i32 @printArrows(i32* %22, i32 %67)
%69 = load i32, i32* %1
%70 = call i32 @getCosto(i32* %16, i32* %22, i32 %69)
%71 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([11 x i8], [11 x i8]* @.str.7, i64 0, i64 0), i32 %70)
ret i32 0
}