From 3e76694b5e58bc62a7237e3cf49055ae6f79c9e7 Mon Sep 17 00:00:00 2001 From: Peter Petrek Date: Thu, 14 Oct 2021 23:53:24 +0200 Subject: [PATCH] pray --- cv2/program | Bin 6313 -> 6373 bytes cv2/program.c | 29 +++++++++++++++++------------ 2 files changed, 17 insertions(+), 12 deletions(-) diff --git a/cv2/program b/cv2/program index 1830a60762e0d17c41953adc7664cf1919f86ef7..3f92406690072323876e858a6706ee0c97a6bc0e 100755 GIT binary patch delta 2026 zcmZ8iYiv_x82--bX?IR3YrA%%o0FE=jY~GxVFM*jWMo5(n4lZCfH)$;i7dKAKw>6i z=>{A|ladb;85iLP35GxDynw$31;&24851(Yq?i#pSIo@ROc)-Y_iGErlbk;1d7t-t zFW;@7*W9a#2c+{y=e)hF(#{yYR))vLm;?~E9!0IhTMI)yURzd|ff4vephbF)UR`W= zX&7iIs>|TAw8#6|f$!z2bysG7`QF8*D5@fli-eNfS>wCDKV78x))p>X-^P)+ab6)_ue;3Qh&+0pe!_ zr$Y33#N&cfL3)Vze&Tb=sWLr6hF0*J2V0E0(b0)DO>gK)Oo`sgWoz}~op7q6Ifzc# zK9naDm*CI3`gZ-f*0>i<`}&n2iRR!yA|BgS!7dT2()kYS{MUr=0|{SM(5U?{wm@XN zJz}VuYD3l=R?#|%6`HV%AQdi&Z1+k{!URWw&+1aN{S7Y@-uTdXV3~w+s_aD=Yb_N5` zr16#guu_r2LkXsep$?x6`k+1y5IYtOk^5jQe*TteLLl8(p@=yAx~-<2nnnhd;%)m+ zypJE7CVDFsc~EpNPlK>KyL^}o#0yfqt5<&YOM^pGXpDH)jFFB92NjAe_6hZYD0>Z5 z`#z%dcLq!6w^I*{jW=dHFU5H3e2~1cSTa(lewh}zvRdp&rm34%8?al3mn$Qig{zfZ zzlAHBBUcG^5WbM9s_m3mjMzIP)(YQ;!%JP$HdWSHoS>dx-sv0p}x%f)XIuAk4$ql zqTGh96*vO7lfY)=x(TF%r%1d&E0d=m^2J)&#%=JF=(4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{T%L zah6%-YiJY8oMjq4XS3o*hg&o|oz^s1+Aa=3Vc^0V;;ge=qpKUhZh=TRojf3BoK?J8 z6uYW;gQ#~^Dfhg6AGqwijcP<2%)%T5j4CCx&_j)n>Ls+`Nu`g9CbTddAwDXb(8AmV zm`9#_B&P;wV_{y&sf#S1Pw+gWUb2D(1dO`La-ZbXQkK*B@q~*CceR2yWV?IaJo(;0 z$Z-~XfjEt?-HVh|R9tmGw|gpAD@UzyX!Esj)G{Wmv!NMkp9as@#@T%K7kIum(%W#a z@}+U+V}9^nvCZ=`H^gV2Y8TBLE|}Vk`3-daV#HGoo#yqsmgICUrIt9@l z$?k^7JXXY3;V+LO(5-Tzmsh}7h*qz^lFlP5b+Vl~t9+h);8Pu{KEuUD?=lxXCUm7K MV3bVz9(q&Ce-h= 0){ - printf("%s", databaza[counter2].name); - printf("%f\n", databaza[counter2].price); - counter2--; + for(int z=0; zprice == s2->price){ - return 0; + int order; + + if(s1.price > s2.price){ + order = 1; } - else if(s1->price < s2->price){ - return 1; + else if(s1.price < s2.price){ + order = -1; } - return -1; + else { + order = 0; + } + return order; } \ No newline at end of file