summaryrefslogtreecommitdiffstats
path: root/mat/advent/5
diff options
context:
space:
mode:
authorsijanec <sijanecantonluka@gmail.com>2020-12-14 00:04:39 +0100
committersijanec <sijanecantonluka@gmail.com>2020-12-14 00:04:39 +0100
commitddff09bb8def69d35c43649736dd4c3a5f0aef7f (patch)
tree776b3e0fa9a05c6feab0b753ed21ab011ff28afd /mat/advent/5
parentweekend reading 6 (diff)
parentodstranil dependency za f5ff, domača naloga 20 pri matematiki (diff)
downloadsola-gimb-2-ddff09bb8def69d35c43649736dd4c3a5f0aef7f.tar
sola-gimb-2-ddff09bb8def69d35c43649736dd4c3a5f0aef7f.tar.gz
sola-gimb-2-ddff09bb8def69d35c43649736dd4c3a5f0aef7f.tar.bz2
sola-gimb-2-ddff09bb8def69d35c43649736dd4c3a5f0aef7f.tar.lz
sola-gimb-2-ddff09bb8def69d35c43649736dd4c3a5f0aef7f.tar.xz
sola-gimb-2-ddff09bb8def69d35c43649736dd4c3a5f0aef7f.tar.zst
sola-gimb-2-ddff09bb8def69d35c43649736dd4c3a5f0aef7f.zip
Diffstat (limited to 'mat/advent/5')
-rw-r--r--mat/advent/5/Makefile2
-rw-r--r--mat/advent/5/advent5.ggbbin0 -> 18797 bytes
-rwxr-xr-xmat/advent/5/n1bin0 -> 8344 bytes
-rw-r--r--mat/advent/5/n1.c12
4 files changed, 14 insertions, 0 deletions
diff --git a/mat/advent/5/Makefile b/mat/advent/5/Makefile
new file mode 100644
index 0000000..34bc506
--- /dev/null
+++ b/mat/advent/5/Makefile
@@ -0,0 +1,2 @@
+default:
+ gcc n1.c -pedantic -o n1
diff --git a/mat/advent/5/advent5.ggb b/mat/advent/5/advent5.ggb
new file mode 100644
index 0000000..709a1e3
--- /dev/null
+++ b/mat/advent/5/advent5.ggb
Binary files differ
diff --git a/mat/advent/5/n1 b/mat/advent/5/n1
new file mode 100755
index 0000000..ae9cfe7
--- /dev/null
+++ b/mat/advent/5/n1
Binary files differ
diff --git a/mat/advent/5/n1.c b/mat/advent/5/n1.c
new file mode 100644
index 0000000..2d3c38f
--- /dev/null
+++ b/mat/advent/5/n1.c
@@ -0,0 +1,12 @@
+#include <stdio.h>
+#define ce if
+#define stevilka int
+#define niz char **
+#define glavna main
+#define za for
+stevilka glavna (stevilka argc, niz argv) {
+ za (stevilka i = 10; i <= 99; i++) {
+ ce (i*10+2 == (2*100+i) + 72)
+ fprintf(stderr, "našel številko %d2\n", i);
+ }
+}