Initialization
This commit is contained in:
parent
286056678a
commit
6527362089
@ -24,7 +24,7 @@ int main() {
|
||||
|
||||
memset(names, 0, sizeof(names));
|
||||
|
||||
while (fgets(temp_name, sizeof(temp_name), stdin)!= NULL && num_accepted < max_students) {
|
||||
while (fgets(temp_name, sizeof(temp_name), stdin) != NULL && num_accepted < max_students) {
|
||||
|
||||
int i, found = 0;
|
||||
|
||||
@ -43,7 +43,6 @@ int main() {
|
||||
}
|
||||
num_students++;
|
||||
|
||||
|
||||
if (num_accepted == max_students) {
|
||||
break;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user