summaryrefslogtreecommitdiffstats
path: root/mat
diff options
context:
space:
mode:
authorsijanec <anton@sijanec.eu>2020-12-23 11:56:04 +0100
committersijanec <anton@sijanec.eu>2020-12-23 11:56:04 +0100
commitf51a07bcef2d261a896f3d765b1153772539abf0 (patch)
tree736f4923e5f68f359243d6376f924ea016c1071e /mat
parentnapaka pri nalogi nemščine (diff)
parentmerge (diff)
downloadsola-gimb-2-f51a07bcef2d261a896f3d765b1153772539abf0.tar
sola-gimb-2-f51a07bcef2d261a896f3d765b1153772539abf0.tar.gz
sola-gimb-2-f51a07bcef2d261a896f3d765b1153772539abf0.tar.bz2
sola-gimb-2-f51a07bcef2d261a896f3d765b1153772539abf0.tar.lz
sola-gimb-2-f51a07bcef2d261a896f3d765b1153772539abf0.tar.xz
sola-gimb-2-f51a07bcef2d261a896f3d765b1153772539abf0.tar.zst
sola-gimb-2-f51a07bcef2d261a896f3d765b1153772539abf0.zip
Diffstat (limited to 'mat')
-rw-r--r--mat/advent/8/Makefile3
-rwxr-xr-xmat/advent/8/a.outbin8440 -> 0 bytes
-rw-r--r--mat/advent/8/prog.c28
-rwxr-xr-xmat/advent/8/vsotabin8344 -> 0 bytes
-rw-r--r--mat/advent/8/vsota.c11
-rw-r--r--mat/domace_naloge/7/dokumen.tex0
6 files changed, 0 insertions, 42 deletions
diff --git a/mat/advent/8/Makefile b/mat/advent/8/Makefile
deleted file mode 100644
index ec92f02..0000000
--- a/mat/advent/8/Makefile
+++ /dev/null
@@ -1,3 +0,0 @@
-default:
- gcc prog.c
- gcc vsota.c -ovsota
diff --git a/mat/advent/8/a.out b/mat/advent/8/a.out
deleted file mode 100755
index 9fea777..0000000
--- a/mat/advent/8/a.out
+++ /dev/null
Binary files differ
diff --git a/mat/advent/8/prog.c b/mat/advent/8/prog.c
deleted file mode 100644
index 172cbe0..0000000
--- a/mat/advent/8/prog.c
+++ /dev/null
@@ -1,28 +0,0 @@
-#include <stdio.h>
-#include <stdlib.h>
-int main (int argc, char ** argv) {
- if (argc != 1+3) {
- fprintf(stderr, "uporaba: %s <od> <do> <n>\nprimer: %s 1000 9999 8499\n", argv[0], argv[0]);
- return 1;
- }
- unsigned long long int o = strtoull(argv[1], NULL, 10);
- unsigned long long int d = strtoull(argv[2], NULL, 10);
- unsigned long long int n = strtoull(argv[3], NULL, 10);
- unsigned long long int i = o;
- unsigned long long int j = o;
- unsigned long long int s = 0;
- for (i = o; i <= d; i++) {
- fprintf(stderr, "\rpreostane še %llu iteracij", n-i);
- s = 0;
- for (j = o; j <= d; j++) {
- if (j == i)
- continue;
- s += j;
- }
- if (n * i == s)
- break;
- }
- fprintf(stdout, "\rče seštejemo vsa števila od %llu do %llu, razen %llu, bo\n"
- "vsota vseh %llu, kar je %llu*%llu.\n", o, d, i, s, n, i);
- return 0;
-}
diff --git a/mat/advent/8/vsota b/mat/advent/8/vsota
deleted file mode 100755
index 7581730..0000000
--- a/mat/advent/8/vsota
+++ /dev/null
Binary files differ
diff --git a/mat/advent/8/vsota.c b/mat/advent/8/vsota.c
deleted file mode 100644
index 50d4ef6..0000000
--- a/mat/advent/8/vsota.c
+++ /dev/null
@@ -1,11 +0,0 @@
-#include <stdio.h>
-#include <stdlib.h>
-int main (int argc, char ** argv) {
- unsigned long long int a = 0;
- unsigned long long int i = 0;
- for (i = 1000; i <= 9999; i++) {
- a += i;
- }
- fprintf(stdout, "rezultat vsote je: %llu\n", a);
- return 0;
-}
diff --git a/mat/domace_naloge/7/dokumen.tex b/mat/domace_naloge/7/dokumen.tex
deleted file mode 100644
index e69de29..0000000
--- a/mat/domace_naloge/7/dokumen.tex
+++ /dev/null