Initialization
This commit is contained in:
parent
9cef985af2
commit
549752d5ca
@ -20,7 +20,7 @@ int main() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
i = 0;
|
i = 0;
|
||||||
while (scanf("%s", buffer) == 1 && strcmp(buffer, "") != 0) {
|
while (i < count && scanf("%s", buffer) == 1) {
|
||||||
int found = 0;
|
int found = 0;
|
||||||
for (j = 0; j < i; j++) {
|
for (j = 0; j < i; j++) {
|
||||||
if (strcmp(applications[j], buffer) == 0) {
|
if (strcmp(applications[j], buffer) == 0) {
|
||||||
|
Loading…
Reference in New Issue
Block a user