From 98ce44061d82684c1a8f2bb46498090caae5d37f Mon Sep 17 00:00:00 2001 From: sijanec Date: Wed, 9 Dec 2020 21:13:54 +0100 Subject: advent 5 --- mat/advent/5/Makefile | 2 ++ mat/advent/5/advent5.ggb | Bin 0 -> 18797 bytes mat/advent/5/n1 | Bin 0 -> 8344 bytes mat/advent/5/n1.c | 12 ++++++++++++ slo/predstavitev/1/README.md | 2 ++ 5 files changed, 16 insertions(+) create mode 100644 mat/advent/5/Makefile create mode 100644 mat/advent/5/advent5.ggb create mode 100755 mat/advent/5/n1 create mode 100644 mat/advent/5/n1.c create mode 100644 slo/predstavitev/1/README.md 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 Binary files /dev/null and b/mat/advent/5/advent5.ggb differ diff --git a/mat/advent/5/n1 b/mat/advent/5/n1 new file mode 100755 index 0000000..ae9cfe7 Binary files /dev/null and b/mat/advent/5/n1 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 +#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); + } +} diff --git a/slo/predstavitev/1/README.md b/slo/predstavitev/1/README.md new file mode 100644 index 0000000..21ed1b2 --- /dev/null +++ b/slo/predstavitev/1/README.md @@ -0,0 +1,2 @@ +Plašč in nakit - moralna pokvarjenost francoskega naroda +======================================================== -- cgit v1.2.3