Summary Files Commits Branches @commit @diff @stats
path: root / src / teaching / upp-2023 / week12
diff options
context:
space:
mode:
Commit14ef028e688d17d272410431014067f7b911cb55 (patch)
Author
 Syndamia <kamen@syndamia.com>
2025-11-07 20:41:20 +0200
Committer
 Syndamia <kamen@syndamia.com>
2025-11-07 20:41:20 +0200
Files2673f547297bcc070bf2ff43daa15b3bd96f6217 /src/teaching/upp-2023/week12
syndamia.com-14ef028e688d17d272410431014067f7b911cb55.tar
syndamia.com-14ef028e688d17d272410431014067f7b911cb55.tar.gz
syndamia.com-14ef028e688d17d272410431014067f7b911cb55.zip
Parentffc492129d35c8bb837da2e8f139d9f75ecf1319 (diff)
feat!: Update dunbar and update tables syntax
1 files changed, 76 insertions, 15 deletions
-rw-r--r--src/teaching/upp-2023/week12/index.du91
diff --git a/src/teaching/upp-2023/week12/index.du b/src/teaching/upp-2023/week12/index.du
index da5284d..4596fda 100644
--- a/src/teaching/upp-2023/week12/index.du
+++ b/src/teaching/upp-2023/week12/index.du
@@ -23,11 +23,43 @@ GitHub classroom: [url https://classroom.github.com/a/KEDSxDjl classroom.github.
=[Примери:]=
-.table
-|=Вход=||=Изход=|
-|:3\n1 4\n2 5\n3 1\n4:||:3:|
-|:3\n1 4\n2 5\n3 6\n3:||:0:|
-|:6\n50 56\n50 59\n64 80\n46 64\n50 75\n5 17\n190:||:150<!-- https://people.sc.fsu.edu/~jburkardt/datasets/knapsack_01/knapsack_01.html -->:|
+:table_2
+|= Вход
+|= Изход
+
+|:
+```
+3
+1 4
+2 5
+3 1
+4
+
+|: 3
+
+|:
+```
+3
+1 4
+2 5
+3 6
+3
+
+|: 0
+
+|:
+```
+6
+50 56
+50 59
+64 80
+46 64
+50 75
+5 17
+190
+
+|: 150
+.comment https://people.sc.fsu.edu/~jburkardt/datasets/knapsack_01/knapsack_01.html
## Задача 2
@@ -46,9 +78,28 @@ GitHub classroom: [url https://classroom.github.com/a/KEDSxDjl classroom.github.
=[Пример:]=
-.table
-|=Вход=||=Изход=|
-|:5 11\n<pre>- - # # - - - - - - -\n- # - - # - - - - - -\n# - - - - # # # # # #\n- # - - # - - - # - #\n- - # # - - - - - - -</pre>2 2:||:<pre>- - # # - - - - - - -\n- # # # # - - - - - -\n# # # # # # # # # # #\n- # # # # - - - # - #\n- - # # - - - - - - -</pre>:|
+:table_2
+|= Вход
+|= Изход
+
+|:
+```
+5 11
+- - # # - - - - - - -
+- # - - # - - - - - -
+\# - - - - # # # # # #
+- # - - # - - - # - #
+- - # # - - - - - - -
+2 2
+
+|:
+```
+- - # # - - - - - - -
+- # # # # - - - - - -
+\# # # # # # # # # # #
+- # # # # - - - # - #
+- - # # - - - - - - -
+
## Задача 3
@@ -65,9 +116,13 @@ GitHub classroom: [url https://classroom.github.com/a/KEDSxDjl classroom.github.
=[Пример:]=
-.table
-|=Вход=||=Изход=|
-|: :||:92 :|
+:table_2
+|= Вход
+|= Изход
+
+|:
+|: 92
+
=[Бонус:]= направете програмата да изкарва всяко решение
@@ -107,10 +162,16 @@ GitHub classroom: [url https://classroom.github.com/a/KEDSxDjl classroom.github.
=[Примери:]=
-.table
-|=Вход=||=Изход=|
-|:1 2 '+ 3 / $:||:1:|
-|:1 4 3 2 ^ * '+ 14 7 / '- $:||:35:|
+:table_2
+|= Вход
+|= Изход
+
+|: 1 2 '+ 3 / $
+|: 1
+
+|: 1 4 3 2 ^ * '+ 14 7 / '- $
+|: 35
+
## Attribution