diff --git a/du6/program.c b/du6/program.c index 4643a31..1a3858d 100644 --- a/du6/program.c +++ b/du6/program.c @@ -65,6 +65,7 @@ void sort(struct LIS* list,int count){ struct LIS ilusion; char *min; int mini; + if(list[0].num==0 || list[0].num==1) for(int i=0;i<=count-1;i++){ min=list[i].name; mini=i;