diff --git a/cv10/program.c b/cv10/program.c index 3fac192..e050364 100644 --- a/cv10/program.c +++ b/cv10/program.c @@ -15,7 +15,7 @@ int main() { return 1; } - while (scanf("%s", temp_name) != EOF && num_accepted < max_students) { + while (scanf(" %s", temp_name)!= EOF && num_accepted < max_students) { int i, found = 0; for (i = 0; i < num_accepted; i++) {