add 2022 day 9

This commit is contained in:
2024-12-19 18:23:59 +01:00
parent abe9fd9636
commit f1d95ff41f
3 changed files with 198 additions and 24 deletions

View File

@ -6,7 +6,7 @@
/* By: tomoron <tomoron@student.42angouleme.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2024/11/01 12:50:02 by tomoron #+# #+# */
/* Updated: 2024/11/01 13:01:52 by tomoron ### ########.fr */
/* Updated: 2024/12/19 18:08:53 by tomoron ### ########.fr */
/* */
/* ************************************************************************** */
@ -20,4 +20,10 @@ typedef struct s_instruction
int dir[2];
int rep;
} t_instruction;
typedef struct s_pos
{
int pos[2];
struct s_pos *next;
} t_pos;
#endif