diff options
feat!: Update dunbar and update tables syntax
1 files changed, 76 insertions, 15 deletions
| -rw-r--r-- | src/teaching/upp-2023/week12/index.du | 91 |
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 |