From 0f7b5e48ccbf6e9f3cfbebd8dd2d2cee2e9ff7ef Mon Sep 17 00:00:00 2001 From: Artem Horbunov Date: Tue, 7 Apr 2020 15:16:22 +0000 Subject: [PATCH] =?UTF-8?q?Aktualizovat=20=E2=80=9Edu5/program.c=E2=80=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- du5/program.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/du5/program.c b/du5/program.c index befd007..b7bbd8c 100644 --- a/du5/program.c +++ b/du5/program.c @@ -67,7 +67,7 @@ int main(){ int test = 0; for(int q = 0; q < newPos; q++){ if(newName[i][pos] < newName[i + 1][pos]){ - printf("Letters %c %c\n", newName[i][pos], newName[i + 1][pos]); + // printf("Letters %c %c\n", newName[i][pos], newName[i + 1][pos]); int tmpScore = newScore[i]; newScore[i] = newScore[i + 1]; newScore[i + 1] = tmpScore; @@ -76,7 +76,7 @@ int main(){ strcpy(tmpName, newName[i]); strcpy(newName[i], newName[i + 1]); strcpy(newName[i + 1], tmpName); - printf("If\n"); + // printf("If\n"); break; } else if(newName[i][pos] > newName[i + 1][pos]){