From a2ac0f14815fab3de4881902a63d6a2f935f8ebe Mon Sep 17 00:00:00 2001 From: Yaroslav Orlianskyi Date: Wed, 9 Mar 2022 15:33:44 +0100 Subject: [PATCH] ASD --- du2/program | Bin 5790 -> 5790 bytes du2/program.c | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/du2/program b/du2/program index 5cc081a3cc3093fb66468db448ef878d0e22b0a5..8b16f7b764b0cc0244ce9b8d6d77de4c02bd04ef 100755 GIT binary patch delta 131 zcmbQIJ5P5*1*3@C>s3W}+!J;Of9}2PowjOWM6f~7<{riZX7=ViDgulQ43n8ypQx1n z{r|tYMMVP0XMFkaACR*L%wZ_yJIm$j+>{Px{qpQ-Q4q~GW-0s%{`0-%xv8*Dl*MKCNr}>Q7QZT z|9^9fiUcDA1LMm_|A3r5U=Bkm-*Fa|n06M97s->k*$f#KC)=`_GQOT%%%;0}K3gXv g{|lfN21h=QRwgH2R^}(0%{eA=Grrh-Qurzp0E?zDF#rGn diff --git a/du2/program.c b/du2/program.c index 51ea535..f66900d 100644 --- a/du2/program.c +++ b/du2/program.c @@ -10,7 +10,7 @@ int main(){ while(1){ int value = 0; int r = scanf("%d",&value); - if (value == 1 && value > 0){ + if (r == 1 && value > 0){ results[i] = value; if(max < results[i]){ max = results[i];