diff options
fix: Correct code blocks
2 files changed, 32 insertions, 31 deletions
| -rw-r--r-- | src/teaching/upp-2023/week9/ex6-io.txt | 28 | ||||
| -rw-r--r-- | src/teaching/upp-2023/week9/index.du | 35 |
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 |