From baebffb6dfb4cfaaf59265251f64302c0a23eced Mon Sep 17 00:00:00 2001 From: Andrii Hermaniuk Date: Fri, 22 Apr 2022 09:36:58 +0200 Subject: [PATCH] sds --- du6/program.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/du6/program.c b/du6/program.c index 3790ee1..2412dd6 100644 --- a/du6/program.c +++ b/du6/program.c @@ -38,9 +38,9 @@ int main(){ } qsort(pole_smernikov, pocet_mien_v_poli, sizeof(char*), compare); int skip=0; - for(int j = 0; j='a'&&pole_smernikov[j][i]<='z')||(pole_smernikov[j][i]>='A'&&pole_smernikov[j][i]<='Z')){ + if(pole_smrnikov[j][i]=='\n'||pole_smernikov[j][i]==' '||(pole_smernikov[j][i]>='a'&&pole_smernikov[j][i]<='z')||(pole_smernikov[j][i]>='A'&&pole_smernikov[j][i]<='Z')){ continue; } else{