atorys / Push_swap

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

                                     d8
                                     88
          88d888b. dP    dP ,d888'   88d8888b.        ,d888'   dP  dP  dP .d8888b. 88d888b.
          88'  '88 88    88 Y8ooooo. 88'   `88        Y8ooooo. 88  88  88 88'  `88 88'  '88
          88.  .88 88.  .88       88 88     88              88 88.88b.88' 88.  .88 88.  .88
          8Y888P'  `888888' `88888P' 8P     dP d8888P `88888P' 8888P Y8P  `88888P8 8Y888P' 
          88                                                                       88
          8P                                                                       8P

Push_swap

School algorithm project push_swap: the aim is to sort data using only two stacks and a limited set of instructions. Norminette codestyle.
subject.pdf

Make

use make rule to compile push_swap program
and make bonus to compile checker program

Run

./push_swap 5 3 6 0 2 1 4
ARG="5 3 6 0 2 1 4"; ./push_swap $ARG

forthebadge

About


Languages

Language:C 94.1%Language:Makefile 5.9%