Изменить 'du6/program.c'

This commit is contained in:
Pavlo Tverdyi 2020-04-16 21:24:40 +00:00
parent fc1741376f
commit 1a7067a4c0

View File

@ -92,8 +92,8 @@ void print(struct LIS *list,int count,int places){
} }
} }
void AAAAA(struct LIS* list, int count,int places){ void AAAAA(struct LIS* list, int count,int places){
for(int i=0;i<count-1;i++){ for(int i=0;i<count*2-1;i++){
for(int j=i+1;j<count;j++){ for(int j=i+1;j<count*2;j++){
if(strcmp(list[i].fname,list[j].fname)==0 && list[j].num!=-1){ if(strcmp(list[i].fname,list[j].fname)==0 && list[j].num!=-1){
list[j].num=-1; list[j].num=-1;
} }