diff --git a/du6/program.c b/du6/program.c index 1f5b7fe..b3dc19b 100644 --- a/du6/program.c +++ b/du6/program.c @@ -53,11 +53,14 @@ int main() pole_smernikov[pm] = all; pm++; } + if(antiInfC == 0){ + antiInfC++; + continue; + } if((line[0] == '\n' || isalpha(line[0])!=0 ) && antiInfC == 1 && r == '\n') { break; } r = line[0]; - antiInfC++; } free(line); k = 0;