summaryrefslogtreecommitdiffstats
path: root/inf/rtk
diff options
context:
space:
mode:
Diffstat (limited to 'inf/rtk')
-rw-r--r--inf/rtk/2020-offline/.gitignore (renamed from inf/rtk/offline/.gitignore)0
-rw-r--r--inf/rtk/2020-offline/Makefile (renamed from inf/rtk/offline/Makefile)0
-rw-r--r--inf/rtk/2020-offline/npk.c (renamed from inf/rtk/offline/npk.c)0
-rw-r--r--inf/rtk/2020-offline/offline.h (renamed from inf/rtk/offline/offline.h)0
-rw-r--r--inf/rtk/2020-offline/origprog.c (renamed from inf/rtk/offline/origprog.c)0
-rw-r--r--inf/rtk/2020-offline/razdeli.c (renamed from inf/rtk/offline/razdeli.c)0
-rw-r--r--inf/rtk/2020-offline/resi.c (renamed from inf/rtk/offline/resi.c)0
-rw-r--r--inf/rtk/2020-offline/test.txt (renamed from inf/rtk/offline/test.txt)0
-rw-r--r--inf/rtk/2021-offline/.gitignore2
-rw-r--r--inf/rtk/2021-offline/Makefile11
-rw-r--r--inf/rtk/2021-offline/prog.c21
-rw-r--r--inf/rtk/2021-offline/screenshot.tgabin0 -> 5787648 bytes
12 files changed, 34 insertions, 0 deletions
diff --git a/inf/rtk/offline/.gitignore b/inf/rtk/2020-offline/.gitignore
index ffeb5c9..ffeb5c9 100644
--- a/inf/rtk/offline/.gitignore
+++ b/inf/rtk/2020-offline/.gitignore
diff --git a/inf/rtk/offline/Makefile b/inf/rtk/2020-offline/Makefile
index dde543e..dde543e 100644
--- a/inf/rtk/offline/Makefile
+++ b/inf/rtk/2020-offline/Makefile
diff --git a/inf/rtk/offline/npk.c b/inf/rtk/2020-offline/npk.c
index a18b38a..a18b38a 100644
--- a/inf/rtk/offline/npk.c
+++ b/inf/rtk/2020-offline/npk.c
diff --git a/inf/rtk/offline/offline.h b/inf/rtk/2020-offline/offline.h
index 9724846..9724846 100644
--- a/inf/rtk/offline/offline.h
+++ b/inf/rtk/2020-offline/offline.h
diff --git a/inf/rtk/offline/origprog.c b/inf/rtk/2020-offline/origprog.c
index 631d61d..631d61d 100644
--- a/inf/rtk/offline/origprog.c
+++ b/inf/rtk/2020-offline/origprog.c
diff --git a/inf/rtk/offline/razdeli.c b/inf/rtk/2020-offline/razdeli.c
index 24c36c1..24c36c1 100644
--- a/inf/rtk/offline/razdeli.c
+++ b/inf/rtk/2020-offline/razdeli.c
diff --git a/inf/rtk/offline/resi.c b/inf/rtk/2020-offline/resi.c
index 43f97cc..43f97cc 100644
--- a/inf/rtk/offline/resi.c
+++ b/inf/rtk/2020-offline/resi.c
diff --git a/inf/rtk/offline/test.txt b/inf/rtk/2020-offline/test.txt
index 139597f..139597f 100644
--- a/inf/rtk/offline/test.txt
+++ b/inf/rtk/2020-offline/test.txt
diff --git a/inf/rtk/2021-offline/.gitignore b/inf/rtk/2021-offline/.gitignore
new file mode 100644
index 0000000..356b6d7
--- /dev/null
+++ b/inf/rtk/2021-offline/.gitignore
@@ -0,0 +1,2 @@
+pokrajina-unix.in
+*.out
diff --git a/inf/rtk/2021-offline/Makefile b/inf/rtk/2021-offline/Makefile
new file mode 100644
index 0000000..8a3f96f
--- /dev/null
+++ b/inf/rtk/2021-offline/Makefile
@@ -0,0 +1,11 @@
+default:
+ @echo "offline naloga in rešitev za ijs.rtk. recepti:"
+ @echo "- make pripravi: prenese datoteke, potrebne za nalogo"
+ @echo "- make prevedi: naredi program"
+ @echo "to je vse, hvala."
+
+pripravi:
+ wget http://rtk.ijs.si/2021/pokrajina/pokrajina-unix.in -c
+
+prevedi:
+ gcc -Wall -pedantic -I. -g -oa.out prog.c
diff --git a/inf/rtk/2021-offline/prog.c b/inf/rtk/2021-offline/prog.c
new file mode 100644
index 0000000..4415e9d
--- /dev/null
+++ b/inf/rtk/2021-offline/prog.c
@@ -0,0 +1,21 @@
+#include <stdio.h>
+#include <stdlib.h>
+struct kvader {
+ size_t x; /* velikosti kvadra */
+ size_t y; /* x in y lahko poljubno obračamo */
+ size_t z;
+}
+struct naloga {
+ size_t w; /* širina zemljevida */
+ size_t h; /* višina zemljevida */
+ size_t ** v;/* 2D seznam višin, [vrstica][stolpec] */
+ size_t k_sizeof; /* število kvadrov */
+ struct kvader * k; /* 1D seznam možnih kvadrov */
+}
+int vhod (FILE * f, struct * naloga) {
+
+}
+int main (int argc, char ** argv) {
+
+ return 0;
+}
diff --git a/inf/rtk/2021-offline/screenshot.tga b/inf/rtk/2021-offline/screenshot.tga
new file mode 100644
index 0000000..9b6e9e3
--- /dev/null
+++ b/inf/rtk/2021-offline/screenshot.tga
Binary files differ