diff --git a/a1/program.c b/a1/program.c new file mode 100644 index 0000000..503e20d --- /dev/null +++ b/a1/program.c @@ -0,0 +1,5 @@ +#include + +int main(){ + return 0; +} diff --git a/du4/program b/du4/program index f2a08ae..b650674 100755 Binary files a/du4/program and b/du4/program differ diff --git a/du4/program.c b/du4/program.c index ea1a107..d40a9f5 100644 --- a/du4/program.c +++ b/du4/program.c @@ -2,13 +2,12 @@ int main(){ int c[999]; - int a, i = 0; + int i = 0; int vysledok; char riadok[999]; char *endptr = NULL; char need; while(1){ - a++; char* r = fgets(riadok,999,stdin); if(*r == '\n'){ break;