From bae377a3535bc2b5d7344443d36444399c8666f7 Mon Sep 17 00:00:00 2001 From: ak643du Date: Mon, 22 Apr 2024 14:08:04 +0200 Subject: [PATCH] Initialization --- cv10/program.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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++) {