From 0b6c52741caec0be288133df7d0245f6b6c0d362 Mon Sep 17 00:00:00 2001 From: Yaroslav Orlianskyi Date: Thu, 17 Mar 2022 17:29:23 +0100 Subject: [PATCH] ASD --- du3/program | Bin 5294 -> 6466 bytes du3/program.c | 20 +++++++++----------- 2 files changed, 9 insertions(+), 11 deletions(-) diff --git a/du3/program b/du3/program index 865dc0909f6a6f65a440afac927149c10aaa633e..c6cec6b99826729141ffdc76af53dc57302538c4 100755 GIT binary patch delta 1533 zcmZ8hZD?Cn7=F*WAGvLs#5Pd|)Ae@C(1}Yl4Okqwxpj`pm=09%*GSvDG;5l4$-Tv? z?824}N)g^`tVlLl^c3x+?ca@6 zy^fYwK?-be_vxkaY-aI#>hh&5?}+D^S{mQm%7|YUTM9%6rAG&j+UcJlV|BRsU%a`* z=Bs?<&i5B!?Fl0-QXK|fN?PaS{)8dd+q34k!hal?WP)_%-)rfX5~_-*ix~1^3v!W! z%VM$cAofB^QjfjKL0B^!Wb8};9#x=uLV?D|2%2tGYA#93K!M=L4s+BEuF>Wz4#GT% zpo;}~p}h*faWnBR0OMWebmla7ZP@sbOCu<+3>#BinkR5$@73fxn z$?_S05 zKuf+5-xHrmvvi;N(f$FE#(|3z;j*8|jHBm}5I(3FC@Xk`DJ!6G1|cRu_m9v-I?wZQ zuq5s*4kZ3hCg25M8!SQdje5CJn#=JohZ&Mbmbv!zWlU9e*jZ)ex4{eZjQOP^e1&yG z>~pL9mXzpQt=G!7a{RV>y$>CE!#-dabI<1rl%J{3IeFKcb#l$w{Hc0=v{*oZZ_efC z7fwtS3i)YolzP3qTC-BFIny>bU3j}bO`ab?Q!}Lo&6O%OYB)`=>QZy2-f-=QA1PHm zCnUH@+DXE4AbGC@)P;Hk^g1s#a=FlsDZ*lve9g%NJwMv|sBR(|uFDmS`g)8`s0`mHgI} zJ-SJ^4>~O(p@`CvO}YbpMCZdE93ovl(D@Ij4uq8lRZqAlZ1`-*6>#@fHtD$O%b_l! zZbCN}6^N{18^q#)2NomR5+^#k{7GU*qBunK8K%zPjnU int main(){ - int c, result; + int result = 0; int value = 0; int vxod[999]; - int a = 0; + //i`nt a = 0; for(int i = 0; i < 4; i++){ - c = scanf("%d",&value);; - vxod[i] = c; - a = i; + scanf("%d",&value);; + vxod[i] = value; + //a = i; + } + //result = vxod[0]; + for(int i = 1; i < 4; i++){ + result = vxod[0] * result + vxod[i]; } - value = 0; - result = vxod[0]; - do{ - result = result * vxod[value] + 1; - value++; - }while(value < a); printf("%d\n", result); return 0; }