From f366f76d80dc1925df7a39858785beb190cc39a7 Mon Sep 17 00:00:00 2001 From: Pavlo Tverdyi Date: Thu, 9 Apr 2020 10:11:18 +0000 Subject: [PATCH] =?UTF-8?q?=D0=98=D0=B7=D0=BC=D0=B5=D0=BD=D0=B8=D1=82?= =?UTF-8?q?=D1=8C=20'du5/program.c'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- du5/program.c | 20 ++++---------------- 1 file changed, 4 insertions(+), 16 deletions(-) diff --git a/du5/program.c b/du5/program.c index 32eddb6..c7621f5 100644 --- a/du5/program.c +++ b/du5/program.c @@ -62,13 +62,7 @@ void Sort_Struct(struct LIS *list,int count){//bubble sort :) list[j]=ilusion; } if(list[i].num==list[j].num){ - if(strlen(list[i].sname)>strlen(list[j].sname)){\ - val=strlen(list[i].sname); - } - else{ - val=strlen(list[j].sname); - } - for(int k=0;kstrlen(list[j].fname)){\ - val=strlen(list[i].fname); - } - else{ - val=strlen(list[j].fname); - } - for(int l=0;l