diff --git a/algorithm.c b/algorithm.c index 6032833..69a95a9 100644 --- a/algorithm.c +++ b/algorithm.c @@ -1060,7 +1060,7 @@ void aux_2(creneau* edt, int len_edt, colleur* chads, int len_chads, int n_group if(k >= a) { printf("\x1b[1F"); printf("\x1b[2K"); - printf("%d% Completed (current max is %d/%d)\n", 100*a/n_sim, max_score, 100*n_groups); + printf("%d%% Completed (current max is %d/%d)\n", 100*a/n_sim, max_score, 100*n_groups); a += n_sim/100; } local_score = 0; @@ -1103,7 +1103,7 @@ void aux_2(creneau* edt, int len_edt, colleur* chads, int len_chads, int n_group if(max_score == 100*n_groups) { printf("Interrupting early due to a perfect score achieved\n"); } else { - printf("100% Completed, best score is %d/%d (without skip penalty) with %d skipped colle(s)\n", max_score+global_skipped*30, 100*n_groups, global_skipped); + printf("100%% Completed, best score is %d/%d (without skip penalty) with %d skipped colle(s)\n", max_score+global_skipped*30, 100*n_groups, global_skipped); printf("Most screwed group is %d with a score of %d/100\n", screwed_group, global_min); printf("Stats for all groups are :\n"); for(int i = 0; i < n_groups; i++) {