mirror of
https://github.com/DavidGailleton/42-Push_Swap.git
synced 2026-01-27 00:41:57 +00:00
24 lines
1.0 KiB
C
24 lines
1.0 KiB
C
/* ************************************************************************** */
|
|
/* */
|
|
/* ::: :::::::: */
|
|
/* medium_algo.c :+: :+: :+: */
|
|
/* +:+ +:+ +:+ */
|
|
/* By: mteriier <mteriier@student.42lyon.fr> +#+ +:+ +#+ */
|
|
/* +#+#+#+#+#+ +#+ */
|
|
/* Created: 2025/12/10 07:14:45 by mteriier #+# #+# */
|
|
/* Updated: 2025/12/10 07:14:51 by mteriier ### ########lyon.fr */
|
|
/* */
|
|
/* ************************************************************************** */
|
|
|
|
#include "push_swap.h"
|
|
|
|
void bucket_algo(t_stacks *piles)
|
|
{
|
|
int range;
|
|
t_tab *preset;
|
|
|
|
range = range_bucket(piles->a);
|
|
preset = get_tabs(piles->a, range);
|
|
return ;
|
|
}
|