Aktualizovat „du5/program.c“

This commit is contained in:
Artem Horbunov 2020-04-07 14:35:24 +00:00
parent 1f114e76ed
commit 7e66c53777

View File

@ -52,7 +52,7 @@ int main(){
strcpy(newName[i], newName[i + 1]); strcpy(newName[i], newName[i + 1]);
strcpy(newName[i + 1], tmpName); strcpy(newName[i + 1], tmpName);
i = 0; i = -1;
} }
else if(newScore[i] == newScore[i + 1]){ else if(newScore[i] == newScore[i + 1]){
int test = 0; int test = 0;
@ -80,6 +80,7 @@ int main(){
break; break;
} }
} }
i = -1;
} }
} }