From b93fc7eaedf9b7de85d17583346ba2330de8693f Mon Sep 17 00:00:00 2001 From: Yaroslav Orlianskyi Date: Fri, 18 Mar 2022 13:50:52 +0100 Subject: [PATCH] SAD --- du3/program | Bin 7898 -> 7906 bytes du3/program.c | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/du3/program b/du3/program index 6578e8890e2bf602994325ddb75dce9e4e2f43d0..436af7d5f34d1140e16c8182c5cbf871d906c6be 100755 GIT binary patch delta 357 zcmca*`^a{J0^^>Iis6hR7MWccR`XLAGH%dZT@kbC-de7gvo`lI8Z&$HZ)4!!cc8OH zWrHvSLpPLSX#T-fq6g=7x~NFp2I8ABDl#`+RAhh>dw{BM# z@BjZ3b}#_J$-|p-S>+k|KY}=pd>pMzPQ0v4Z#U0oJITlk76eHE!Nkdh95Rf#oBKFU zGBM^(j^Os^Yh-3%U@qC9F38c!!r?c0E4K|Z8%xyYciej!*>#1lGxIX(Y~IA1$E5iI zsGo_UlmkSA%w%FHVF6NLpbR9tfVc;UUv2gjn9R8OmS7nR(l*~{H delta 354 zcmaE4d&_o$0^^pAis6hR$=8AtN()XLoBRFE<3r->SKNpV3E$kqXv}Qi*`l&Rn1P`i zLh)~7u;D7vLh#aNq;$%9}AQI?WI!y_yZ|>tb$;6mEIfC1t zZvjx4xnzU7;J+3Y4wuPWxotLo=ibH0t}c9?nU_gp^A6rTCe3F+MNAB(93UEG9uq?e z3y=Z>WgyuA#7#i_V6(r#WX8=;1WQ;L`zJ?=DKq`&o?IuU#`=kef#Kd{LowmWd&C47 zFHAlwrq0SDz`$Su7UK~YV6>SmE3VEMGT9YKE}5JQBvUp|74K(Ze7;##W-k)}|5$5o diff --git a/du3/program.c b/du3/program.c index af5957a..9013cdc 100644 --- a/du3/program.c +++ b/du3/program.c @@ -7,7 +7,7 @@ int main(){ float result = 0; while(1){ - char* r = fgets(riadok,999,stdin); + int* r = *fgets(riadok,999,stdin); if(*r != '\n') vxod[i++] = *r; /*else if(*r <= 255 && *r >= 0){