From d486c225fbc45446a0243411b235e57a31744ce1 Mon Sep 17 00:00:00 2001 From: Yaroslav Orlianskyi Date: Wed, 9 Mar 2022 15:12:14 +0100 Subject: [PATCH] SAD --- du2/.program.c.swl | Bin 4096 -> 0 bytes du2/.program.c.swm | Bin 4096 -> 0 bytes du2/program.c | 2 ++ 3 files changed, 2 insertions(+) delete mode 100644 du2/.program.c.swl delete mode 100644 du2/.program.c.swm diff --git a/du2/.program.c.swl b/du2/.program.c.swl deleted file mode 100644 index ee5b49d4711b8e2b28dcfb04c32d423262f44227..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 4096 zcmYc?2=nw+FxN9-00IF9hP8_{lGLa3GUT{3FjVFnn-~@6f@JW5{M^*^M7$~>l66o6 z^$W_fl8ub?Q%a5W3ySj7ixPA7l8Mkis$?_-Mniy-5a4AnHZn9&R#H?D77C@rpi#Y} fAut*OqaiRF0;3@?8UmvsFd71*Aut*OLofsY8=n>P diff --git a/du2/.program.c.swm b/du2/.program.c.swm deleted file mode 100644 index 0339d0975bbc5e90c907233be8acfe47ebb014ca..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 4096 zcmYc?2=nw+FxN9-00IF92DL>RNov!185~?07%KCPO^k|jK{9wjer{@dB3=~`$vUWk z`UPcK$wo%{DWyjG1x5MkMTxn3$wcTMRWcd^qai>^2=Fo(8yOlXD=8`n3x!f*(5T+g f5Eu=C(GVC7fzc2c4S~@R7!85Z5Eu=CAs7Mx$H5gn diff --git a/du2/program.c b/du2/program.c index 7360311..e5aaff7 100644 --- a/du2/program.c +++ b/du2/program.c @@ -11,6 +11,8 @@ int main(){ int value = 0; int r = scanf("%d",&value); if (r == 1){ + if(r < 0 && r > 1000) + continue; results[i] = value; if(max < results[i]){ max = results[i];