From 1d81c47cfd807ae227eb1dcaceb8e27c3d326c0e Mon Sep 17 00:00:00 2001 From: Camille Chauvet Date: Wed, 7 Dec 2022 14:19:16 +0100 Subject: [PATCH] ca marche avec print --- a.out | Bin 0 -> 28016 bytes ft_atoi.o | Bin 0 -> 2568 bytes ft_bitlen.o | Bin 0 -> 2312 bytes ft_get_max.o | Bin 0 -> 2912 bytes ft_is_sorted.o | Bin 0 -> 2384 bytes ft_isnum.o | Bin 0 -> 2328 bytes ft_p.c | 25 +++++++++++++++---------- ft_p.o | Bin 0 -> 3520 bytes ft_putstr.o | Bin 0 -> 2312 bytes ft_r.c | 4 ++-- ft_r.o | Bin 0 -> 2928 bytes ft_radix.c | 23 +++++++++++++++++++---- ft_radix.o | Bin 0 -> 4264 bytes ft_sort.o | Bin 0 -> 4464 bytes ft_swap.o | Bin 0 -> 2264 bytes ft_tablen.o | Bin 0 -> 2280 bytes main.o | Bin 0 -> 3144 bytes push_swap | Bin 0 -> 24136 bytes pushswap.h | 3 ++- test.c | 29 +++++++++++++++++++++++++++++ 20 files changed, 67 insertions(+), 17 deletions(-) create mode 100755 a.out create mode 100644 ft_atoi.o create mode 100644 ft_bitlen.o create mode 100644 ft_get_max.o create mode 100644 ft_is_sorted.o create mode 100644 ft_isnum.o create mode 100644 ft_p.o create mode 100644 ft_putstr.o create mode 100644 ft_r.o create mode 100644 ft_radix.o create mode 100644 ft_sort.o create mode 100644 ft_swap.o create mode 100644 ft_tablen.o create mode 100644 main.o create mode 100755 push_swap create mode 100644 test.c diff --git a/a.out b/a.out new file mode 100755 index 0000000000000000000000000000000000000000..275fd4e29879ac6e95b9cbfa7aca06a0afc1f944 GIT binary patch literal 28016 zcmeHQ4RBn=ecyL?PdfSJJIV5wY$rY(oS1@6lE1JqiY3`+pMs1H*ogy}=hNLuxu{WlMmA&l$3U2n9#_9B#wd935M(M zzq|j_yLVFB$#e#W+}d~l{eSMh|L%X^?t6QyyTiTPT!tYyxy1(sVUrDt(y19Eah(C^ z6d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)J>66goMPQLY#7ga}KByLP5Q7_{5U-DgVOx##5L=#apnFVOJtyVFlBso8%@`(yPJw}RiJ(6$v#e3qexz|cH1p$ zciq}+-d0-H-p<$Uc6$d6fo!xV7*`(k-S>x5>*w(pOLUA;<(K9kGc9ZXF#czZU$^#+ z@2%a7KPjWiBk?hz#S=%4#YdGS-dZ)0OzI2cTKrV(`PgF}gfNlUezzuvN_y7#}1s?YG@atD3R3-^1uM<*?kMOOjH&;8Ti6Wxj^n5f* zHbg5vN=j7n(HJ41l7fin*I3u_%Vp}WSD(z5Y&SpIaH_Rp#hpAkYtEQ6Q%}`>dPa#dIvoKZXp$c zt-<)8Qn2`W223ZD^gk)h8;v@S$l4Awnbp$Svy^H}&7g!+XTx+q2vsf((L z$LZw0*Lw{O5%{y+&#oPINRL?qtp_vEATYd4qSOG}Gqe^FCjyOFSth-6?o4Q}W^ag1PKu>iM*t$yA*Nn4Yuhftjt8 z%MK2jG}648Ri|W2Ty%34Fx`shm}g#HnyPtr_7XQgn59yqoVJ&jaq{y$VWpz$NWv+k zb5*~AD857G9WJf@F&h+<5JR`kjsq3 zEdG{p4JM@I{4D8DxnKN>Y)3;b)`sAly-EjU3$Z6-= k^fR-DPj_+uGePI470&-9a{WrZCWmU%kLtwHjD++53q}tQt^fc4 literal 0 HcmV?d00001 diff --git a/ft_bitlen.o b/ft_bitlen.o new file mode 100644 index 0000000000000000000000000000000000000000..ce994e6dfe1a2ae2b115018584686e3e0d6dc02c GIT binary patch literal 2312 zcmbtV+lw1z6hGfgzS&E<$!^w5FCqaeRb(gIb%k2jx}ve$Qd^L&*auxE*~tZy$# z(^4-O5tc35zWC^KAN>;qANt^n(0@QEf<6lS5U?1}nLTGSnU08f;LADZcdm2he3Q@0 zm)XTsR&SkS%EY`)7!2>WIJ=u{+PX1g$ zzz~oW^*(7T@8Pd$+`To{GRED0q%DvQwII?8q(L;NsSIpZLN5r5)t2Mci#@mNH#=VO z^oqS~FE70uM#j^huAsJRzXG*jtI`Zwu4h-FKof4jf2#}d1oe!hZoUVqKd(+4nVPwLkHK!WdhIP| zdmArjeIl^c^jrqq##XKCwB2zYTxuID1x^L|jW+TBPhVq-_?}3{d%Psy3BWvg74nD^ zCVMCD>nzA#3O+9abBayoB-1x+zsg)#($_{q5+mP-9MEGfEb03q8shgs{665J6geQr ze)tKB=qPjAdvcNeVHmD)+;st%OMT%_BAyoiGds}p#Yy6Xzl}zb<9>gofhoT9hk~v< z@w*V^Vc<+WDa!Kv0@FQAn_r(nnG?-#CKfMv9kH}l&v5;Jdw+BX((2zysZU=~>0j#8 pewmj>^tt#P&mqbF3qbu7C42oAvBzeI*!K+HqaY-TqdStU|2Np6&tw1q literal 0 HcmV?d00001 diff --git a/ft_get_max.o b/ft_get_max.o new file mode 100644 index 0000000000000000000000000000000000000000..d627b3a52f45513fa7c511ea147354d9d0207c67 GIT binary patch literal 2912 zcmb_e-)mcS6hHUoes9vGOWIVlb80J0M6|a*tPfl3j7VHoHXnp)sm?S_Z_~KsrZzXV zD{P8$lb8)Q@x>?SllZ0%22*jxA}bC=eexd=9Q2_=A0|G;bM8IgA6ZXtVf?u@t)AYz^IfyqY^1kN zt|$6Zt@>1=0rm8@SL@uGk*Q-%kGz5L&CH>V#Ji7iuLe--3mq+}v?8BKuCbj)Uh4_V{``;2O$(c5{tzE z%mh#X{D_Z%4?x6Q&`!@*UpJA^CHX2E+DnAA#FzLE=~q^Kbi+rkkH}}}R~9|g&8Xy| zB%yZ2ECR0Bx1(a;_vpbIe#M7>pe*6N4D;KT9Wlw_@nHidXKRjI>(7^RPN9F~lzV&y z+Ukp-t#oMzI>V96_`M!Lo*okVEbwf+>w^B=K2v`gBYfXD@hG&&ZU40A{{|@o4&qzW zw7=r}NYOUHM+^KiTpLe1T6-Xr(1a2FT$nY{Q4=w9TY%YkT`IYE;M}#Lt)GUYy zIt=q^po1Ceft_!O0iV3{xyot6lXW9ID=-Ep`K*xW#gaD6`B1yzatUtrNx8`Wm zpu|h@z7+ylIf{0$yF7)&`=`^-r1~V1AMhdE%bIxa95B8=z*C*Wj2~i6bG4@ec>Evu zL(I#*(~OTQ{3_!~g@2DR@1xfI7ny%UiNDPF3~M>(4C4lCIZuW0M+z_J`BdR$-)jng zit$Z_Kg;;G!hgWHpEa#za6MBBKf`#KwftQSA#mpSifLa^V9nXHwL&&GJG*2rgXP*Q zE?D_WxoqQg!_KO^1lE#W$}uiF^A)h1ifda(Uzi-Iy1D!*uu7%nayB`>vtMCbta@>iu|4;Vn{}cC@eW-s7 sAGQBHa-ri*y2jqdrzLX#OM>!A)c&6#w`=W?>*b-=&?ccg8cFT{H*i}%FaQ7m literal 0 HcmV?d00001 diff --git a/ft_is_sorted.o b/ft_is_sorted.o new file mode 100644 index 0000000000000000000000000000000000000000..5401bc8a50322f802ebeeb46e36b7821acb9b0d5 GIT binary patch literal 2384 zcmb_d&2Jk;6o0e3<1}@;wi8NQS|J~x2%)T#G)QfUN)R%2tCj=V6Y@_OO2ezW!}4hBZ&9lKF`V1k`bCh}9D3a^KEfRy9K~%|9But9wu_?&-(VuN zQ2t@@(T!h4PCRcfNYl<9J89>{dInc-f}yBO3jo&Y z1eDK#XIx))K zBo%j2S}Ee<^Na=MYUGDezSeR5W`5xHgLco)FRwUD&eGzUC^jzNUO}|#ybO)7(he#? zuOE7Krv?ST5foazt``()wU!$Vys)skQrL)sR`7wlG2sqvKZMY&LgWYSrtj7BM6}_* zU4Xs<<*Bg(aqBG*n^|#kZsyQEY}qN~X^~K8;59q@sqy-el+i;EfB{k#oW@-U@sE9k z6m=Sxn7A!|Tr9KujW#nvT8Hn-*+?3x?_~CxG}h!yswH!Xj$W3>)?{u?o@z)NX$PC! z{7D+0zbi##NGvl>_oV$U8Z3CYH_dJy{IMs@CYTeLfeAQ~Q^W+EG)*=U&nNQ7JwuK& z9L9693J)al<3Ys(%KTUX^NR{Uo!}Es7@kS+lxI!hXO*UQ?ROr}FFk=jr+BV=UEzxw z-&MG*@wXLrH6F(@7LMcm?<+p9G~F?I&oheG?+;Ght47U=TdnrJ0XU(z8G=*mb-Nxu z0%Z)sJ~(}^<0{%K3dZ}MGGEXkLuDR~uOBS(JtlN8HwrD^`jWl3RH zTPp4j6H0S^*7ToiTD+--l)f)19LM@R8u^^`TTTvn!l3*5fdZ4p7|Td>32d3_(Hb`Bt-YUhPG+-f1gsHeoguQT>mn1=9Rr3syn#$ fh3B6Mx<83t|10G5-jUy~BEKboLUHs)^!kqh`CjL; literal 0 HcmV?d00001 diff --git a/ft_isnum.o b/ft_isnum.o new file mode 100644 index 0000000000000000000000000000000000000000..194eec2e85b141d439e0d899d259e94f26be9170 GIT binary patch literal 2328 zcmb_d&1(};5TCc37j0vAW9wH{q=+B*(M_!iR#&Y^G%dx0qUb@xCfzi_WK*)6`hlOc zh{X>SJ$mryUm$`YiU0R48}kT zgCnqrBnxn!FRn+M%Tch=^K54RYi9oDLgqnw!F~s`Kfs>5i1s!fvL7Z@JYqlIt>Qs@ zZlj8K*>fupe@g$tJA7LwY?;~jEHj^8`1Y*PXrPg5e31Ti@grNwwpxAMw32H#SSwj? z9Kdjp?2V7EGp&P(Ly7JEV|_>a0Za~tpvL+DVq3tpjwBKZ0B!>@ki#p67r^pn52%no zFrt0VekerQQW(@LP99Q0Axssk6+cYn^F^;d<437|!>Q?dSPZXt(`{EM z1rdZ%4bZ6u|CSC`QPn8y`e|TSlWfC^Wy_ynGw2=BMMBRE$E@T%<9JWpxPcx3^GL;D zGu|0vKdl~8xQ%9swJXDiXi8VReWuNLclRvsijQ;4<%Y`>@gna=WV?Kg%hwlp|2W^| z@@+2PS>QXyx#RNvE*~lI1LOR#%a^%47N6qrx7>JriL<)FF>@Tw%H^3# z)|;HfFLG+hzH%w>1>qO7g_>9K+hK5~9n2GXIn>uGr2mIJ#31TC$e3@$Fuah2(9|DQ zYy`x~`I5F#vA8PXx(=Q^6K16_dB8~ ztpggs5`K6DHHH2cBsAX?bBKT{1W5A-?4x9MN?&;sDE8}$^DY2_oLT@6l6sHM+6kneLb{w ydVeoFL=0jKSxgQ9r=A0 0) + { + tab_dst[i] = tab_dst[i - 1]; + i--; + } + tab_dst[0] = tab_src[0]; + i = 0; + while (tab_src[i] != STOP_VALUE) + { + tab_src[i] = tab_src[i + 1]; + i++; + } } void ft_pb(unsigned int *tab_a, unsigned int *tab_b) diff --git a/ft_p.o b/ft_p.o new file mode 100644 index 0000000000000000000000000000000000000000..ecaa99b13fb92579bdcd63197983bdb25c628ac9 GIT binary patch literal 3520 zcmbuBPiP!v6u{r??6*mFo83(sHEG2zQE5Rko5ToK(>7Y7YiNs#krW!z+1=Uf+Wkj% zCZ?5WF`;H%h4vy|?4_4NFNNZvCtD(zg4lzC6)#>226Bjq5Kvg(n|kK$mky$xYK(6-PHrr%EA@Mgo)tFhJu3~2y3@qi_500c6Zux7oxJt- zZ^k#Ml8sJoG=eL)F`$_`ycS#Lid$6iu2YdrS&@2Qzf18;UnizlV+WS0mK<-~HQudM z!)lE=^_3liFMA4@8J}LwX)-rk%wY>nrksYRp0nyM?phk~IA`u+xkN5=bfw$W` zx5sXKU;XF{NO&C^%G+cqF*R^yq1E~h6eow-Y}CR!^x^u%h%r3t9F?EO51N8Og%kQo6CSzt`%m> zMmA9>n>NhWOeol`R!|y`&wm*ZO`?ZhD9VL5L0O0^`}ef9U&gI?92q?%v>WhJG=3>? zyfYNIh7m2_C~*{8ZO31--FEI7;wXOpHRM5f0^f?F{2A>eMW+KFMXnT@03FVzsxd{x z!+(fSXhQT&iQuS+gpP;+TJca`^rGH3D&nI;of1(~1j+ZQh)rWePIOKnNQw>%t*fGE zN(3-;_bg>vz)zwr{JV%^*}z2Tv``)jXg}svj*M1{_O(C3kKyZW{F7TGQ4o19_q8MeP*e$&IBL_5yRtxoO2AK@Un z2^wPdoJGQ;`f=;;;P&x^?=({CybA*)4{ty++8QeT-Iq_L;$_6cy}H9%jViL z7EO?s7R9=Ep_`m2k`J^@c$779S(DH{7pFQSY}1!OLc?-SJhq=9h~njkTiEIMEw+z) zxWV=t9)5xC84v%E?Q^VUzjFW2d*V;Cz2xD`Y+v#4kJ+YkMI!6Vb9bYKoq5Ueed*z{ z{;G$|`agJhiR}byT4VP*k9oM9?^zF*mwZ$`#YlUOhEAP&4(+Inav5`O=J@ z&En6_?2g1@p=>ZP@-w+Py=2Hcl{!g-hW%kx)aOg2iRze9$?B#~&LM4xC;mUxHOyCi zYTV*0i+%^(Lg&FP^!r52{SA?Sj9w`8x4|uOw}I^#KJM>Wy4Uz4miHg!(RtuuK`#g1 zMonGF`;alDxnCJCxg3sL%eIUm{SHI<{YalT_GNT<8O5$L{8=Wl_QoDT?l=D`FX%6v zK=UUg=OgD&_Zfu@;^UU9{PA3NLu||brKbDNFJI$Bq5Vt#l&hvY^o-x3@`?SV#i~49 zr^H##UvNmPA?GjgN7(RNzt=f1#euYb5qxC6T)+2_$+h56TRq_ZzjZ^O*m-1r{eR9K y$$qGR`nC7=pGT&iXjV{N#K)1F94MEO@=3g7rTf^sb`*D=2bJIiQuMp)?f-8h@tigQ literal 0 HcmV?d00001 diff --git a/ft_putstr.o b/ft_putstr.o new file mode 100644 index 0000000000000000000000000000000000000000..0412ac9a062a04500ad156111baacbda632b4df4 GIT binary patch literal 2312 zcmb_d-D?v;5TCuvT|d$$X)D@Vk${S#^wQQURcnou>a~)+JHMIPncbPayE{B~PGJlL zF&KoZBv62Qt-6l8%Q!^Pa>88wY?i)7%+)((b8WaBehsBEgzxV|8*{B#Hdi;z(mFF& zhs$qh-hX3pbTW7zA&H5MtgdVZlk;FXwg;ntn{MPXB>lBXL_ON6r8+~ zgjjaA5Sz_RM=oU@9HwiD~?jV%-lbA=^qp=t|g4``8xe+x#b?w|>Y-M#>9Il?-d z>gpfk73@Kb1`(YU&W0inm7!)`iK7L;Btik8YB9!sgqn%b&Ea6x%f7JF6U0(DBCgl=={OgusVK@%Y+530QI{HVR{5Hkh)B5Ch@P_5V<7M@ zF7Nc=Zl`g1w-2X%PH=fI=XAGQ#lZEEKj6Yo#HD%@4S8%UA6{U%B;j-~L{WG4V*2BD zb6n1+4vZN)QA|x+iA3IB1S4;!EyJ;w9Wau)OvcVS)%Fs$)c>BL=R2RB&4H24Iks_r ze4?x1Sjn4Uq|=L;X=`Q%UtkKB^7D?p%_%*f6@WcAJ)5^Ob~O?+jFIgJ?r@!R!DQQhRMg79pXa~H9Vvf$CvyJuo@h_ekGOQ{ zFb|X#0OumU;Pl>V`9I|b#$WtLxW8lu8zO+Dkl~W&zu%$EM3aic>45R^4W+T(703XRIk}YVs*Rn4JD#2EAG96coJWrj>(qtQ%Ru z&gDvuzv_DF*_m|1Z^taoE(^wMnN7sFO4}F zip;jx=?JS$ITrFm0EFw(dx#gY-lj6s6l!)FLb;Lm-1_GttR{F~y5;B0K02lwYt zn0at#G+Z9?m16=`@TizDd<1+1k>n8+;7i0tL;DHd5n|8Xhku;cpqg}VINB-338P*8 zO-%r0GlUO@aQuz~AuN2lp%AV(1dVF=B>NA9@KB3`2SYfmGs`~RBof-c8Cad+Nw#(T zG~={STIVhH&uaKG`>(TB>!|m?r19Tjzo_AA9bdy6>|fUK9Q#)_yvcrwHGLi7^UiCy z+UNc1VDt}ym3LSC;x(8vQK1mqUyHoRQ-RL46 zL;q$I2#3ErMQ<=@GeB|l&Q*sPXZ#jw%0I)tQopgGudVhU*2-3~q<7c}_c?-eZng(T zyagswKMji>pTS9ekHr6)!4e11`KiYG`KfOZMcsEa1KHuYRRyqC`IV-=(kuQP|NL10 z5>NjtsI|h>&F;@v7(L4Uq!ZuJ=~oyye>l8*eg)IN7`^J3;tQ$jLiLN`qu1{uV!igi z!})3bu;^S5Cwt|8gY&C> i) & 1) == 1) + if (((tab_a[0] >> i) & 1) == 0) ft_pb(tab_a, tab_b); else ft_ra(tab_a); y--; + j = 0; + printf("tab_a:\n"); + while (tab_a[j] != STOP_VALUE) + printf("%d\n", tab_a[j++]); + j = 0; + printf("tab_b:\n"); + while (tab_b[j] != STOP_VALUE) + printf("%d\n", tab_b[j++]); } while (tab_b[0] != STOP_VALUE) ft_pa(tab_a, tab_b); i++; + j = 0; + printf("\n\nROUND[%d]\ntab_a:\n", i); + while (tab_a[j] != STOP_VALUE) + printf("%d\n", tab_a[j++]); } } diff --git a/ft_radix.o b/ft_radix.o new file mode 100644 index 0000000000000000000000000000000000000000..82fc07a233ab77781d59fe3e928e5b95832f48a4 GIT binary patch literal 4264 zcmb_eU2GIp6uz^wcUrb(x9t`v)L;c0HQ4D7CGxXkjSj30#Xzhs7_!Xn&URPZZL>RD zi;7?tOt%{&^)JErfW$-|YJ%}a6Qc!95MF%n!GxsH#FDhJ59MtYbv> z^5>4{=dnL~#ZZ}PA*;+?Q5F$f?!44Fo%xlFD>pr-(Q!^$+@;KU-kt_zLb-WC@SLUq zFWiPymIo>GoztCHclFJWD>pouZDk$KcuqB%9ZP2XJn_6Y-CY=0W+s#w)Hf!S8^r*5 zgRA6oB-gk2<9udT$iRTp4a~Pcmp0ujtg=SSDf5}>LROi-qRawL{NLak&fcSTO?>V&v`mrO|H=Dhdxh!P+XZ_);x$g0j;R|2En7{G8RLS?!UHV@5 z{LeyR0TYIVmU3h{$L;*bGskb0U#_s*JKH4m(R zY&{_&B@PBWkau zLQl7Z2i3$t%cz!2#fK9uon3N=+|jl*ZFF|N)&*9#yp2TlU{a05$K)_+PefDgvEd;t z)gBJV)byyPw|957kEBzv)Jy6}ks3@5Cw1c!s3e_8#Rn2vq$Qp(p%96aV=1z4W0u`bd0SFFRKx}wpCIc{$Uh3?nqVybf9;S4Xwx+?rK8Pzq zT$Abr>IR^Cr>HXucmc`~3s6C94mczzvRTm5_tyY9$?ZaE4{UZF|G$5&fjC>^A&KQ0zYiy^V2&~fq&k{=l(yfz@M?;E=!(wY<~E; zCb6T(KChh&$6;6p9#^TrH%@)vVNCSJh0hOh>#o839EIa;rb*T^jX3v-&;|>Rezr4v zBh#2COU*#=rv}B2?=azFT-=8!PnfERN11)Vh96^g(1xF2_K*#Ko!PJ0@C>uFHvCOy ze_+Fndl|5gZ1`KuZebd0V68(t!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K2;=s2v^PAVVlbOw<#Ox)BF%ZOH z5}KMo0Zyt-dCC!|AdH@K$@TBa^#|LZ6Lmt98;R{?=1P4-S$n^OlpOsMeilN*Mxy@o z16xnje|$q2wL2eK7dsy6R^?FSU|*<)gy<-g5$vxy))hCdI4k=Bo57V z11Q6LRP`9hp~+w{2oMMZIY1eYf(M}0d6^DJ_CCfDkOW8yyFnTYFW^&_wpJQi4w)it z*^bt=K+I`|sssu`Zc$(^T{Z1$EK|_UT&!kPtbECg4Gw7o+CcxAs$(2{IE31;b`}=x zl&z-=hN)#BZZ2B!rBczb;+f2nUac8+e0V5cu3AghUA^4&g}iA4hC$V|@;TGU#t6v6 zzm=x@1MF)sV5`@FtwdN~M@#D__UbU=bcm=Wa6S}yAzkPU)X)Ld+jtZ>iciMa?@%W( zYB3(xyeYnwLv6e5mBUO`+Mla!RaFYSQzP@LG=UAwsnRR8{T5;ql7zV$VLs0%h$--M z$HxS6^HdNo*1Tm4J9c6bFF=>Q1CJ+UrXoG>k`?-F= zg}YV^4!Lm3Gs^WNoKvTEn~U=4zu+QH)V<05ra2cl4LQ+VgYDka*#X3K56*vJD0=W^ zuE#j1JG$>Vz;W;WLCYHHYA&Ux(-orznr*Dupk+$MqJcBcjh0;jtzr~(uIJ6gQgi4) zGfTFiO<$esw`@JL3|gU3E2i{p7I!hXC$Nw=4GtJfsl|$3G@5yEcr~m6ukip2k) zUSbOOoQRBTd`R91fOGFAgb^o9%$;zb;)0k#L#Bi;@3V z9^`x-xlGLKdkQi4J_y$l-jo;*p#KW;qi+pSPlEx?J-LYa;V@k0ajOF0T+|nQKjMDz zpST0PpPNLS;1|&-WVhchKhVdQ_6S|e?p>ff+dO`R6c>s27m$U5U;pMgDEdVGYr`Yr z1y1|zchv!Yp%mKP literal 0 HcmV?d00001 diff --git a/main.o b/main.o new file mode 100644 index 0000000000000000000000000000000000000000..8fd0a8fe35f4fbcbccfb31ca01ebfbcc1bdcc793 GIT binary patch literal 3144 zcmbuBUuauZ7{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+vjl_0t~v*H7o2LPoH7WkOsE`m5j-Ilj~nptDo{S0dl=CW}}?GJn?7CN5<| znJ4Xcv4L#KA1?Dx%0Qvz`Xzn~8=dx#Ki24z=Y;l;ejjAM43GF@ zUqxT1@dw1gljG3%^lR!Lzlcnm*(syCilr?hB47SiP(F!&{I8Mu_m1N3i20us38bh? H|M>p`TL)HB literal 0 HcmV?d00001 diff --git a/push_swap b/push_swap new file mode 100755 index 0000000000000000000000000000000000000000..ff90aa7232283059d844d8745314c615cdabc55d GIT binary patch literal 24136 zcmeHP4Rlo1oxktR+{t7TW+n+r5S0N%qrealF-oWtWMD`MP?Q){9P%;wu=(m_hDML< zq63yOU~y~DvOPVmd-_Gs(o;`&*F$MnpxA<}U9s)9wChKz2Hkl+xMH4WQM$hX}As#Wf3cgak=1TSBTT;hX{hBae*wv7fsm{ySgHJJXxF3M_=8g1{~@WTVU=okNI|Vf zDCq^1UO?$-ct#~cL!D0wgZ`dY_MSFFzz7c!V5`J63rUvB#$P5{s9qHyj9@4SJ}WTB zG}L+@fgZ*AL5oiNCgpFkyo{*!X{b=PsI#MK+0sRwEekt4x|972`>U2MT(&gW*ArYK z+C3eC(3o1Yelz<@VeogiKUeVNnqmIZ3(G1iHa>g*UW%JyAbTW3h2(YmiLU>M_d&~I z2$oJDJbw~;(IoVllh9X!9>8CIA)gcZWyn)ArDYlGjdye>T3J_PXJ=0{i$;kP?MpPq z6Va~5j&Anxct;|}TH~=8TeEKM%3GpKf=hzeL$Ix@r&|d|$*-yYQOywlvePJeNk<{k zm#F|pZVri>UKbRZjoRp99x6t8NXi!gr~K;@u+eoN5wF5Vr~cEW(nkMd#--Muf>Rlo z%D_|xrZO;d_?}{^QRdrq1+{b_2|FW^)G;HH4v!wCq#vP6 zX8ZeNV?*CZVCXpiR(rmby+AgG9V3|nbO($elGKi2=6mRBVH`2l4X1{T^fLp~_lOYd zhSSsc3_$AG7-WZ@BL~z53VkH)J{cZ{BEkZxZg{}C=bI21i`;n1w@X{J*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%6^Eq#6N)88|_(k_g;zCUX6GF0sP`h1vC{sUT2!F>HypyR*v^yv8YIns^wnTn2I z-`CudY+cu*Mz4~!euX0>coj-t-yiVKTI5OVmkTMz>H$eq>+5sr8KwUbC8t4t{_X~Y zep{&Z_4#$KYABsQsOb2$oQ59-kAADDaedC!-?a^pGD?2@lFHb9sE{kIug}99mH$d5 zsQu@+f0xoij(d8s&uI6GiPquxSt_|HP-vN+z!KsMW3? zQ2GI-ztNJE6-CzO8U0|#uCMnyy-IK%9Sm(n>uVDIs>!ae&-Dk?z?-H870i$Saiy>G zZ=L@GQi0Bs_L8qpAV4-uYcJj`n@Y;G_U^w|JNw}{PsszOZ@^pu~g%=<*5t8i@sZd!c;cNg3 rNrzJ|$>MkCy6+T8fCK8raeW?B`_-}~sN{(V*7t9d5=-+G@=*4lX8)60 literal 0 HcmV?d00001 diff --git a/pushswap.h b/pushswap.h index 8ad7308..76b3dbb 100644 --- a/pushswap.h +++ b/pushswap.h @@ -6,7 +6,7 @@ /* By: cchauvet # include # include +# include # define STOP_VALUE 4294967295 int ft_isnum(char *str); diff --git a/test.c b/test.c new file mode 100644 index 0000000..790e7d2 --- /dev/null +++ b/test.c @@ -0,0 +1,29 @@ +/* ************************************************************************** */ +/* */ +/* ::: :::::::: */ +/* test.c :+: :+: :+: */ +/* +:+ +:+ +:+ */ +/* By: cchauvet