diff --git a/src/algorithm.c b/src/algorithm.c index 6480762..8b169cf 100644 --- a/src/algorithm.c +++ b/src/algorithm.c @@ -1129,7 +1129,7 @@ void aux_2(creneau* edt, int len_edt, colleur* chads, int len_chads, int n_group info("Interrupting early due to a perfect score achieved"); } else { info("100%% Completed, best score is %d/%d (without skip penalty) with %d skipped colle(s)", max_score+global_skipped*30, 100*n_groups, global_skipped); - info("Most screwed group is %d with a score of %d/100\n", screwed_group, global_min); + info("Most screwed group is %d with a score of %d/100", screwed_group, global_min); info("Stats for all groups are :"); for(int i = 0; i < n_groups; i++) { info("Group %d : %d/100", i+1, group_stats[i]); diff --git a/src/main.c b/src/main.c index 208ea9f..e85cc0d 100644 --- a/src/main.c +++ b/src/main.c @@ -45,9 +45,9 @@ int main(int argc, char **argv) { int n_groups = str_to_int(argv[6]); char* path_output = argv[7]; - trace("%d %d %d %d\n", n_creneaux, n_colleurs, n_weeks, n_groups); + trace("%d %d %d %d", n_creneaux, n_colleurs, n_weeks, n_groups); - info("Starting\n"); + info("Starting"); srand(time(NULL)); //creneau* edt = import_creneaux("file.txt", 76);