From 3ce1e4ec5d42f984f61b2741492bfcb19a250eaa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michaela=20=C5=A0akov=C3=A1?= Date: Sun, 24 Mar 2019 18:03:19 +0100 Subject: [PATCH] test --- anketa | Bin 11635 -> 11543 bytes anketa.c | 27 +++++++-------------------- anketa.o | Bin 6892 -> 6808 bytes 3 files changed, 7 insertions(+), 20 deletions(-) diff --git a/anketa b/anketa index ef07d6e9a3b5dcfda45d0053bcb65029f5b22a8d..bb610391b91d4545d7dffce6cef19b3ec72c4164 100755 GIT binary patch delta 3959 zcmb7HeQ;FO6~FiGeY-awlHDYm4`8#|?BZQ^uningW=w5V|;W~zZYPHLx)Umc=TY%*XQC9NqS+w;5cZOZ=1 zn|be?-#O==bI*PE{oZ?5xBO&FN50XY*IDo#UnH3^oF=2g%@`-4ZO;lB>Fmx3N%C1ZDD2 z%5suD>bUXIj@lDKI;l_(NfT*Fx~Sk&kOpHdkPgP$AZd69B*hbB`h&RZe`XKeWV zU`KnTh@Az}@dJ}a>l*`VT;#9S5$_`6bP(SnRD8q11zige0l& z)-BcQ)t#=DS;Mq!qkp;)i#1hFaJzEOO?AZOD|(+?w&ghrXs_&`(a0n|`oE_|z2nNs zSW2auCSwujo0Z36mwP&BiPWSkR8UXjy0L2Q8$&Z&H--e-+(wPHuOLkNBWke>W}l$p zamxVddb!RIszzDJH>>C6p?lreW3j!o;%$_$gXHTZdr5j|C5B0MlN={GO43bRe>!C; zC;3B?RU}8$zNBJ)QXNkU@(J~FlHYLMP#-4c1s2)~*}c%>ht84Jfh~OM0uk+ zlM;>IPtRfeKyHJrqbCsYjA73^_#&D--$m#kDSMlRe4T<3W-Q0$ujO=g z2-ghqI=FN|7_R*g!j+|sPLo8`VVDakR0#92{SoGnWmxr82D)a?4bTta7l%u^F z24N1sk^{@rk86wT0TQNgisu2jGZmw6k}fK6&s^8&a?DKQ2WX7kN5FLREhLO>K_+V` z*!1!);GmF4;m)$5l$&XYnQg;VxeCEKHg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CH;_5==?W-kTa{)$J!c9C&tbBeXVnz;93%7<3vFjv{1{cWkW;X^ zxCcqyJ2jMr_E2DWiwu|W2wAn_&L&KU18dMrY|D&!(7lSA%3o@akHKG;TFuFodINPk zUQh1NQ_5;$X_EB}R$IY@$49yq^imxy2O^$7gEC&D)}`h~bjNAMoKVN1h|i+QRf7ND zI?n&wa3cS`<5+D*B=c>kQnwjlw;8+3i1;oe;=7E9?=m93%S1$cn-TZ48BCg($&Y{- z{#?D{MXn7CB()zA-+n}V`w{W&M-=j3!e_Gmhyec$V20th`j5D`|0Jbb{YS+29}(Yw z#2ntKBU=4OJj5?(X!Rcv-+x4W{}J*1N5uCZ@gMz1#P=T&-+x3c|GiFZ_a9;RA8~>P ztox5RX^q|LKcb6OY|jZ{91g=7KiCvOWz6D-+An2P8vH?(m~}1xgBIDhx%|3gXEiefcUC(ciJLadvHH!jMW(M+ce2L# zg!)_d{Pyyk1V`lSwAR@UNpz*=!`QdhMffpWMs$_MOQNls-yw;0EMeKE~R=ocA_w|2RM2;M*1Vd0lkK8O3VPQa*3G`l`?E#KBTZms;s7bm@N}{0ptt z$^$;P8HO^fe(LkP=u||1P(tgjLe~jNr@9FpowK{9bh8TGrv9~33kv-%`a5b%BEOcx zboBys9guXWCg=vi4MHb%%=e(9W9E?hu&{&=DbrtK6u8xw{Ke*aH%^DD&hIxWJZd)t z-_F7TMeX&ct1f?vxe>>>&saz#q98Jqg7Hw#I+4AEo zjo}l(CJW)r!#*ZkyAYhG*%|&@alC^1k+)W%oJ$4K}KbsQ>@~ diff --git a/anketa.c b/anketa.c index 54fb2fb..28eb939 100644 --- a/anketa.c +++ b/anketa.c @@ -27,27 +27,14 @@ int search(struct student* students,const char* name){ } int add_student(struct student* students, const char* name, int votes){ - int index=-1, x=0; - for(int i=0; in9 zwA|3Csum+u7+S0PL8o{-E8RNP4RMwDib1;fsZ*deru0U21oU1*A5;!*qFvaQ;r& z^`>kVuEg{W0-|f&%D9OezHlodMw!4Lc7+?Zc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