Summary Files Commits Branches @commit @diff @stats
path: root / src / teaching / upp-2023 / week9
diff options
context:
space:
mode:
Commit41bdf08f4c5a23b43c18b3e6d8e4ffd15ffdac17 (patch)
Author
 Syndamia <kamen@syndamia.com>
2025-08-20 05:38:38 +0300
Committer
 Syndamia <kamen@syndamia.com>
2025-08-20 05:38:38 +0300
Filesdfc0ab9d8ec784061d74625f45b71aa6162883a9 /src/teaching/upp-2023/week9
syndamia.com-41bdf08f4c5a23b43c18b3e6d8e4ffd15ffdac17.tar
syndamia.com-41bdf08f4c5a23b43c18b3e6d8e4ffd15ffdac17.tar.gz
syndamia.com-41bdf08f4c5a23b43c18b3e6d8e4ffd15ffdac17.zip
Parentdd1159d8a053817b9f89902d6ddff4fce1675894 (diff)
fix: Correct code blocks
2 files changed, 32 insertions, 31 deletions
-rw-r--r--src/teaching/upp-2023/week9/ex6-io.txt28
-rw-r--r--src/teaching/upp-2023/week9/index.du35
diff --git a/src/teaching/upp-2023/week9/ex6-io.txt b/src/teaching/upp-2023/week9/ex6-io.txt
new file mode 100644
index 0000000..3318a6a
--- /dev/null
+++ b/src/teaching/upp-2023/week9/ex6-io.txt
@@ -0,0 +1,28 @@
+9
+text
+text
+Matched
+text
+test
+No match
+a*
+a
+Matched
+ca*
+c
+Matched
+ca*
+caaaa
+Matched
+n?
+n
+Matched
+mn?
+m
+Matched
+0*573
+0000005723
+No match
+*abc
+ops
+Bad regex
diff --git a/src/teaching/upp-2023/week9/index.du b/src/teaching/upp-2023/week9/index.du
index af2f853..a0c2c1d 100644
--- a/src/teaching/upp-2023/week9/index.du
+++ b/src/teaching/upp-2023/week9/index.du
@@ -66,8 +66,8 @@ GitHub classroom: [url https://classroom.github.com/a/lGXxCRZO classroom.github.
Пример: вход: "0.А", изход:
```
- 0: 0 0 0 0 0 0 0 0
- 8: 0 0 0
+0: 0 0 0 0 0 0 0 0
+8: 0 0 0
- "адрес: стойност", записваме "стойност" на дадения адрес.
Стойноста също е 16-тично число.
@@ -110,7 +110,7 @@ GitHub classroom: [url https://classroom.github.com/a/lGXxCRZO classroom.github.
.table
|=Вход=||=Изход=|
-|:100000000000111111111000000000000000000\n010000000000000000000111111111000000000\n001000000000000000000000000000111111111\n000100000000100000000100000000100000000\n000010000000010000000010000000010000000\n000001000000001000000001000000001000000\n000000100000000100000000100000000100000\n000000010000000010000000010000000010000\n000000001000000001000000001000000001000\n000000000100000000100000000100000000100\n000000000010000000010000000010000000010\n000000000001000000001000000001000000001\n:||:&-0123456789ABCDEFGHIJKLMNOPQR/STUVWXYZ:|
+|:<pre>100000000000111111111000000000000000000\n010000000000000000000111111111000000000\n001000000000000000000000000000111111111\n000100000000100000000100000000100000000\n000010000000010000000010000000010000000\n000001000000001000000001000000001000000\n000000100000000100000000100000000100000\n000000010000000010000000010000000010000\n000000001000000001000000001000000001000\n000000000100000000100000000100000000100\n000000000010000000010000000010000000010\n000000000001000000001000000001000000001\n</pre>:||:&-0123456789ABCDEFGHIJKLMNOPQR/STUVWXYZ:|
## Задача 6
@@ -153,31 +153,4 @@ GitHub classroom: [url https://classroom.github.com/a/lGXxCRZO classroom.github.
*[Смесен вход/изход]*
```
-9
-text
-text
-Matched
-text
-test
-No match
-a*
-a
-Matched
-ca*
-c
-Matched
-ca*
-caaaa
-Matched
-n?
-n
-Matched
-mn?
-m
-Matched
-0*573
-0000005723
-No match
-*abc
-ops
-Bad regex
+'include ./ex6-io.txt