From b8fb261544f379b99ed7be9ff466d8dddfa66dad Mon Sep 17 00:00:00 2001 From: Peter Petrek Date: Wed, 19 Jan 2022 17:41:10 +0100 Subject: [PATCH] . --- sk1a/Makefile | 4 ++-- sk1a/main.o | Bin 0 -> 3528 bytes sk1a/maze.c | 4 ++-- sk1a/maze.o | Bin 0 -> 5216 bytes sk1a/program | Bin 0 -> 10435 bytes 5 files changed, 4 insertions(+), 4 deletions(-) create mode 100644 sk1a/main.o create mode 100644 sk1a/maze.o create mode 100755 sk1a/program diff --git a/sk1a/Makefile b/sk1a/Makefile index 45d0a8e..151f84a 100644 --- a/sk1a/Makefile +++ b/sk1a/Makefile @@ -1,5 +1,5 @@ CC = gcc -CFLAGS = -g -Wall -Werror +CFLAGS = -g -Wall -Werror -std=c99 all: program @@ -13,4 +13,4 @@ main.o: main.c $(CC) $(CFLAGS) -c main.c -o main.o clean: - rm -rf program *.o *.exe *.exe.stackdump \ No newline at end of file + rm -rf program *.o *.exe *.exe.stackdump diff --git a/sk1a/main.o b/sk1a/main.o new file mode 100644 index 0000000000000000000000000000000000000000..b81127b94add79de72c0445057f9d810fb9e0c83 GIT binary patch literal 3528 zcma)9YiJx*6ux(Mc6Zv{Y}!Vf+NvF8tMRo-YkbwJX`9tXi-NYbVl&*7%A`H`CO@H#+bBBAgU1!&7wNWVD zuE2Pq3n5)!Bi-P-k+(;AH@UUQd!?dV5Ub{HRn$2Ni80A`fd_iC?bCKv-8yXjFo~l# zK-;Ob%VxG^`=@8+L5b_Yw(OvMcLqK=TR+l;^>3(Emq!urd~F%m`@MF1t+j2FL^=1pLBzA z(XABxz%LbiF@P<#xBy|x(=p0b7+xlaJgWEGvXdE5OF9z-EBP?NPUe&`@r*LYzX8PT zc%c*u%i)~^l05`FzE?r=D8ROBBr-7yh|3!>%7iL31eGE`#E{rWEm6T}JtUIBZjkE~ zv7H2P5Z9uDkjcn6Da2yA3pUwG15@$tFQ%mjO6m)0OQ>35SL%MU_8p3~FRBRXa#k$- zR5(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XH|0{CL`$7AE*U0ZU=3lO{L*uy`RbMc0-xzncMi*#- H_h|eF(9qrQ literal 0 HcmV?d00001 diff --git a/sk1a/maze.c b/sk1a/maze.c index 875b82c..d843731 100644 --- a/sk1a/maze.c +++ b/sk1a/maze.c @@ -97,7 +97,7 @@ int solve_maze(char* maze, int size) { } else if (posX == size - 1 && posY == size - 1) { maze2d[0][0] = '*'; - //cleanup data bits + //cleanuup data bits for (int y = 0; y < size; y++) { for (int x = 0; x < size; x++) { if (maze2d[y][x] == CHECKED_BIT || maze2d[y][x] == 0) { @@ -124,7 +124,7 @@ int solve_maze(char* maze, int size) { maze[y * size + x] = maze2d[y][x]; } } - printf("\nend"); + printf("\n\nend"); return 1; } } diff --git a/sk1a/maze.o b/sk1a/maze.o new file mode 100644 index 0000000000000000000000000000000000000000..b5580822cccf7d46ccce58b605d2031d7b13af68 GIT binary patch literal 5216 zcma)AYiv}<6`r|wy}n*AUYq5S1e!XjQNRgnAoL-iDaKsDJd=Qdv`OgNzJ6f5YxY45 zfjaHQz-pnv2sKnnfV4zODkM{hq!vcRF)r)Ss4@~MR_Y)A0Tu4%M-!!mG*t9Eb7$-| zS=0{N`Oa&;Idf+2+-us*)yp{NOf}AQHl{IlaDwBRFJLB{!u+f%abwfQ_4a4G6T=Df zRMIqj@3Td%aZeY;j6CCJEafWkK)!kB?%lh|HQvOUlcIk;X`Zxi@`TxyeBor$d|k+A zVN6{5fX2dfjxh0+ud_d~=2+s2uk+9Pnq#;A#;+tU-#6~4j5{jhs)*ay*?X=KT=w5N zA4r*pNfzX{;)k1h3TO2lT3TY*JuG3KNtxGa){$SJOPRwYr-Mn;o9Oj*R$Wh;!+apo zi)HcwEYx?QC*dk_R(78d)FQX5l~{5_Ns?>MBt9i7ekEBo%r76%Y;b~iq3PZIT4t?m z^E&L;VfP)3Q0*|o(h?U!C@C>%${Zp&WeyUg`QfBFX!mdo*|QAdp%pw?btWokY> zWs&is*4Pu-Jy?r9T-e?d_omFNF3^p9fi7t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}g(l=A*HXauCmF|7-N#R3djy}x3(BEn+7M9a)ZGpf0Uhz0tJA_q; zM_xLi&Gc)flU4zKJidEsu3;Nx#+R$+IR8q-usU~r_X#0gci(92cDRf>w^47b!mm`g zR=R&KQO`ej?V6AcO!$l+lvUF8h6?cE<%+$m^US43dYfC2NEZeW|bJ;oicK5~dOXaEZKVkp{1)@8fW5H@*EaG5;k|Nf& zKn$f|f!bg!$O6^TC<{cwjzZ2_t2$o4r7=_&Mu?Du)zuMehtjr%YcOCmFc=Aj>Mi0J zHEnAQSt=USvOrC^x!FR=0-iHYRb0}1|^g4 zw;-oER8v0M6D5=HuZSxqK{n+JLeI=^F%qLcHz_~5z*Tp)SkkGZSnuaUWOb$>va8^Gp9I;|yqR;7>kf)s4C7?TKKzJ} z>P~ZJ@=eEic@#F)6ra)+X4+ls^SjDUIR1Y{NY9*sbhT<{l+NgTW~}L>Ppf0o#g1nB zGb=@W>ea8}$8Uzt@XeCZbg}X=gU+a`V@*ee=nPS#yJ8}C5MLRijp|1Cg=(a$*HOj` zqa_{_w|Pqh_j?^eO7YVWOkXC18zs`mB1Z{!l8#jBP#)5ofTUZm$w6}!x9nW###ODg|5zL8RT9N#IQV`l^?HdRi7!ihMdCq; zMZLjn#3Ct|0z+YdV#ly5aT9GER`6LST50& zxRMa#HcS0^iI%j-rB3@my!4Gvctqk`65o}0L1M4OzexO4;%5^7AyMobIyx`JOXq>G I7^ngN3*IPFX8-^I literal 0 HcmV?d00001 diff --git a/sk1a/program b/sk1a/program new file mode 100755 index 0000000000000000000000000000000000000000..4f1e3e6a5dc8082d40a95859fd0ede4644951195 GIT binary patch literal 10435 zcmeHNe{@t;e!p*KGI=D!Odu$TR7VX89GnCM7Xe*DcnHWZAs|-P$0Re!3?wsg=8Xmx z7I6fe4rvqXQM$E)E$ez(JmH+GrNX*_AVIoqc}*d`l#$|_2nQ}BpJGJbwpognRvhyJYt#fWro4mKX} z^gNt)?BoZq#70n3{{B2XkcUqO-hi00z2n$fx?b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