fix some bugs

This commit is contained in:
Maoake Teriierooiterai
2026-01-06 14:52:47 +01:00
parent ef9f16a142
commit 40ec288032
3 changed files with 0 additions and 4 deletions

View File

@@ -109,7 +109,5 @@ void bucket_algo(t_stacks *piles, t_tab *preset, int range)
} }
while (piles->b) while (piles->b)
pa(piles); pa(piles);
print_all_stack(piles->a, piles->a, 'A');
print_all_stack(piles->b, piles->b, 'B');
return ; return ;
} }

View File

@@ -31,8 +31,6 @@ void push_range_to_b(t_stacks *piles, t_tab *one_preset, int range)
sort_little_pile(piles); sort_little_pile(piles);
one_preset->nb_in--; one_preset->nb_in--;
} }
print_all_stack(piles->a, piles->a, 'A');
print_all_stack(piles->b, piles->b, 'B');
} }
int sort_path(t_stacks *piles, int value) int sort_path(t_stacks *piles, int value)

BIN
push_swap

Binary file not shown.