summaryrefslogtreecommitdiffstats
path: root/mat/advent/5/n1.c
diff options
context:
space:
mode:
authorsijanec <sijanecantonluka@gmail.com>2020-12-09 21:13:54 +0100
committersijanec <sijanecantonluka@gmail.com>2020-12-09 21:13:54 +0100
commit98ce44061d82684c1a8f2bb46498090caae5d37f (patch)
tree09d722c58404429862616bacfac7677f5f77367f /mat/advent/5/n1.c
parentnemščina 9. decembra 20290 (diff)
downloadsola-gimb-2-98ce44061d82684c1a8f2bb46498090caae5d37f.tar
sola-gimb-2-98ce44061d82684c1a8f2bb46498090caae5d37f.tar.gz
sola-gimb-2-98ce44061d82684c1a8f2bb46498090caae5d37f.tar.bz2
sola-gimb-2-98ce44061d82684c1a8f2bb46498090caae5d37f.tar.lz
sola-gimb-2-98ce44061d82684c1a8f2bb46498090caae5d37f.tar.xz
sola-gimb-2-98ce44061d82684c1a8f2bb46498090caae5d37f.tar.zst
sola-gimb-2-98ce44061d82684c1a8f2bb46498090caae5d37f.zip
Diffstat (limited to '')
-rw-r--r--mat/advent/5/n1.c12
1 files changed, 12 insertions, 0 deletions
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);
+ }
+}