Actualiser algorithm.c

This commit is contained in:
Valentin Moguérou 2024-04-15 16:58:39 +02:00
parent 4e918c2a27
commit c76f2f7c1b
1 changed files with 2 additions and 2 deletions

View File

@ -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++) {