Summary Files Commits Branches @commit @diff @stats
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
syndamia.com-14ef028e688d17d272410431014067f7b911cb55.tar
syndamia.com-14ef028e688d17d272410431014067f7b911cb55.tar.gz
syndamia.com-14ef028e688d17d272410431014067f7b911cb55.zip
Parentffc492129d35c8bb837da2e8f139d9f75ecf1319 (diff)
feat!: Update dunbar and update tables syntax
36 files changed, 4099 insertions, 1354 deletions
m---------dunbar0
-rw-r--r--ext/global.du2
-rw-r--r--src/blog/fmi-i-vissheto-obrazovanie-v-programistkata-industriq/balove-2021.du149
-rw-r--r--src/blog/how-to-encrypt-email/index.du295
-rw-r--r--src/blog/sane-explanation-of-compilers/part-1/index.du94
-rw-r--r--src/blog/windows-run-dialog/index.du147
-rw-r--r--src/index.du51
-rw-r--r--src/regarding-js.du101
-rw-r--r--src/setup.du204
-rw-r--r--src/setup/index.du204
-rw-r--r--src/slides/demo/index.du34
-rw-r--r--src/slides/linuxgraphy-by-strabo/index.du35
-rw-r--r--src/styles.css8
-rw-r--r--src/teaching/oop-2023/index.du86
-rw-r--r--src/teaching/oop-2023/week1/index.du144
-rw-r--r--src/teaching/oop-2023/week2/index.du23
-rw-r--r--src/teaching/upp-2023/additional1/index.du192
-rw-r--r--src/teaching/upp-2023/index.du85
-rw-r--r--src/teaching/upp-2023/week1/index.du27
-rw-r--r--src/teaching/upp-2023/week10/index.du159
-rw-r--r--src/teaching/upp-2023/week11/index.du268
-rw-r--r--src/teaching/upp-2023/week12/index.du91
-rw-r--r--src/teaching/upp-2023/week13/index.du153
-rw-r--r--src/teaching/upp-2023/week2/index.du149
-rw-r--r--src/teaching/upp-2023/week3/index.du224
-rw-r--r--src/teaching/upp-2023/week4/index.du22
-rw-r--r--src/teaching/upp-2023/week5/index.du112
-rw-r--r--src/teaching/upp-2023/week6/index.du91
-rw-r--r--src/teaching/upp-2023/week7/index.du42
-rw-r--r--src/teaching/upp-2023/week8/index.du104
-rw-r--r--src/teaching/upp-2023/week9/index.du152
-rw-r--r--src/teaching/upp-2025/index.du138
-rw-r--r--src/teaching/upp-2025/week03/index.du384
-rw-r--r--src/teaching/upp-2025/week04/index.du438
-rw-r--r--src/teaching/upp-2025/week05/index.du540
-rw-r--r--src/teaching/upp-2025/week06/index.du505
diff --git a/dunbar b/dunbar
-Subproject 46d9a95c1565700771dbe8dac06980c1a0ef55b
+Subproject f5c54400063fa8d19b0ef2a89ca42c24a94ea27
diff --git a/ext/global.du b/ext/global.du
index 5f38aed..8034f98 100644
--- a/ext/global.du
+++ b/ext/global.du
@@ -96,8 +96,6 @@ The gap is only for visual purposes.
'define_block solution-link <div class="exercise-solution">&lt; &gt;</div>
-'define examples_bg .table |=Вход=||=Изход=|
-
# Other
'define line <hr>
diff --git a/src/blog/fmi-i-vissheto-obrazovanie-v-programistkata-industriq/balove-2021.du b/src/blog/fmi-i-vissheto-obrazovanie-v-programistkata-industriq/balove-2021.du
index ca16262..9f98e46 100644
--- a/src/blog/fmi-i-vissheto-obrazovanie-v-programistkata-industriq/balove-2021.du
+++ b/src/blog/fmi-i-vissheto-obrazovanie-v-programistkata-industriq/balove-2021.du
@@ -30,36 +30,131 @@
## Първо класиране
-.table
-|=Специалност - форма на обучение=||=Минимален бал=||=Мин. оценка по Математика I=||=Мин. оценка по Математика II=|
-|:Софтуерно инженерство - редовно:||:20.57:||:5.828:||:4.857:|
-|:Компютърни науки - редовно:||:19.45:||:5.380:||:4.483:|
-|:Информатика - редовно:||:14.88:||:3.552:||:3.000:|
-|::||::||::||::|
-|:Софтуерно инженерство - платено редовно:||:18.73:||:5.092:||:4.243:|
-|:Компютърни науки - платено редовно:||:17.63:||:4.652:||:3.877:|
-|:Информатика - платено редовно:||:*[11.62]*:||:3.000:||:3.000:|
+:table_4
+|= Специалност - форма на обучение
+|= Минимален бал
+|= Мин. оценка по Математика I
+|= Мин. оценка по Математика II
+
+|: Софтуерно инженерство - редовно
+|: 20.57
+|: 5.828
+|: 4.857
+
+|: Компютърни науки - редовно
+|: 19.45
+|: 5.380
+|: 4.483
+
+|: Информатика - редовно
+|: 14.88
+|: 3.552
+|: 3.000
+
+|:
+|:
+|:
+|:
+
+|: Софтуерно инженерство - платено редовно
+|: 18.73
+|: 5.092
+|: 4.243
+
+|: Компютърни науки - платено редовно
+|: 17.63
+|: 4.652
+|: 3.877
+
+|: Информатика - платено редовно
+|: *[11.62]*
+|: 3.000
+|: 3.000
+
## Второ класиране
-.table
-|=Специалност - форма на обучение=||=Минимален бал=||=Мин. оценка по Математика I=||=Мин. оценка по Математика II=|
-|:Софтуерно инженерство - редовно:||:20.27:||:5.708:||:4.757:|
-|:Компютърни науки - редовно:||:18.79:||:5.116:||:4.263:|
-|:Информатика - редовно:||:*[10.64]*:||:3.000:||:3.000:|
-|::||::||::||::|
-|:Софтуерно инженерство - платено редовно:||:16.63:||:4.252:||:3.543:|
-|:Компютърни науки - платено редовно:||:14.81:||:3.524:||:3.000:|
-|:Информатика - платено редовно:||:-:||:-:||:-:|
+:table_4
+|= Специалност - форма на обучение
+|= Минимален бал
+|= Мин. оценка по Математика I
+|= Мин. оценка по Математика II
+
+|: Софтуерно инженерство - редовно
+|: 20.27
+|: 5.708
+|: 4.757
+
+|: Компютърни науки - редовно
+|: 18.79
+|: 5.116
+|: 4.263
+
+|: Информатика - редовно
+|: *[10.64]*
+|: 3.000
+|: 3.000
+
+|:
+|:
+|:
+|:
+
+|: Софтуерно инженерство - платено редовно
+|: 16.63
+|: 4.252
+|: 3.543
+
+|: Компютърни науки - платено редовно
+|: 14.81
+|: 3.524
+|: 3.000
+
+|: Информатика - платено редовно
+|: -
+|: -
+|: -
+
## Трето класиране
-.table
-|=Специалност - форма на обучение=||=Минимален бал=||=Мин. оценка по Математика I=||=Мин. оценка по Математика II=|
-|:Софтуерно инженерство - редовно:||:-:||:-:||:-:|
-|:Компютърни науки - редовно:||:19.22:||:5.288:||:4.406:|
-|:Информатика - редовно:||:*[12.00]*:||:3.000:||:3.000:|
-|::||::||::||::|
-|:Софтуерно инженерство - платено редовно:||:16.63:||:4.252:||:3.543:|
-|:Компютърни науки - платено редовно:||:17.15:||:4.460:||:3.717:|
-|:Информатика - платено редовно:||:-:||:-:||:-:|
+:table_4
+|= Специалност - форма на обучение
+|= Минимален бал
+|= Мин. оценка по Математика I
+|= Мин. оценка по Математика II
+
+|: Софтуерно инженерство - редовно
+|: -
+|: -
+|: -
+
+|: Компютърни науки - редовно
+|: 19.22
+|: 5.288
+|: 4.406
+
+|: Информатика - редовно
+|: *[12.00]*
+|: 3.000
+|: 3.000
+
+|:
+|:
+|:
+|:
+
+|: Софтуерно инженерство - платено редовно
+|: 16.63
+|: 4.252
+|: 3.543
+
+|: Компютърни науки - платено редовно
+|: 17.15
+|: 4.460
+|: 3.717
+
+|: Информатика - платено редовно
+|: -
+|: -
+|: -
diff --git a/src/blog/how-to-encrypt-email/index.du b/src/blog/how-to-encrypt-email/index.du
index 403bde9..5518d55 100644
--- a/src/blog/how-to-encrypt-email/index.du
+++ b/src/blog/how-to-encrypt-email/index.du
@@ -100,164 +100,189 @@ When writing a message, don't forget to check if encryption is turned on for thi
*[Freemium means it has a free and a paid tier. Premium means you have to pay for it. FOSS means it's free and open source. FreemiumOSS means it is free and open source, but also has paid tiers.]*
-:table
-|= Client =||= Type =||= Platform =||= PGP/Inline =||= PGP/MIME =||= S/MIME =|
+:table_6
+'define 1 ^[[url #1 1]]^
+'define 2 ^[[url #2 2]]^
+'define 3 ^[[url #3 3]]^
+'define * ^[[url #* *]]^
-|= Web =||::||::||::||::||::|
+|= Client
+|= Type
+|= Platform
+|= PGP/Inline
+|= PGP/MIME
+|= S/MIME
-|:Gmail:|
- |:Freemium:|
- |:Web:|
- |:[url https://flowcrypt.com/ Yes]^[[url #1 1]]^:|
- |:[url https://flowcrypt.com/ Yes]^[[url #1 1]]^:|
- |:[url https://support.google.com/a/answer/6374496?hl=en&ref_topic=9061730 Yes]^[[url #2 2]]^:|
+|= Web
+|:
+|:
+|:
+|:
+|:
-|:Outlook:|
- |:Freemium:|
- |:Web:|
- |:No:|
- |:No:|
- |:[url https:://support.microsoft.com/en-us/office/encrypt-email-messages-373339cb-bf1a-4509-b296-802a39d801dc#bkmk_encryptwithsmime Yes]^[[url #2 2]]^:|
+|: Gmail
+|: Freemium
+|: Web
+|: [url https://flowcrypt.com/ Yes][$1]
+|: [url https://flowcrypt.com/ Yes][$1]
+|: [url https://support.google.com/a/answer/6374496?hl=en&ref_topic=9061730 Yes][$2]
-|:iCloud mail:|
- |:Freemium:|
- |:Web:|
- |:[url https://support.apple.com/en-us/HT201214 Yes]:|
- |:[url https://support.apple.com/en-us/HT201214 Yes]:|
- |:[url https://support.apple.com/en-us/HT202345 Yes]:|
+|: Outlook
+|: Freemium
+|: Web
+|: No
+|: No
+|: [url https:://support.microsoft.com/en-us/office/encrypt-email-messages-373339cb-bf1a-4509-b296-802a39d801dc#bkmk_encryptwithsmime Yes][$2]
-|:Yahoo!:|
- |:Freemium:|
- |:Web:|
- |:No:|
- |:No:|
- |:No:|
+|: iCloud mail
+|: Freemium
+|: Web
+|: [url https://support.apple.com/en-us/HT201214 Yes]
+|: [url https://support.apple.com/en-us/HT201214 Yes]
+|: [url https://support.apple.com/en-us/HT202345 Yes]
-|:Protonmail:|
- |:Freemium:|
- |:Web:|
- |:[url https://proton.me/support/how-to-use-pgp Yes]:|
- |:[url https://proton.me/support/how-to-use-pgp Yes]:|
- |:No:|
+|: Yahoo!
+|: Freemium
+|: Web
+|: No
+|: No
+|: No
-|:Roundcube:|
- |:Self-hosted:|
- |:Web:|
- |:[url https://github.com/roundcube/roundcubemail/tree/master/plugins/enigma Yes]^[[url #1 1]]^:|
- |:[url https://github.com/roundcube/roundcubemail/tree/master/plugins/enigma Yes]^[[url #1 1]]^:|
- |:[url https://github.com/roundcube/roundcubemail/issues/4977 No]:|
+|: Protonmail
+|: Freemium
+|: Web
+|: [url https://proton.me/support/how-to-use-pgp Yes]
+|: [url https://proton.me/support/how-to-use-pgp Yes]
+|: No
-|:Rainloop:|
- |:Self-hosted:|
- |:Web:|
- |:Yes:|
- |:[url https://github.com/RainLoop/rainloop-webmail/issues/1798 No]:|
- |:No:|
+|: Roundcube
+|: Self-hosted
+|: Web
+|: [url https://github.com/roundcube/roundcubemail/tree/master/plugins/enigma Yes][$1]
+|: [url https://github.com/roundcube/roundcubemail/tree/master/plugins/enigma Yes][$1]
+|: [url https://github.com/roundcube/roundcubemail/issues/4977 No]
-|= Desktop =||::||::||::||::||::|
+|: Rainloop
+|: Self-hosted
+|: Web
+|: Yes
+|: [url https://github.com/RainLoop/rainloop-webmail/issues/1798 No]
+|: No
-|:Thunderbird:|
- |:FOSS:|
- |:Windows, MacOS, Linux:|
- |:[url https://support.mozilla.org/en-US/kb/openpgp-thunderbird-howto-and-faq#w_i-have-never-used-openpgp-with-thunderbird-before-how-do-i-setup-openpgp Yes]:|
- |:[url https://support.mozilla.org/en-US/kb/openpgp-thunderbird-howto-and-faq#w_i-have-never-used-openpgp-with-thunderbird-before-how-do-i-setup-openpgp Yes]:|
- |:[url https://support.mozilla.org/en-US/kb/openpgp-thunderbird-howto-and-faq Yes]:|
+|= Desktop
+|:
+|:
+|:
+|:
+|:
-|:Outlook:|
- |:Premium:|
- |:Windows, MacOS:|
- |:No:|
- |:No:|
- |:[url https://support.microsoft.com/en-us/office/encrypt-email-messages-373339cb-bf1a-4509-b296-802a39d801dc#bkmk_encryptwithsmime Yes]:|
+|: Thunderbird
+|: FOSS
+|: Windows, MacOS, Linux
+|: [url https://support.mozilla.org/en-US/kb/openpgp-thunderbird-howto-and-faq#w_i-have-never-used-openpgp-with-thunderbird-before-how-do-i-setup-openpgp Yes]
+|: [url https://support.mozilla.org/en-US/kb/openpgp-thunderbird-howto-and-faq#w_i-have-never-used-openpgp-with-thunderbird-before-how-do-i-setup-openpgp Yes]
+|: [url https://support.mozilla.org/en-US/kb/openpgp-thunderbird-howto-and-faq Yes]
-|:Mailbird:|
- |:Premium:|
- |:Windows:|
- |:[url https://mailbird.featureupvote.com/suggestions/74494/pgp-encryption-support No]:|
- |:[url https://mailbird.featureupvote.com/suggestions/74494/pgp-encryption-support No]:|
- |:[url https://mailbird.featureupvote.com/suggestions/160861/smime-support No]:|
+|: Outlook
+|: Premium
+|: Windows, MacOS
+|: No
+|: No
+|: [url https://support.microsoft.com/en-us/office/encrypt-email-messages-373339cb-bf1a-4509-b296-802a39d801dc#bkmk_encryptwithsmime Yes]
-|:Evolution:|
- |:FOSS:|
- |:Linux:|
- |:[url https://help.gnome.org/users/evolution/stable/mail-encryption-gpg-set-up.html.en Yes]:|
- |:[url https://help.gnome.org/users/evolution/stable/mail-encryption-gpg-set-up.html.en Yes]:|
- |:[url https://help.gnome.org/users/evolution/stable/mail-encryption-s-mime-manage.html.en Yes]:|
+|: Mailbird
+|: Premium
+|: Windows
+|: [url https://mailbird.featureupvote.com/suggestions/74494/pgp-encryption-support No]
+|: [url https://mailbird.featureupvote.com/suggestions/74494/pgp-encryption-support No]
+|: [url https://mailbird.featureupvote.com/suggestions/160861/smime-support No]
-|:Sylpheed:|
- |:FOSS:|
- |:Windows, MacOS, Linux:|
- |:[url https://sylpheed.sraoss.jp/doc/manual/en/sylpheed-8.html#ss8.2 Yes]:|
- |:[url https://sylpheed.sraoss.jp/doc/manual/en/sylpheed-8.html#ss8.2 Yes]:|
- |:[url https://www.sraoss.jp/pipermail/sylpheed/2011-May/004551.html No]:|
+|: Evolution
+|: FOSS
+|: Linux
+|: [url https://help.gnome.org/users/evolution/stable/mail-encryption-gpg-set-up.html.en Yes]
+|: [url https://help.gnome.org/users/evolution/stable/mail-encryption-gpg-set-up.html.en Yes]
+|: [url https://help.gnome.org/users/evolution/stable/mail-encryption-s-mime-manage.html.en Yes]
-|:Claws-mail:|
- |:FOSS:|
- |:Windows, Linux:|
- |:[url https://claws-mail.org/plugin.:php?plugin=gpg Yes]^[[url #1 1]]^:|
- |:[url https://claws-mail.org/plugin.php?plugin=gpg Yes]^[[url #1 1]]^:|
- |:[url https://claws-mail.org/plugins.php Yes]^[[url #1 1]]^:|
+|: Sylpheed
+|: FOSS
+|: Windows, MacOS, Linux
+|: [url https://sylpheed.sraoss.jp/doc/manual/en/sylpheed-8.html#ss8.2 Yes]
+|: [url https://sylpheed.sraoss.jp/doc/manual/en/sylpheed-8.html#ss8.2 Yes]
+|: [url https://www.sraoss.jp/pipermail/sylpheed/2011-May/004551.html No]
-|= Mobile =||::||::||::||::||::|
+|: Claws-mail
+|: FOSS
+|: Windows, Linux
+|: [url https://claws-mail.org/plugin.:php?plugin=gpg Yes][$1]
+|: [url https://claws-mail.org/plugin.php?plugin=gpg Yes][$1]
+|: [url https://claws-mail.org/plugins.php Yes][$1]
-|:Gmail:|
- |:Free:|
- |:Android, iOS:|
- |:No:|
- |:No:|
- |:Yes^[[url #3: 3]]^:|
+|= Mobile
+|:
+|:
+|:
+|:
+|:
-|:Outlook:|
- |:Free:|
- |:Android, iOS:|
- |:No:|
- |:No:|
- |:Yes^[[url #3: 3]]^:|
+|: Gmail
+|: Free
+|: Android, iOS
+|: No
+|: No
+|: Yes[$3]
-|:Apple Mail :|
- |:Free:|
- |:iOS:|
- |:Yes:|
- |:Yes:|
- |:Yes:|
+|: Outlook
+|: Free
+|: Android, iOS
+|: No
+|: No
+|: Yes[$3]
-|:Yahoo!:|
- |:Free:|
- |:Android, iOS:|
- |:No:|
- |:No:|
- |:No:|
+|: Apple Mail
+|: Free
+|: iOS
+|: Yes
+|: Yes
+|: Yes
-|:Edison:|
- |:Free:|
- |:Android, iOS:|
- |:No:|
- |:No:|
- |:No:|
+|: Yahoo!
+|: Free
+|: Android, iOS
+|: No
+|: No
+|: No
-|:Protonmail:|
- |:Free:|
- |:Android, iOS:|
- |:[url https://proton.me/support/how-to-use-pgp Yes]:|
- |:[url https://proton.me/support/how-to-use-pgp Yes]:|
- |:No:|
+|: Edison
+|: Free
+|: Android, iOS
+|: No
+|: No
+|: No
-|:K-9 Mail:|
- |:FOSS:|
- |:Android:|
- |:[url https://docs.k9mail.app/en/current/security/pgp/ Yes]:|
- |:[url https://docs.k9mail.app/en/current/security/pgp/ Yes]:|
- |:[url https://docs.k9mail.app/en/current/security/overview/#end-to-end-encryption No]:|
+|: Protonmail
+|: Free
+|: Android, iOS
+|: [url https://proton.me/support/how-to-use-pgp Yes]
+|: [url https://proton.me/support/how-to-use-pgp Yes]
+|: No
-|:FairEmail:|
- |:FreemiumOSS:|
- |:Android:|
- |:[url https://github.com/M66B/FairEmail/blob/master/FAQ.md Yes]:|
- |:[url https://github.com/M66B/FairEmail/blob/master/FAQ.md Yes]:|
- |:[url https://github.com/M66B/FairEmail/blob/master/FAQ.md Yes]^[[url #* *]]^:|
+|: K-9 Mail
+|: FOSS
+|: Android
+|: [url https://docs.k9mail.app/en/current/security/pgp/ Yes]
+|: [url https://docs.k9mail.app/en/current/security/pgp/ Yes]
+|: [url https://docs.k9mail.app/en/current/security/overview/#end-to-end-encryption No]
+|: FairEmail
+|: FreemiumOSS
+|: Android
+|: [url https://github.com/M66B/FairEmail/blob/master/FAQ.md Yes]
+|: [url https://github.com/M66B/FairEmail/blob/master/FAQ.md Yes]
+|: [url https://github.com/M66B/FairEmail/blob/master/FAQ.md Yes][$*]
-<sup id="1">1</sup> Available with an extension/plugin\n
-<sup id="2">2</sup> Available in a paid version of the software (assuming the software is Freemium; this is true for all Premium software)\n
-<sup id="3">3</sup> Available with a Premium account (even if the software is Free)\n
-<sup id="*">*</sup> You can read S/MIME messages, but signing and encrypting is a pro feature
+
+<span id="1">^[1]^</span> Available with an extension/plugin\n
+<span id="2">^[2]^</span> Available in a paid version of the software (assuming the software is Freemium; this is true for all Premium software)\n
+<span id="3">^[3]^</span> Available with a Premium account (even if the software is Free)\n
+<span id="*">^[*]^</span> You can read S/MIME messages, but signing and encrypting is a pro feature
diff --git a/src/blog/sane-explanation-of-compilers/part-1/index.du b/src/blog/sane-explanation-of-compilers/part-1/index.du
index 234a3b6..a121813 100644
--- a/src/blog/sane-explanation-of-compilers/part-1/index.du
+++ b/src/blog/sane-explanation-of-compilers/part-1/index.du
@@ -448,17 +448,27 @@ It all boils down to using a whole bunch of conditional statements and tracing w
We need to track the current state of the string, because imagine we've just read an "a", it could either be from the left or right handside of "a + a", and that changes what character to expect next.
We're going to track the state with different numbers, defined like this:
- .table
- |=State (number)=||=Current expression ends with=|
- |:0 :||:Nothing; this is the start:|
- |:1 :||:The name `[S]`; the final number should be this:|
- |:2 :||:The name `[F]`:|
- |:3 :||:The character "(":|
- |:4 :||:The character "a":|
- |:5 :||:"(S":|
- |:6 :||:"(S + ":|
- |:7 :||:"(S + F":|
- |:8 :||:"(S + F)"; this is the one before the final:|
+ .table_2
+ |= State (number)
+ |= Current expression ends with
+ |: 0
+ |: Nothing; this is the start
+ |: 1
+ |: The name `[S]`; the final number should be this
+ |: 2
+ |: The name `[F]`
+ |: 3
+ |: The character "("
+ |: 4
+ |: The character "a"
+ |: 5
+ |: "(S"
+ |: 6
+ |: "(S + "
+ |: 7
+ |: "(S + F"
+ |: 8
+ |: "(S + F)"; this is the one before the final
You can think of every state number as the valid, but "unfinished" state of the current string.
For now don't think about the way this table is defined, it'll make sense later.
@@ -511,17 +521,57 @@ It all boils down to using a whole bunch of conditional statements and tracing w
It's also helpful to put what we do in different situations in another table:
- .table
- |=State=||=If ends on=||=Change state to=||=Also do=|
- |:0 :||:"(" :||:3 :||: :|
- |:1 :||: :||: :||:Nothing, we matched:|
- |:2 :||: :||:5 :||:Replace "F" with "S":|
- |:3 :||:"a" :||:4 :||::|
- |:4 :||: :||:2 :||:Replace "a" with "F":|
- |:5 :||:" + " :||:6 :||: :|
- |:6 :||:"a" :||:7 :||:Replace "a" with "F":|
- |:7 :||:")" :||:8 :||: :|
- |:8 :||: :||:1 :||:Replace "(S + F)" with "S":|
+ :table_4
+ |= State
+ |= If ends on
+ |= Change state to
+ |= Also do
+
+ |: 0
+ |: "("
+ |: 3
+ |:
+
+ |: 1
+ |:
+ |:
+ |: Nothing, we matched
+
+ |: 2
+ |:
+ |: 5
+ |: Replace "F" with "S"
+
+ |: 3
+ |: "a"
+ |: 4
+ |:
+
+ |: 4
+ |:
+ |: 2
+ |: Replace "a" with "F"
+
+ |: 5
+ |: " + "
+ |: 6
+ |:
+
+ |: 6
+ |: "a"
+ |: 7
+ |: Replace "a" with "F"
+
+ |: 7
+ |: ")"
+ |: 8
+ |:
+
+ |: 8
+ |:
+ |: 1
+ |: Replace "(S + F)" with "S"
+
where, if there is a value in "If ends on", we read the next character, while otherwise we don't and we just execute "Change state to" and "Also do".
diff --git a/src/blog/windows-run-dialog/index.du b/src/blog/windows-run-dialog/index.du
index 5f54169..5e71234 100644
--- a/src/blog/windows-run-dialog/index.du
+++ b/src/blog/windows-run-dialog/index.du
@@ -45,10 +45,13 @@ If your desired folder is directly in your account folder, so `[Desktop]`, `[Doc
There are, of course, some more special location, some of which are:
-.table
-|=Command=||=Location=|
-|:`[%ProgramFiles%]`:||:Program Files Folder:|
-|:`[%AppData%]`:||:User's App Data Folder:|
+.table_2
+|= Command
+|= Location
+|: `[%ProgramFiles%]`
+|: Program Files Folder
+|: `[%AppData%]`
+|: User's App Data Folder
=[Bonus]=: `[%appdata%\Microsoft\Windows\Start Menu]` will open the Start Menu folder, from which you can edit what goes inside your start menu.
@@ -58,31 +61,55 @@ You can always run any application by typing in it's full path. So, to launch so
But, whats more important is that you can more easily launch some Windows apps, like Calculator or Control Panel. Here is a list of commands and the application they launch:
-.table
-|=Command=||=Application=|
-|:`[calc]`:||:Calculator:|
-|:`[mspaint]`:||:Microsoft Paint:|
-|:`[snippingtool]`:||:Snipping Tool:|
-|:`[notepad]`:||:Notepad:|
-|:`[sndvol]`:||:Volume Mixer:|
-|:`[soundrecroder]`:||:Sound Recorder:|
-|:`[wuapp]`:||:Windows Updates:|
-|:`[shutdown]`\*:||:Shutdown or restart computer:|
-|::||::|
-|:`[cmd]`:||:Command Prompt:|
-|:`[powershell]`:||:Windows PowerShell:|
-|:`[control]`:||:Control Panel:|
-|:`[taskmgr]`:||:Task Manager:|
-|:`[msinfo32]`:||:System Information:|
-|:`[winver]`:||:Windows Version Window:|
-|:`[cleanmgr]`:||:Disk Cleanup:|
-|:`[dfrgui]`:||:Disk Cleanup (defragmentation):|
-|:`[mstsc]`:||:Remote Desktop Connection:|
-|::||::|
-|:`[regedit]`:||:Registry Editor:|
-|:`[msconfig]`:||:System Configuration Settings:|
-|:`[dcomcnfg]`:||:Component Services:|
-|:`[sigverif]`:||:File Signature Verification Tool:|
+.table_2
+|= Command
+|= Application
+|: `[calc]`
+|: Calculator
+|: `[mspaint]`
+|: Microsoft Paint
+|: `[snippingtool]`
+|: Snipping Tool
+|: `[notepad]`
+|: Notepad
+|: `[sndvol]`
+|: Volume Mixer
+|: `[soundrecroder]`
+|: Sound Recorder
+|: `[wuapp]`
+|: Windows Updates
+|: `[shutdown]`\*
+|: Shutdown or restart computer
+|:
+|:
+|: `[cmd]`
+|: Command Prompt
+|: `[powershell]`
+|: Windows PowerShell
+|: `[control]`
+|: Control Panel
+|: `[taskmgr]`
+|: Task Manager
+|: `[msinfo32]`
+|: System Information
+|: `[winver]`
+|: Windows Version Window
+|: `[cleanmgr]`
+|: Disk Cleanup
+|: `[dfrgui]`
+|: Disk Cleanup (defragmentation)
+|: `[mstsc]`
+|: Remote Desktop Connection
+|:
+|:
+|: `[regedit]`
+|: Registry Editor
+|: `[msconfig]`
+|: System Configuration Settings
+|: `[dcomcnfg]`
+|: Component Services
+|: `[sigverif]`
+|: File Signature Verification Tool
\*: The `[shutdown]` command [url https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/shutdown requires parameters]:
@@ -96,27 +123,47 @@ But, whats more important is that you can more easily launch some Windows apps,
There are also many "shortcuts" to different Windows settings windows. Those include:
-.table
-|=Command=||=Setting=|
-|:`[mmsys.cpl]`:||:Sound Properties:|
-|:`[powercfg.cpl]`:||:Power Options:|
-|:`[timedate.cpl]`:||:Time and Date Options:|
-|:`[ncpa.cpl]`:||:Network Connections:|
-|::||::|
-|:`[inetcpl.cpl]`:||:Internet Properties:|
-|:`[compmgmt.msc]`:||:Computer Manager:|
-|:`[devmgmt.msc]`:||:Device Manager:|
-|:`[diskmgmt.msc]`:||:Disk Management:|
-|:`[firewall.cpl]`:||:Windows Firewall:|
-|::||::|
-|:`[sysdm.cpl]`:||:System Properties:|
-|:`[services.msc]`:||:Services:|
-|:`[comexp.msc]`:||:Component Services:|
-|:`[gpedit.msc]`:||:Group Policy Editor:|
-|:`[lusrmgr.msc]`:||:Local Users and Groups:|
-|:`[certmgr.msc]`:||:Certificate Manager:|
-|:`[taskschd.msc]`:||:Task Scheduler:|
-|:`[fsmgmt.msc]`:||:Shared Folders:|
+.table_2
+|= Command
+|= Setting
+|: `[mmsys.cpl]`
+|: Sound Properties
+|: `[powercfg.cpl]`
+|: Power Options
+|: `[timedate.cpl]`
+|: Time and Date Options
+|: `[ncpa.cpl]`
+|: Network Connections
+|:
+|:
+|: `[inetcpl.cpl]`
+|: Internet Properties
+|: `[compmgmt.msc]`
+|: Computer Manager
+|: `[devmgmt.msc]`
+|: Device Manager
+|: `[diskmgmt.msc]`
+|: Disk Management
+|: `[firewall.cpl]`
+|: Windows Firewall
+|:
+|:
+|: `[sysdm.cpl]`
+|: System Properties
+|: `[services.msc]`
+|: Services
+|: `[comexp.msc]`
+|: Component Services
+|: `[gpedit.msc]`
+|: Group Policy Editor
+|: `[lusrmgr.msc]`
+|: Local Users and Groups
+|: `[certmgr.msc]`
+|: Certificate Manager
+|: `[taskschd.msc]`
+|: Task Scheduler
+|: `[fsmgmt.msc]`
+|: Shared Folders
=[Note]=: `[cpl]` stands for *[Control Panel Item]* and `[msc]` stands for *[Microsoft System Configuration]*.
diff --git a/src/index.du b/src/index.du
index 9081744..486b15f 100644
--- a/src/index.du
+++ b/src/index.du
@@ -13,14 +13,43 @@ Have a look around and enjoy your stay!
### Keyboard navigation (requires javascript)
-.table
-|=Key=||=Available=||=Action=|
-|:C :||:Everywhere:||:Toggles the theme between light and dark:|
-|:W :||:Everywhere:||:Toggles the page width:|
-|:E :||:Everywhere:||:Expands/shrinks the sidebar:|
-|:K, Backspace, PageUp, Left arrow, Up arrow:||:Presentations:||:Go to previous slide:|
-|:J, Spacebar, Enter key, PageDown, Right arrow, Down arrow:||:Presentations:||:Go to next slide:|
-|:P, T:||:Presentations:||:Start or stop (toggle) presenting:|
-|:Escape key:||:Presentations:||:Stop presenting:|
-|:Home:||:Presentations:||:Go to first slide:|
-|:End:||:Presentations:||:Go to last slide:|
+:table_3
+|= Key
+|= Available
+|= Action
+
+|: C
+|: Everywhere
+|: Toggles the theme between light and dark
+
+|: W
+|: Everywhere
+|: Toggles the page width
+
+|: E
+|: Everywhere
+|: Expands/shrinks the sidebar
+
+|: K, Backspace, PageUp, Left arrow, Up arrow
+|: Presentations
+|: Go to previous slide
+
+|: J, Spacebar, Enter key, PageDown, Right arrow, Down arrow
+|: Presentations
+|: Go to next slide
+
+|: P, T
+|: Presentations
+|: Start or stop (toggle) presenting
+
+|: Escape key
+|: Presentations
+|: Stop presenting
+
+|: Home
+|: Presentations
+|: Go to first slide
+
+|: End
+|: Presentations
+|: Go to last slide
diff --git a/src/regarding-js.du b/src/regarding-js.du
index 7faee12..a5ff960 100644
--- a/src/regarding-js.du
+++ b/src/regarding-js.du
@@ -6,18 +6,73 @@ Any user data that might be saved isn't, and never will be, used for purposes no
## Implemented features
-.table
-|=Script=||=Description=||=GitLab source=||=Size=||=Lines=|
-|:[url /scripts/image-show.js image-show.js]:||:Click to zoom on images:||:[url https://gitlab.com/Syndamia/syndamiadotcom/-/tree/master/src/scripts/image-show.js Link]:||:551B:||:24:|
-|:[url /scripts/back-to-top.js back-to-top.js]:||:Automatically appearing button to scroll to top:||:[url https://gitlab.com/Syndamia/syndamiadotcom/-/tree/master/src/scripts/back-to-top.js Link]:||:378B:||:15:|
-|:[url /scripts/styling-preload.js styling-preload.js]:||:Disable/enable certain stylesheets before page rendering:||:[url https://gitlab.com/Syndamia/syndamiadotcom/-/tree/master/src/scripts/styling-preload.js Link]:||:385B:||:13:|
-|:[url /scripts/theme-changer.js theme-changer.js]:||:Change theme between light and dark (split in two files):||:[url https://gitlab.com/Syndamia/syndamiadotcom/-/tree/master/src/scripts/theme-changer.js Link]:||:468B:||:18:|
-|:[url /scripts/page-width.js page-width.js]:||:Change whether text covers the whole width of the page or only the middle (applicable to wide screens):||:[url https://gitlab.com/Syndamia/syndamiadotcom/-/tree/master/src/scripts/page-width.js Link]:||:640B:||:23:|
-|:[url /scripts/expand-navbar.js expand-navbar.js]:||:Button to shrink and expand the sidebar:||:[url https://gitlab.com/Syndamia/syndamiadotcom/-/tree/master/src/scripts/expand-navbar.js Link]:||:728B:||:20:|
-|:[url /scripts/presentation.js presentation.js]:||:Presentation logic (button capabilities and other) =[Loaded only on pages with presentations!]=:||:[url https://gitlab.com/Syndamia/syndamiadotcom/-/tree/master/src/scripts/presentation.js Link]:||:6.0KB:||:197:|
-|:[url /scripts/keyboard.js keyboard.js]:||:Implements keyboard shortcuts:||:[url https://gitlab.com/Syndamia/syndamiadotcom/-/tree/master/src/scripts/keyboard.js Link]:||:810B:||:40:|
-|::||:Total without presentation.js:||::||:4.0KB:||:153:|
-|::||:Total with presentation.js:||::||:9.0KB:||:307:|
+:table_5
+|= Script
+|= Description
+|= GitLab source
+|= Size
+|= Lines
+
+|: [url /scripts/image-show.js image-show.js]
+|: Click to zoom on images
+|: [url https://gitlab.com/Syndamia/syndamiadotcom/-/tree/master/src/scripts/image-show.js Link]
+|: 551B
+|: 24
+
+|: [url /scripts/back-to-top.js back-to-top.js]
+|: Automatically appearing button to scroll to top
+|: [url https://gitlab.com/Syndamia/syndamiadotcom/-/tree/master/src/scripts/back-to-top.js Link]
+|: 378B
+|: 15
+
+|: [url /scripts/styling-preload.js styling-preload.js]
+|: Disable/enable certain stylesheets before page rendering
+|: [url https://gitlab.com/Syndamia/syndamiadotcom/-/tree/master/src/scripts/styling-preload.js Link]
+|: 385B
+|: 13
+
+|: [url /scripts/theme-changer.js theme-changer.js]
+|: Change theme between light and dark (split in two files)
+|: [url https://gitlab.com/Syndamia/syndamiadotcom/-/tree/master/src/scripts/theme-changer.js Link]
+|: 468B
+|: 18
+
+|: [url /scripts/page-width.js page-width.js]
+|: Change whether text covers the whole width of the page or only the middle (applicable to wide screens)
+|: [url https://gitlab.com/Syndamia/syndamiadotcom/-/tree/master/src/scripts/page-width.js Link]
+|: 640B
+|: 23
+
+|: [url /scripts/expand-navbar.js expand-navbar.js]
+|: Button to shrink and expand the sidebar
+|: [url https://gitlab.com/Syndamia/syndamiadotcom/-/tree/master/src/scripts/expand-navbar.js Link]
+|: 728B
+|: 20
+
+|: [url /scripts/presentation.js presentation.js]
+|: Presentation logic (button capabilities and other) =[Loaded only on pages with presentations!]=
+|: [url https://gitlab.com/Syndamia/syndamiadotcom/-/tree/master/src/scripts/presentation.js Link]
+|: 6.0KB
+|: 197
+
+|: [url /scripts/keyboard.js keyboard.js]
+|: Implements keyboard shortcuts
+|: [url https://gitlab.com/Syndamia/syndamiadotcom/-/tree/master/src/scripts/keyboard.js Link]
+|: 810B
+|: 40
+
+|:
+|: Total without presentation.js
+|:
+|: 4.0KB
+|: 153
+
+|:
+|: Total with presentation.js
+|:
+|: 9.0KB
+|: 307
+
## Data in browser storage
@@ -25,10 +80,22 @@ Any user data that might be saved isn't, and never will be, used for purposes no
### Local storage
-.table
-|=Key=||=Values=||=Description=|
-|:`[theme]`:||:`[dark]` | `[light]`:||:Saves which theme should be loaded:|
-|:`[width]`:||:`[norm]` | `[wide]`:||:Saves in which width pages should be shown:|
-|:`[navbar]`:||:`[norm]` | `[hidden]`:||:Saves whether the navbar should be expanded or shrunk:|
+:table_3
+|= Key
+|= Values
+|= Description
+
+|: `[theme]`
+|: `[dark]` | `[light]`
+|: Saves which theme should be loaded
+
+|: `[width]`
+|: `[norm]` | `[wide]`
+|: Saves in which width pages should be shown
+
+|: `[navbar]`
+|: `[norm]` | `[hidden]`
+|: Saves whether the navbar should be expanded or shrunk
+
.p
diff --git a/src/setup.du b/src/setup.du
index fee0bc7..36ab56f 100644
--- a/src/setup.du
+++ b/src/setup.du
@@ -5,58 +5,184 @@ Here are mine.
## Hardware I own
-.table
-|=Designation=||=OS =||=Motherboard / device=||=CPU=||=GPU=||=RAM=|
-|:Main desktop tower:||:NixOS (24.11):||:ASRock B550 Phantom Gaming 4:||:[url https://www.amd.com/en/products/processors/desktops/ryzen/5000-series/amd-ryzen-9-5900x.html AMD Ryzen 9 5900X]:||:[url https://www.amd.com/en/products/graphics/desktops/radeon/6000-series/amd-radeon-rx-6800-xt.html AMD Radeon RX 6800 XT]:||:1x Corsair CMK32GX4M2E3200C16:|
-|::||::||:Bought: 2024:||:[url https://www.cpubenchmark.net/cpu.php?cpu=AMD+Ryzen+9+5900X&id=3870 39125 mark], 12 cores, 24 threads, 3.70 GHz, L1: 768 KB, L2: 6 MB, L3: 64 MB, 64-bit:||:[url https://www.videocardbenchmark.net/gpu.php?gpu=Radeon+RX+6800+XT&id=4312 25027 mark], 2000 MHz, 16 GB memory:||:DDR4, 32 GB (2x 16GB), 3200 MHz:|
-|:Old desktop tower:||:NixOS (24.05):||:ASRock Z97 Anniversary:||:[url https://www.intel.com/content/www/us/en/products/sku/77488/intel-core-i34160-processor-3m-cache-3-60-ghz/specifications.html Intel Core i3-4160]:||:AMD Sapphire Radeon R7 265:||:2x Corsair CMV8GX3M1A1600C11:|
-|::||::||:Bought: 2015:||:[url https://www.cpubenchmark.net/cpu.php?cpu=Intel+Core+i3-4160+%40+3.60GHz&id=2317 3510 mark], 2 cores, 4 threads, 3.60 GHz, L1: 128 KB, L2: 512 KB, L3: 3 MB, 64-bit:||:[url https://www.videocardbenchmark.net/gpu.php?gpu=Radeon+HD+7850&id=323 3849 mark], 900 MHz, 2 GB memory:||:DDR3, 16 GB (2x 8GB), 1600 MHz:|
-|:Main laptop:||:NixOS (24.11):||:Lenovo ThinkPad X270:||:Intel Core i5-6300U:||:Intel HD Graphics 520:||:1x Samsung M471A2k43BB1-CRC:|
-|::||::||:Bought: 2023\nReleased: 2017:||:[url https://www.cpubenchmark.net/cpu.php?cpu=Intel+Core+i5-6300U+%40+2.40GHz&id=2609 3240 mark], 2 cores, 4 threads, 2.40 GHz, L1: 128 KB, L2: 512 KB, L3: 3 MB, 64-bit:||:[url https://www.videocardbenchmark.net/gpu.php?gpu=Intel+HD+520&id=3255 871 mark], 300 MHz:||:DDR4, SODIMM, 16 GB, 2133 MHz:|
-|:Second laptop:||:NixOS (23.05):||:Lenovo Yoga S730:||:Intel Core i7-8565U:||:Intel UHD Graphics 620:||:2x Samsung K4EBE304EC-EGCG:|
-|::||::||:Bought: 2019\nReleased: 2018:||:[url https://www.cpubenchmark.net/cpu.php?cpu=Intel+Core+i7-8565U+%40+1.80GHz&id=3308 6152 mark], 4 cores, 8 threads, 4.60 GHz, L1: 128 KB, L2: 1 MB, L3: 8 MB, 64-bit:||:[url https://www.videocardbenchmark.net/gpu.php?gpu=Intel+UHD+Graphics+620&id=3805 1039 mark], 300 MHz:||:LPDDR3 (soldered), 16 GB, 2133 MHz:|
+:table_6
+|= Designation
+|= OS
+|= Motherboard / device
+|= CPU
+|= GPU
+|= RAM
+
+|: Main desktop tower
+|: NixOS (24.11)
+|: ASRock B550 Phantom Gaming 4
+|: [url https://www.amd.com/en/products/processors/desktops/ryzen/5000-series/amd-ryzen-9-5900x.html AMD Ryzen 9 5900X]
+|: [url https://www.amd.com/en/products/graphics/desktops/radeon/6000-series/amd-radeon-rx-6800-xt.html AMD Radeon RX 6800 XT]
+|: 1x Corsair CMK32GX4M2E3200C16
+
+|:
+|:
+|: Bought: 2024
+|: [url https://www.cpubenchmark.net/cpu.php?cpu=AMD+Ryzen+9+5900X&id=3870 39125 mark], 12 cores, 24 threads, 3.70 GHz, L1: 768 KB, L2: 6 MB, L3: 64 MB, 64-bit
+|: [url https://www.videocardbenchmark.net/gpu.php?gpu=Radeon+RX+6800+XT&id=4312 25027 mark], 2000 MHz, 16 GB memory
+|: DDR4, 32 GB (2x 16GB), 3200 MHz
+
+|: Old desktop tower
+|: NixOS (24.05)
+|: ASRock Z97 Anniversary
+|: [url https://www.intel.com/content/www/us/en/products/sku/77488/intel-core-i34160-processor-3m-cache-3-60-ghz/specifications.html Intel Core i3-4160]
+|: AMD Sapphire Radeon R7 265
+|: 2x Corsair CMV8GX3M1A1600C11
+
+|:
+|:
+|: Bought: 2015
+|: [url https://www.cpubenchmark.net/cpu.php?cpu=Intel+Core+i3-4160+%40+3.60GHz&id=2317 3510 mark], 2 cores, 4 threads, 3.60 GHz, L1: 128 KB, L2: 512 KB, L3: 3 MB, 64-bit
+|: [url https://www.videocardbenchmark.net/gpu.php?gpu=Radeon+HD+7850&id=323 3849 mark], 900 MHz, 2 GB memory
+|: DDR3, 16 GB (2x 8GB), 1600 MHz
+
+|: Main laptop
+|: NixOS (24.11)
+|: Lenovo ThinkPad X270
+|: Intel Core i5-6300U
+|: Intel HD Graphics 520
+|: 1x Samsung M471A2k43BB1-CRC
+
+|:
+|:
+|: Bought: 2023\nReleased: 2017
+|: [url https://www.cpubenchmark.net/cpu.php?cpu=Intel+Core+i5-6300U+%40+2.40GHz&id=2609 3240 mark], 2 cores, 4 threads, 2.40 GHz, L1: 128 KB, L2: 512 KB, L3: 3 MB, 64-bit
+|: [url https://www.videocardbenchmark.net/gpu.php?gpu=Intel+HD+520&id=3255 871 mark], 300 MHz
+|: DDR4, SODIMM, 16 GB, 2133 MHz
+
+|: Second laptop
+|: NixOS (23.05)
+|: Lenovo Yoga S730
+|: Intel Core i7-8565U
+|: Intel UHD Graphics 620
+|: 2x Samsung K4EBE304EC-EGCG
+
+|:
+|:
+|: Bought: 2019\nReleased: 2018
+|: [url https://www.cpubenchmark.net/cpu.php?cpu=Intel+Core+i7-8565U+%40+1.80GHz&id=3308 6152 mark], 4 cores, 8 threads, 4.60 GHz, L1: 128 KB, L2: 1 MB, L3: 8 MB, 64-bit
+|: [url https://www.videocardbenchmark.net/gpu.php?gpu=Intel+UHD+Graphics+620&id=3805 1039 mark], 300 MHz
+|: LPDDR3 (soldered), 16 GB, 2133 MHz
+
.comment
-|:Main smartphone:||:Fresh Android ROM:||:Samsung Galaxy A50:|
-|:Old smartphone:||:?:||:Samsung Galaxy A5 (2016)
-|:Old smartphone:||:Android ?:||:Samsung ?
-|:Retro PC:||:Windows 98 SE:||:?:||:Intel Pentium ?:||:GeForce GTX 100:||:256 MB
-|:Retro laptop:||:Dell ?
-|:VPS:||:?
+|: Main smartphone
+|: Fresh Android ROM
+|: Samsung Galaxy A50
+|: Old smartphone
+|: ?
+|: Samsung Galaxy A5 (2016)
+|: Old smartphone
+|: Android ?
+|: Samsung ?
+|: Retro PC
+|: Windows 98 SE
+|: ?
+|: Intel Pentium ?
+|: GeForce GTX 100
+|: 256 MB
+|: Retro laptop
+|: Dell ?
+|: VPS
+|: ?
*[Yes, I stole the idea for this from [url https://hacktivis.me/about Haelwenn Monnier]]*
## OS setup
-.table
-|=Distro=||=Fully switched=||=Configuration files/scripts=|
-|:=[Desktop OS]=:||::||::|
-|:NixOS:||:11.2023:||:[url https://gitlab.com/Syndamia/nix NixOS configuration]:|
-|:Gentoo:||:03.2023:||:[url https://gitlab.com/Syndamia/dotfiles/-/tree/main/.b/etc/portage portage configuration files], [url https://gitlab.com/Syndamia/application-setup/-/blob/main/gentoo/Makefile Installation Makefile]:|
-|:Funtoo:||:12.2021:||:[url https://gitlab.com/Syndamia/dotfiles/-/tree/ef18469c90c8e90d3db436a1a204aec5c92cac73/.b/etc/portage portage configuration files]:|
-|:Fedora 33-34:||:12.2020:||:[url https://gitlab.com/Syndamia/application-setup/-/blob/main/scratch-fedora-setup.sh Installation from Minimal], [url https://gitlab.com/Syndamia/application-setup/-/blob/main/fedora-setup.sh Installation from Cinnamon], [url https://gitlab.com/Syndamia/application-setup/-/tree/main/cinnamon-setup Cinnamon setup], [url https://gitlab.com/Syndamia/dotfiles/-/blob/main/.c/fedora-openbox.sh openbox setup]:|
-|:Linux Mint 19.3-20:||:01.2020:||:[url https://gitlab.com/Syndamia/application-setup/-/blob/main/linux-mint-setup.sh Installation script], [url https://gitlab.com/Syndamia/application-setup/-/tree/main/cinnamon-setup Cinnamon setup]:|
-|:Manjaro Cinnamon 18.1.4-18.1.5:||:12.2019:||:-:|
-|:=[Server OS]=:||::||::|
-|:Debian 10:||:06.2021:||:-:|
-|:Ubuntu 20.04 LTS:||:07.2020:||:-:|
+:table_3
+|= Distro
+|= Fully switched
+|= Configuration files/scripts
+
+|: =[Desktop OS]=
+|:
+|:
+
+|: NixOS
+|: 11.2023
+|: [url https://gitlab.com/Syndamia/nix NixOS configuration]
+
+|: Gentoo
+|: 03.2023
+|: [url https://gitlab.com/Syndamia/dotfiles/-/tree/main/.b/etc/portage portage configuration files], [url https://gitlab.com/Syndamia/application-setup/-/blob/main/gentoo/Makefile Installation Makefile]
+
+|: Funtoo
+|: 12.2021
+|: [url https://gitlab.com/Syndamia/dotfiles/-/tree/ef18469c90c8e90d3db436a1a204aec5c92cac73/.b/etc/portage portage configuration files]
+
+|: Fedora 33-34
+|: 12.2020
+|: [url https://gitlab.com/Syndamia/application-setup/-/blob/main/scratch-fedora-setup.sh Installation from Minimal], [url https://gitlab.com/Syndamia/application-setup/-/blob/main/fedora-setup.sh Installation from Cinnamon], [url https://gitlab.com/Syndamia/application-setup/-/tree/main/cinnamon-setup Cinnamon setup], [url https://gitlab.com/Syndamia/dotfiles/-/blob/main/.c/fedora-openbox.sh openbox setup]
+
+|: Linux Mint 19.3-20
+|: 01.2020
+|: [url https://gitlab.com/Syndamia/application-setup/-/blob/main/linux-mint-setup.sh Installation script], [url https://gitlab.com/Syndamia/application-setup/-/tree/main/cinnamon-setup Cinnamon setup]
+
+|: Manjaro Cinnamon 18.1.4-18.1.5
+|: 12.2019
+|: -
+
+|: =[Server OS]=
+|:
+|:
+
+|: Debian 10
+|: 06.2021
+|: -
+
+|: Ubuntu 20.04 LTS
+|: 07.2020
+|: -
+
[url https://gitlab.com/Syndamia/dotfiles Dotfiles here].
Primary shell is [url https://www.zsh.org/ zsh].
### Desktop environment
-.table
-|=Name=||=Fully switched=||=List of apps=|
-|:[url http://openbox.org/wiki/Main_Page openbox wm] + custom apps:||:06.2021:||:[url https://gitlab.com/Syndamia/dotfiles/-/blob/main/.c/Application%20Stack.md Application Stack]:|
-|:[url https://projects.linuxmint.com/cinnamon/ Cinnamon]:||:12.2019:||:-:|
+:table_3
+|= Name
+|= Fully switched
+|= List of apps
+
+|: [url http://openbox.org/wiki/Main_Page openbox wm] + custom apps
+|: 06.2021
+|: [url https://gitlab.com/Syndamia/dotfiles/-/blob/main/.c/Application%20Stack.md Application Stack]
+
+|: [url https://projects.linuxmint.com/cinnamon/ Cinnamon]
+|: 12.2019
+|: -
+
## Text editor
-.table
-|=Name=||=Fully switched=||=Configuration files=|
-|:[url https://neovim.io/ neovim]:||:08.2024:||:[url https://gitlab.com/Syndamia/anderson/ anderson]:|
-|:[url https://www.vim.org/ vim]:||:10.2020:||:[url https://gitlab.com/Syndamia/dotfiles/-/tree/main/.vim dotfiles]:|
-|:[url https://en.wikipedia.org/wiki/Atom_%28text_editor%29 Atom]:||:05.2020 - 07.2020:||:Switched back after:|
-|:[url https://www.monodevelop.com/ Monodevelop]:||:01.2020:||:-:|
-|:[url https://visualstudio.microsoft.com/ Visual Studio 2017]:||:11.2018:||:-:|
+:table_3
+|= Name
+|= Fully switched
+|= Configuration files
+
+|: [url https://neovim.io/ neovim]
+|: 08.2024
+|: [url https://gitlab.com/Syndamia/anderson/ anderson]
+
+|: [url https://www.vim.org/ vim]
+|: 10.2020
+|: [url https://gitlab.com/Syndamia/dotfiles/-/tree/main/.vim dotfiles]
+
+|: [url https://en.wikipedia.org/wiki/Atom_%28text_editor%29 Atom]
+|: 05.2020 - 07.2020
+|: Switched back after
+
+|: [url https://www.monodevelop.com/ Monodevelop]
+|: 01.2020
+|: -
+
+|: [url https://visualstudio.microsoft.com/ Visual Studio 2017]
+|: 11.2018
+|: -
diff --git a/src/setup/index.du b/src/setup/index.du
index fee0bc7..36ab56f 100644
--- a/src/setup/index.du
+++ b/src/setup/index.du
@@ -5,58 +5,184 @@ Here are mine.
## Hardware I own
-.table
-|=Designation=||=OS =||=Motherboard / device=||=CPU=||=GPU=||=RAM=|
-|:Main desktop tower:||:NixOS (24.11):||:ASRock B550 Phantom Gaming 4:||:[url https://www.amd.com/en/products/processors/desktops/ryzen/5000-series/amd-ryzen-9-5900x.html AMD Ryzen 9 5900X]:||:[url https://www.amd.com/en/products/graphics/desktops/radeon/6000-series/amd-radeon-rx-6800-xt.html AMD Radeon RX 6800 XT]:||:1x Corsair CMK32GX4M2E3200C16:|
-|::||::||:Bought: 2024:||:[url https://www.cpubenchmark.net/cpu.php?cpu=AMD+Ryzen+9+5900X&id=3870 39125 mark], 12 cores, 24 threads, 3.70 GHz, L1: 768 KB, L2: 6 MB, L3: 64 MB, 64-bit:||:[url https://www.videocardbenchmark.net/gpu.php?gpu=Radeon+RX+6800+XT&id=4312 25027 mark], 2000 MHz, 16 GB memory:||:DDR4, 32 GB (2x 16GB), 3200 MHz:|
-|:Old desktop tower:||:NixOS (24.05):||:ASRock Z97 Anniversary:||:[url https://www.intel.com/content/www/us/en/products/sku/77488/intel-core-i34160-processor-3m-cache-3-60-ghz/specifications.html Intel Core i3-4160]:||:AMD Sapphire Radeon R7 265:||:2x Corsair CMV8GX3M1A1600C11:|
-|::||::||:Bought: 2015:||:[url https://www.cpubenchmark.net/cpu.php?cpu=Intel+Core+i3-4160+%40+3.60GHz&id=2317 3510 mark], 2 cores, 4 threads, 3.60 GHz, L1: 128 KB, L2: 512 KB, L3: 3 MB, 64-bit:||:[url https://www.videocardbenchmark.net/gpu.php?gpu=Radeon+HD+7850&id=323 3849 mark], 900 MHz, 2 GB memory:||:DDR3, 16 GB (2x 8GB), 1600 MHz:|
-|:Main laptop:||:NixOS (24.11):||:Lenovo ThinkPad X270:||:Intel Core i5-6300U:||:Intel HD Graphics 520:||:1x Samsung M471A2k43BB1-CRC:|
-|::||::||:Bought: 2023\nReleased: 2017:||:[url https://www.cpubenchmark.net/cpu.php?cpu=Intel+Core+i5-6300U+%40+2.40GHz&id=2609 3240 mark], 2 cores, 4 threads, 2.40 GHz, L1: 128 KB, L2: 512 KB, L3: 3 MB, 64-bit:||:[url https://www.videocardbenchmark.net/gpu.php?gpu=Intel+HD+520&id=3255 871 mark], 300 MHz:||:DDR4, SODIMM, 16 GB, 2133 MHz:|
-|:Second laptop:||:NixOS (23.05):||:Lenovo Yoga S730:||:Intel Core i7-8565U:||:Intel UHD Graphics 620:||:2x Samsung K4EBE304EC-EGCG:|
-|::||::||:Bought: 2019\nReleased: 2018:||:[url https://www.cpubenchmark.net/cpu.php?cpu=Intel+Core+i7-8565U+%40+1.80GHz&id=3308 6152 mark], 4 cores, 8 threads, 4.60 GHz, L1: 128 KB, L2: 1 MB, L3: 8 MB, 64-bit:||:[url https://www.videocardbenchmark.net/gpu.php?gpu=Intel+UHD+Graphics+620&id=3805 1039 mark], 300 MHz:||:LPDDR3 (soldered), 16 GB, 2133 MHz:|
+:table_6
+|= Designation
+|= OS
+|= Motherboard / device
+|= CPU
+|= GPU
+|= RAM
+
+|: Main desktop tower
+|: NixOS (24.11)
+|: ASRock B550 Phantom Gaming 4
+|: [url https://www.amd.com/en/products/processors/desktops/ryzen/5000-series/amd-ryzen-9-5900x.html AMD Ryzen 9 5900X]
+|: [url https://www.amd.com/en/products/graphics/desktops/radeon/6000-series/amd-radeon-rx-6800-xt.html AMD Radeon RX 6800 XT]
+|: 1x Corsair CMK32GX4M2E3200C16
+
+|:
+|:
+|: Bought: 2024
+|: [url https://www.cpubenchmark.net/cpu.php?cpu=AMD+Ryzen+9+5900X&id=3870 39125 mark], 12 cores, 24 threads, 3.70 GHz, L1: 768 KB, L2: 6 MB, L3: 64 MB, 64-bit
+|: [url https://www.videocardbenchmark.net/gpu.php?gpu=Radeon+RX+6800+XT&id=4312 25027 mark], 2000 MHz, 16 GB memory
+|: DDR4, 32 GB (2x 16GB), 3200 MHz
+
+|: Old desktop tower
+|: NixOS (24.05)
+|: ASRock Z97 Anniversary
+|: [url https://www.intel.com/content/www/us/en/products/sku/77488/intel-core-i34160-processor-3m-cache-3-60-ghz/specifications.html Intel Core i3-4160]
+|: AMD Sapphire Radeon R7 265
+|: 2x Corsair CMV8GX3M1A1600C11
+
+|:
+|:
+|: Bought: 2015
+|: [url https://www.cpubenchmark.net/cpu.php?cpu=Intel+Core+i3-4160+%40+3.60GHz&id=2317 3510 mark], 2 cores, 4 threads, 3.60 GHz, L1: 128 KB, L2: 512 KB, L3: 3 MB, 64-bit
+|: [url https://www.videocardbenchmark.net/gpu.php?gpu=Radeon+HD+7850&id=323 3849 mark], 900 MHz, 2 GB memory
+|: DDR3, 16 GB (2x 8GB), 1600 MHz
+
+|: Main laptop
+|: NixOS (24.11)
+|: Lenovo ThinkPad X270
+|: Intel Core i5-6300U
+|: Intel HD Graphics 520
+|: 1x Samsung M471A2k43BB1-CRC
+
+|:
+|:
+|: Bought: 2023\nReleased: 2017
+|: [url https://www.cpubenchmark.net/cpu.php?cpu=Intel+Core+i5-6300U+%40+2.40GHz&id=2609 3240 mark], 2 cores, 4 threads, 2.40 GHz, L1: 128 KB, L2: 512 KB, L3: 3 MB, 64-bit
+|: [url https://www.videocardbenchmark.net/gpu.php?gpu=Intel+HD+520&id=3255 871 mark], 300 MHz
+|: DDR4, SODIMM, 16 GB, 2133 MHz
+
+|: Second laptop
+|: NixOS (23.05)
+|: Lenovo Yoga S730
+|: Intel Core i7-8565U
+|: Intel UHD Graphics 620
+|: 2x Samsung K4EBE304EC-EGCG
+
+|:
+|:
+|: Bought: 2019\nReleased: 2018
+|: [url https://www.cpubenchmark.net/cpu.php?cpu=Intel+Core+i7-8565U+%40+1.80GHz&id=3308 6152 mark], 4 cores, 8 threads, 4.60 GHz, L1: 128 KB, L2: 1 MB, L3: 8 MB, 64-bit
+|: [url https://www.videocardbenchmark.net/gpu.php?gpu=Intel+UHD+Graphics+620&id=3805 1039 mark], 300 MHz
+|: LPDDR3 (soldered), 16 GB, 2133 MHz
+
.comment
-|:Main smartphone:||:Fresh Android ROM:||:Samsung Galaxy A50:|
-|:Old smartphone:||:?:||:Samsung Galaxy A5 (2016)
-|:Old smartphone:||:Android ?:||:Samsung ?
-|:Retro PC:||:Windows 98 SE:||:?:||:Intel Pentium ?:||:GeForce GTX 100:||:256 MB
-|:Retro laptop:||:Dell ?
-|:VPS:||:?
+|: Main smartphone
+|: Fresh Android ROM
+|: Samsung Galaxy A50
+|: Old smartphone
+|: ?
+|: Samsung Galaxy A5 (2016)
+|: Old smartphone
+|: Android ?
+|: Samsung ?
+|: Retro PC
+|: Windows 98 SE
+|: ?
+|: Intel Pentium ?
+|: GeForce GTX 100
+|: 256 MB
+|: Retro laptop
+|: Dell ?
+|: VPS
+|: ?
*[Yes, I stole the idea for this from [url https://hacktivis.me/about Haelwenn Monnier]]*
## OS setup
-.table
-|=Distro=||=Fully switched=||=Configuration files/scripts=|
-|:=[Desktop OS]=:||::||::|
-|:NixOS:||:11.2023:||:[url https://gitlab.com/Syndamia/nix NixOS configuration]:|
-|:Gentoo:||:03.2023:||:[url https://gitlab.com/Syndamia/dotfiles/-/tree/main/.b/etc/portage portage configuration files], [url https://gitlab.com/Syndamia/application-setup/-/blob/main/gentoo/Makefile Installation Makefile]:|
-|:Funtoo:||:12.2021:||:[url https://gitlab.com/Syndamia/dotfiles/-/tree/ef18469c90c8e90d3db436a1a204aec5c92cac73/.b/etc/portage portage configuration files]:|
-|:Fedora 33-34:||:12.2020:||:[url https://gitlab.com/Syndamia/application-setup/-/blob/main/scratch-fedora-setup.sh Installation from Minimal], [url https://gitlab.com/Syndamia/application-setup/-/blob/main/fedora-setup.sh Installation from Cinnamon], [url https://gitlab.com/Syndamia/application-setup/-/tree/main/cinnamon-setup Cinnamon setup], [url https://gitlab.com/Syndamia/dotfiles/-/blob/main/.c/fedora-openbox.sh openbox setup]:|
-|:Linux Mint 19.3-20:||:01.2020:||:[url https://gitlab.com/Syndamia/application-setup/-/blob/main/linux-mint-setup.sh Installation script], [url https://gitlab.com/Syndamia/application-setup/-/tree/main/cinnamon-setup Cinnamon setup]:|
-|:Manjaro Cinnamon 18.1.4-18.1.5:||:12.2019:||:-:|
-|:=[Server OS]=:||::||::|
-|:Debian 10:||:06.2021:||:-:|
-|:Ubuntu 20.04 LTS:||:07.2020:||:-:|
+:table_3
+|= Distro
+|= Fully switched
+|= Configuration files/scripts
+
+|: =[Desktop OS]=
+|:
+|:
+
+|: NixOS
+|: 11.2023
+|: [url https://gitlab.com/Syndamia/nix NixOS configuration]
+
+|: Gentoo
+|: 03.2023
+|: [url https://gitlab.com/Syndamia/dotfiles/-/tree/main/.b/etc/portage portage configuration files], [url https://gitlab.com/Syndamia/application-setup/-/blob/main/gentoo/Makefile Installation Makefile]
+
+|: Funtoo
+|: 12.2021
+|: [url https://gitlab.com/Syndamia/dotfiles/-/tree/ef18469c90c8e90d3db436a1a204aec5c92cac73/.b/etc/portage portage configuration files]
+
+|: Fedora 33-34
+|: 12.2020
+|: [url https://gitlab.com/Syndamia/application-setup/-/blob/main/scratch-fedora-setup.sh Installation from Minimal], [url https://gitlab.com/Syndamia/application-setup/-/blob/main/fedora-setup.sh Installation from Cinnamon], [url https://gitlab.com/Syndamia/application-setup/-/tree/main/cinnamon-setup Cinnamon setup], [url https://gitlab.com/Syndamia/dotfiles/-/blob/main/.c/fedora-openbox.sh openbox setup]
+
+|: Linux Mint 19.3-20
+|: 01.2020
+|: [url https://gitlab.com/Syndamia/application-setup/-/blob/main/linux-mint-setup.sh Installation script], [url https://gitlab.com/Syndamia/application-setup/-/tree/main/cinnamon-setup Cinnamon setup]
+
+|: Manjaro Cinnamon 18.1.4-18.1.5
+|: 12.2019
+|: -
+
+|: =[Server OS]=
+|:
+|:
+
+|: Debian 10
+|: 06.2021
+|: -
+
+|: Ubuntu 20.04 LTS
+|: 07.2020
+|: -
+
[url https://gitlab.com/Syndamia/dotfiles Dotfiles here].
Primary shell is [url https://www.zsh.org/ zsh].
### Desktop environment
-.table
-|=Name=||=Fully switched=||=List of apps=|
-|:[url http://openbox.org/wiki/Main_Page openbox wm] + custom apps:||:06.2021:||:[url https://gitlab.com/Syndamia/dotfiles/-/blob/main/.c/Application%20Stack.md Application Stack]:|
-|:[url https://projects.linuxmint.com/cinnamon/ Cinnamon]:||:12.2019:||:-:|
+:table_3
+|= Name
+|= Fully switched
+|= List of apps
+
+|: [url http://openbox.org/wiki/Main_Page openbox wm] + custom apps
+|: 06.2021
+|: [url https://gitlab.com/Syndamia/dotfiles/-/blob/main/.c/Application%20Stack.md Application Stack]
+
+|: [url https://projects.linuxmint.com/cinnamon/ Cinnamon]
+|: 12.2019
+|: -
+
## Text editor
-.table
-|=Name=||=Fully switched=||=Configuration files=|
-|:[url https://neovim.io/ neovim]:||:08.2024:||:[url https://gitlab.com/Syndamia/anderson/ anderson]:|
-|:[url https://www.vim.org/ vim]:||:10.2020:||:[url https://gitlab.com/Syndamia/dotfiles/-/tree/main/.vim dotfiles]:|
-|:[url https://en.wikipedia.org/wiki/Atom_%28text_editor%29 Atom]:||:05.2020 - 07.2020:||:Switched back after:|
-|:[url https://www.monodevelop.com/ Monodevelop]:||:01.2020:||:-:|
-|:[url https://visualstudio.microsoft.com/ Visual Studio 2017]:||:11.2018:||:-:|
+:table_3
+|= Name
+|= Fully switched
+|= Configuration files
+
+|: [url https://neovim.io/ neovim]
+|: 08.2024
+|: [url https://gitlab.com/Syndamia/anderson/ anderson]
+
+|: [url https://www.vim.org/ vim]
+|: 10.2020
+|: [url https://gitlab.com/Syndamia/dotfiles/-/tree/main/.vim dotfiles]
+
+|: [url https://en.wikipedia.org/wiki/Atom_%28text_editor%29 Atom]
+|: 05.2020 - 07.2020
+|: Switched back after
+
+|: [url https://www.monodevelop.com/ Monodevelop]
+|: 01.2020
+|: -
+
+|: [url https://visualstudio.microsoft.com/ Visual Studio 2017]
+|: 11.2018
+|: -
diff --git a/src/slides/demo/index.du b/src/slides/demo/index.du
index baf62fb..dd4fb9c 100644
--- a/src/slides/demo/index.du
+++ b/src/slides/demo/index.du
@@ -34,14 +34,28 @@ Press the *[right arrow]* in the controls to go to the next slide.
[$br3]
-.table
-|=Action =||=Keyboard keys =|
-|:Go to previous slide:||:Backspace, Page up, Left arrow, Up arrow :|
-|:Go to next slide :||:Space, Enter, Page down, Right arrow, Down arrow:|
-|:Toggle presenting :||:P, T :|
-|:Stop presenting :||:Esc :|
-|:Go to first slide :||:Home :|
-|:Go to last slide :||:End :|
+:table_2
+|= Action
+|= Keyboard keys
+
+|: Go to previous slide
+|: Backspace, Page up, Left arrow, Up arrow
+
+|: Go to next slide
+|: Space, Enter, Page down, Right arrow, Down arrow
+
+|: Toggle presenting
+|: P, T
+
+|: Stop presenting
+|: Esc
+
+|: Go to first slide
+|: Home
+
+|: Go to last slide
+|: End
+
:slide
@@ -146,7 +160,7 @@ Maybe this should be changed?
The source Markdown for the predvious slide is:
```dunbar
-'snippet 111 142 ./index.du
+'snippet 125 156 ./index.du
:middle_slide
@@ -182,7 +196,7 @@ The source Markdown for the predvious slide is:
The source Markdown for the predvious slide is:
```dunbar
-'snippet 152 178 ./index.du
+'snippet 166 192 ./index.du
:slide27
diff --git a/src/slides/linuxgraphy-by-strabo/index.du b/src/slides/linuxgraphy-by-strabo/index.du
index 1e7dfb1..2961e18 100644
--- a/src/slides/linuxgraphy-by-strabo/index.du
+++ b/src/slides/linuxgraphy-by-strabo/index.du
@@ -748,20 +748,27 @@ name[index\]=value
```
name=value
-.table
-|= Type =||= string operation =||= integer operation =||= array operation =|
-|:string:|
- |:value:|
- |:0:|
- |:value when index is 0, empty string otherwise:|
-|:integer:|
- |:empty string, but sometimes value:|
- |:value:|
- |:value when index is 0, empty string otherwise:|
-|:array:|
- |:operation is done on element at index 0:|
- |:operation is done on element at index 0:|
- |:value:|
+:table_4
+|= Type
+|= string operation
+|= integer operation
+|= array operation
+
+|: string
+|: value
+|: 0
+|: value when index is 0, empty string otherwise
+
+|: integer
+|: empty string, but sometimes value
+|: value
+|: value when index is 0, empty string otherwise
+
+|: array
+|: operation is done on element at index 0
+|: operation is done on element at index 0
+|: value
+
:slide
diff --git a/src/styles.css b/src/styles.css
index 422b8d5..185d252 100644
--- a/src/styles.css
+++ b/src/styles.css
@@ -453,9 +453,9 @@ pre > code {
box-sizing: border-box;
}
-table code {
- font-size: 0.7em;
- white-space: normal;
+table pre > code {
+ background-color: initial;
+ padding: 0.2em;
}
dd code { font-size: 0.8em; }
@@ -490,7 +490,7 @@ table {
}
td, th { word-break: normal !important; padding: 0.5em; }
tr { background-color: var(--tr-bg-color); }
-thead > tr, tr:nth-child(2n) { background-color: var(--alternating-row-color); }
+thead > tr, tr:nth-child(2n+1) { background-color: var(--alternating-row-color); }
th { border: 1px solid var(--table-border-color); font-size: 1.1em; font-weight: bold; }
td + td { border-left: 1px dashed var(--table-border-color); }
td:empty { height: 1em; }
diff --git a/src/teaching/oop-2023/index.du b/src/teaching/oop-2023/index.du
index 20e5282..5641c13 100644
--- a/src/teaching/oop-2023/index.du
+++ b/src/teaching/oop-2023/index.du
@@ -12,53 +12,71 @@
[url https://github.com/Aleksis99/Object-Oriented-Programming_FMI_2023-2024 Материали от семинари] |
[url https://learn.fmi.uni-sofia.bg/course/view.php?id=10041 Курс в мудъл]
-:table
-|=&#8470;=||=Дата=||=Материали=|
+:table_3
+|= &#8470;
+|= Дата
+|= Материали
-|:1 :||:22.02.2024:|
-|:[url ./week1/organization.html?a Организационно] \|\| [url ./week1/good-software.html?a Основни добри софтуерни практики] \|\| [url ./week1/ Задачи] \|\| [url https://github.com/Syndamia/oop-2023-solutions/tree/main/week01 Решения] \|\| [url https://classroom.github.com/a/UPJOzHty GitHub classroom]:|
+|: 1
+|: 22.02.2024
+|: [url ./week1/organization.html?a Организационно] \|\| [url ./week1/good-software.html?a Основни добри софтуерни практики] \|\| [url ./week1/ Задачи] \|\| [url https://github.com/Syndamia/oop-2023-solutions/tree/main/week01 Решения] \|\| [url https://classroom.github.com/a/UPJOzHty GitHub classroom]
-|:2 :||:29.02.2024:|
-|:[url ./week2/ Задачи] \|\| [url https://github.com/Syndamia/oop-2023-solutions/tree/main/week02 Решения] \|\| [url https://classroom.github.com/a/3qPsfyyI GitHub classroom]:|
+|: 2
+|: 29.02.2024
+|: [url ./week2/ Задачи] \|\| [url https://github.com/Syndamia/oop-2023-solutions/tree/main/week02 Решения] \|\| [url https://classroom.github.com/a/3qPsfyyI GitHub classroom]
-|:3 :||:07.03.2024:|
-|:[url ./week3/ Задачи] \|\| [url https://github.com/Syndamia/oop-2023-solutions/tree/main/week03 Решения] \|\| [url https://classroom.github.com/a/KPMqXsFp GitHub classroom]:|
+|: 3
+|: 07.03.2024
+|: [url ./week3/ Задачи] \|\| [url https://github.com/Syndamia/oop-2023-solutions/tree/main/week03 Решения] \|\| [url https://classroom.github.com/a/KPMqXsFp GitHub classroom]
-|:4 :||:14.03.2024:|
-|:[url ./week4/ Задачи] \|\| [url https://github.com/Syndamia/oop-2023-solutions/tree/main/week04 Решения] \|\| [url https://classroom.github.com/a/qa_FfWeG GitHub classroom]:|
+|: 4
+|: 14.03.2024
+|: [url ./week4/ Задачи] \|\| [url https://github.com/Syndamia/oop-2023-solutions/tree/main/week04 Решения] \|\| [url https://classroom.github.com/a/qa_FfWeG GitHub classroom]
-|:5 :||:21.03.2024:|
-|:[url ./week5/ Задачи] \|\| [url https://github.com/Syndamia/oop-2023-solutions/tree/main/week05 Решения] \|\| [url https://classroom.github.com/a/42ZZ56Mg GitHub classroom]:|
+|: 5
+|: 21.03.2024
+|: [url ./week5/ Задачи] \|\| [url https://github.com/Syndamia/oop-2023-solutions/tree/main/week05 Решения] \|\| [url https://classroom.github.com/a/42ZZ56Mg GitHub classroom]
-|:6 :||:28.03.2024:|
-|:[url ./week6/ Задачи] \|\| [url https://github.com/Syndamia/oop-2023-solutions/tree/main/week06 Решения] \|\| [url https://classroom.github.com/a/rzSTn5pu GitHub classroom]:|
+|: 6
+|: 28.03.2024
+|: [url ./week6/ Задачи] \|\| [url https://github.com/Syndamia/oop-2023-solutions/tree/main/week06 Решения] \|\| [url https://classroom.github.com/a/rzSTn5pu GitHub classroom]
-|:7 :||:04.04.2024:|
-|:[url ./week7/ Задачи] \|\| [url https://github.com/Syndamia/oop-2023-solutions/tree/main/week07 Решения] \|\| [url https://classroom.github.com/a/vvZENbkX GitHub classroom]:|
+|: 7
+|: 04.04.2024
+|: [url ./week7/ Задачи] \|\| [url https://github.com/Syndamia/oop-2023-solutions/tree/main/week07 Решения] \|\| [url https://classroom.github.com/a/vvZENbkX GitHub classroom]
-|:8 :||:11.04.2024:|
-|:[url ./week8/ Задачи] \|\| [url https://github.com/Syndamia/oop-2023-solutions/tree/main/week08 Решения] \|\| [url https://classroom.github.com/a/7d0MBjcK GitHub classroom]:|
+|: 8
+|: 11.04.2024
+|: [url ./week8/ Задачи] \|\| [url https://github.com/Syndamia/oop-2023-solutions/tree/main/week08 Решения] \|\| [url https://classroom.github.com/a/7d0MBjcK GitHub classroom]
-|:9 :||:18.04.2024:|
-|:[url ./week9/ Задачи] \|\| [url https://github.com/Syndamia/oop-2023-solutions/tree/main/week09 Решения] \|\| [url https://classroom.github.com/a/wlL1oUg2 GitHub classroom]:|
+|: 9
+|: 18.04.2024
+|: [url ./week9/ Задачи] \|\| [url https://github.com/Syndamia/oop-2023-solutions/tree/main/week09 Решения] \|\| [url https://classroom.github.com/a/wlL1oUg2 GitHub classroom]
-|:10:||:25.04.2024:|
-|:[url ./week10/ Задачи] \|\| [url https://github.com/Syndamia/oop-2023-solutions/tree/main/week10 Решения] \|\| [url https://classroom.github.com/a/PbkITWhF GitHub classroom]:|
+|: 10
+|: 25.04.2024
+|: [url ./week10/ Задачи] \|\| [url https://github.com/Syndamia/oop-2023-solutions/tree/main/week10 Решения] \|\| [url https://classroom.github.com/a/PbkITWhF GitHub classroom]
-|:11:||:09.05.2024:|
-|:[url ./week11/ Задачи] \|\| [url https://github.com/Syndamia/oop-2023-solutions/tree/main/week11 Решения] \|\| [url https://classroom.github.com/a/oYQehcnN GitHub classroom] =[Това упражнение е от 11:15 до 13:15]=:|
+|: 11
+|: 09.05.2024
+|: [url ./week11/ Задачи] \|\| [url https://github.com/Syndamia/oop-2023-solutions/tree/main/week11 Решения] \|\| [url https://classroom.github.com/a/oYQehcnN GitHub classroom] =[Това упражнение е от 11:15 до 13:15]=
-|:12:||:09.05.2024:|
-|:[url ./week12/ Задачи] \|\| [url https://github.com/Syndamia/oop-2023-solutions/tree/main/week12 Решения] \|\| [url https://classroom.github.com/a/o7hNz1pr GitHub classroom]:|
+|: 12
+|: 09.05.2024
+|: [url ./week12/ Задачи] \|\| [url https://github.com/Syndamia/oop-2023-solutions/tree/main/week12 Решения] \|\| [url https://classroom.github.com/a/o7hNz1pr GitHub classroom]
-|:13:||:16.05.2024:|
-|:[url ./week13/ Задачи] \|\| [url https://github.com/Syndamia/oop-2023-solutions/tree/main/week13 Решения] \|\| [url https://classroom.github.com/a/GvV1wrC1 GitHub classroom]:|
+|: 13
+|: 16.05.2024
+|: [url ./week13/ Задачи] \|\| [url https://github.com/Syndamia/oop-2023-solutions/tree/main/week13 Решения] \|\| [url https://classroom.github.com/a/GvV1wrC1 GitHub classroom]
-|:14:||:23.05.2024:|
-|:[url ./week14/ Задачи] <!-- \|\| [url https://github.com/Syndamia/oop-2023-solutions/tree/main/week12 Решения] --> \|\| [url https://classroom.github.com/a/K0XomKEP GitHub classroom]:|
+|: 14
+|: 23.05.2024
+|: [url ./week14/ Задачи] <!-- \|\| [url https://github.com/Syndamia/oop-2023-solutions/tree/main/week12 Решения] --> \|\| [url https://classroom.github.com/a/K0XomKEP GitHub classroom]
-|:15:||:30.05.2024:|
-|:[url ./week15/ Задачи] <!-- \|\| [url https://github.com/Syndamia/oop-2023-solutions/tree/main/week12 Решения] --> \|\| [url https://classroom.github.com/a/z2QadyEE GitHub classroom] =[Това упражнение е от 11:15 до 13:15]=:|
+|: 15
+|: 30.05.2024
+|: [url ./week15/ Задачи] <!-- \|\| [url https://github.com/Syndamia/oop-2023-solutions/tree/main/week12 Решения] --> \|\| [url https://classroom.github.com/a/z2QadyEE GitHub classroom] =[Това упражнение е от 11:15 до 13:15]=
-|:16:||:06.06.2024:|
-|:[url ./week16/ Задачи] <!-- \|\| [url https://github.com/Syndamia/oop-2023-solutions/tree/main/week12 Решения] --> \|\| [url https://classroom.github.com/a/BWjw2dUC GitHub classroom]:|
+|: 16
+|: 06.06.2024
+|: [url ./week16/ Задачи] <!-- \|\| [url https://github.com/Syndamia/oop-2023-solutions/tree/main/week12 Решения] --> \|\| [url https://classroom.github.com/a/BWjw2dUC GitHub classroom]
diff --git a/src/teaching/oop-2023/week1/index.du b/src/teaching/oop-2023/week1/index.du
index dc3346b..b6d678b 100644
--- a/src/teaching/oop-2023/week1/index.du
+++ b/src/teaching/oop-2023/week1/index.du
@@ -47,17 +47,23 @@ GitHub classroom: [url https://classroom.github.com/a/UPJOzHty classroom.github.
=[Пример:]=
-.table
-|=Вход=||=Изход=|
-|:6\n
- 56 45 64 -8 98\n
- 14 40 -15 -18 -1\n
- 22 89 72 62 4\n
- 85 44 60 17 13\n
- 75 18 -12 48 21\n
- 27 10 94 -5 16\n
- p:|
-|:-15 87 109 79 3 75:|
+:table_2
+|= Вход
+|= Изход
+
+|:
+```
+6
+56 45 64 -8 98
+14 40 -15 -18 -1
+22 89 72 62 4
+85 44 60 17 13
+75 18 -12 48 21
+27 10 94 -5 16
+p
+
+|: -15 87 109 79 3 75
+
## Задача 4
@@ -81,19 +87,27 @@ GitHub classroom: [url https://classroom.github.com/a/UPJOzHty classroom.github.
=[Пример:]=
-.table
-|=Вход=||=Изход=|
-|:5\n
- Berlin Paris 1105 1255 140\n
- Sofia Paris 0915 1115 140\n
- Paris NewYork 1225 1610 500\n
- Sofia NewYork 0610 1345 800\n
- Sofia Berlin 1020 1130 200:|
-|:Sofia NewYork 800\n
- Sofia Paris 140\n
- Sofia Berlin 200\n
- Berlin Paris 140\n
- Paris NewYork 500:|
+:table_2
+|= Вход
+|= Изход
+
+|:
+```
+5
+Berlin Paris 1105 1255 140
+Sofia Paris 0915 1115 140
+Paris NewYork 1225 1610 500
+Sofia NewYork 0610 1345 800
+Sofia Berlin 1020 1130 200
+
+|:
+```
+Sofia NewYork 800
+Sofia Paris 140
+Sofia Berlin 200
+Berlin Paris 140
+Paris NewYork 500
+
### б) търсене
@@ -107,20 +121,27 @@ GitHub classroom: [url https://classroom.github.com/a/UPJOzHty classroom.github.
=[Пример:]=
-.table
-|=Вход=||=Изход=|
-|:5\n
- Berlin Paris 1105 1255 140\n
- Sofia Paris 0915 1115 140\n
- Paris NewYork 1225 1610 500\n
- Sofia NewYork 0610 1245 800\n
- Sofia Berlin 1020 1130 200\n
- Sofia NewYork:|
-|:Cheapest:\n
- Sofia Paris 0915 140\n
- Paris NewYork 1225 500\n
- Quickest:\n
- Sofia NewYork 0610 800:|
+:table_2
+|= Вход
+|= Изход
+
+|:
+```
+5
+Berlin Paris 1105 1255 140
+Sofia Paris 0915 1115 140
+Paris NewYork 1225 1610 500
+Sofia NewYork 0610 1245 800
+Sofia Berlin 1020 1130 200
+Sofia NewYork
+
+|:
+```
+Cheapest:
+Sofia Paris 0915 140
+Paris NewYork 1225 500
+Quickest:
+Sofia NewYork 0610 800
## Задача 5
@@ -137,24 +158,29 @@ GitHub classroom: [url https://classroom.github.com/a/UPJOzHty classroom.github.
=[Пример:]=
-.table
-|=Вход=||=Изход=|
-|:5\n
- Георги\n
- 2\n
- Асен Гьонов\n
- Майстора\n
- Асен Гьонов\n
- 2\n
- Георги\n
- др. Божидаров\n
- Майстора\n
- 1\n
- Георги\n
- др. Божидаров\n
- 1\n
- Асен Гьонов\n
- Павел\n
- 0\n
- Майстора:|
-|:3:|
+:table_2
+|= Вход
+|= Изход
+
+|:
+```
+5
+Георги
+2
+Асен Гьонов
+Майстора
+Асен Гьонов
+2
+Георги
+др. Божидаров
+Майстора
+1
+Георги
+др. Божидаров
+1
+Асен Гьонов
+Павел
+0
+Майстора
+
+|: 3
diff --git a/src/teaching/oop-2023/week2/index.du b/src/teaching/oop-2023/week2/index.du
index 6302ac0..2a71e0e 100644
--- a/src/teaching/oop-2023/week2/index.du
+++ b/src/teaching/oop-2023/week2/index.du
@@ -25,9 +25,26 @@ GitHub classroom: [url https://classroom.github.com/a/3qPsfyyI classroom.github.
=[Пример:]=
-.table
-|=Вход=||=Изход=|
-|:Emil Petkov\nBoburaBG\n5\nX X O O O\nO X O X X\nO X X X O\nO X X X X\nO X O O O\n:||:Emil Petkov: Total - 13, Longest - 4\nBoburaBG: Total - 12, Longest - 3:|
+:table_2
+|= Вход
+|= Изход
+
+|:
+```
+Emil Petkov
+BoburaBG
+5
+X X O O O
+O X O X X
+O X X X O
+O X X X X
+O X O O O
+
+|:
+```
+Emil Petkov: Total - 13, Longest - 4
+BoburaBG: Total - 12, Longest - 3
+
### а) без структури
diff --git a/src/teaching/upp-2023/additional1/index.du b/src/teaching/upp-2023/additional1/index.du
index 3cb8140..70cc715 100644
--- a/src/teaching/upp-2023/additional1/index.du
+++ b/src/teaching/upp-2023/additional1/index.du
@@ -59,11 +59,19 @@ GitHub classroom: [url https://classroom.github.com/a/nlFuKALw classroom.github.
\n
=[Примери:]=
-.table
-|=Извикване=||=Резултат=|
-|:getRow(1234567, &row, &type, &value):||:row = 0, type = 0, value = 1234567:|
-|:getRow(12345678, &row, &type, &value):||:row = 0, type = 1, value = 2345678:|
-|:getRow(123456789, &row, &type, &value):||:row = 1, type = 2, value = 3456789:|
+:table_2
+|= Извикване
+|= Резултат
+
+|: getRow(1234567, &row, &type, &value)
+|: row = 0, type = 0, value = 1234567
+
+|: getRow(12345678, &row, &type, &value)
+|: row = 0, type = 1, value = 2345678
+
+|: getRow(123456789, &row, &type, &value)
+|: row = 1, type = 2, value = 3456789
+
### б) обикновенно число
@@ -80,31 +88,77 @@ GitHub classroom: [url https://classroom.github.com/a/nlFuKALw classroom.github.
=[Примери:]=
*[Възможно е отклонението на последния пример да бъде повече от 2 единици]*
-.table
-|=Извикване=||=Резултат=|
-|:a = parseNumber(1, 5):||:a = 1.5:|
-|:a = parseNumber(0, 37):||:a = 0.37:|
-|:a = parseNumber(913, 0):||:a = 913.0:|
-|:a = parseNumber(8388607, 18446744073709551615):||:a = 8388607.18446744073709551615:|
+:table_2
+|= Извикване
+|= Резултат
+
+|: a = parseNumber(1, 5)
+|: a = 1.5
+
+|: a = parseNumber(0, 37)
+|: a = 0.37
+
+|: a = parseNumber(913, 0)
+|: a = 913.0
+
+|: a = parseNumber(8388607, 18446744073709551615)
+|: a = 8388607.18446744073709551615
+
### в) числов текст (част едно)
Ако типа е "1", тогава стойността в базата данни е някакъв низ (последователност от букви), която е кодирана в числата.
Всеки 5 бита в реда (от дясно на ляво) от таблица Б определя буква, като:
-.table
-|:Битове:||:Десетично число:||:Буква:|
-|:00000 :||:0 :||:A :|
-|:00001 :||:1 :||:B :|
-|:00010 :||:2 :||:C :|
-|:... :||: :||: :|
-|:11001 :||:25 :||:Z :|
-|:11010 :||:26 :||:*[шпация]*:|
-|:11011 :||:27 :||:. :|
-|:11100 :||:28 :||:, :|
-|:11101 :||:29 :||:: :|
-|:11110 :||:30 :||:? :|
-|:11111 :||:31 :||:! :|
+:table_3
+|: Битове
+|: Десетично число
+|: Буква
+
+|: 00000
+|: 0
+|: A
+
+|: 00001
+|: 1
+|: B
+
+|: 00010
+|: 2
+|: C
+
+|: ...
+|:
+|:
+
+|: 11001
+|: 25
+|: Z
+
+|: 11010
+|: 26
+|: *[шпация]*
+
+|: 11011
+|: 27
+|: .
+
+|: 11100
+|: 28
+|: ,
+
+|: 11101
+|: 29
+|: :
+
+|: 11110
+|: 30
+|: ?
+
+|: 11111
+|: 31
+|: !
+
Тоест ако в нашия тип данни запазваме само 10 бита, тогава числото "2" ще бъде `[0000000010]` и имаме низа "AC".
Игнорирайте старшите битове, които остават като "остатък" (по-малко от 5 бита ширина).
@@ -121,11 +175,19 @@ GitHub classroom: [url https://classroom.github.com/a/nlFuKALw classroom.github.
\n
=[Примери:]=
-.table
-|=Извикване=||=Резултат=|
-|:decodeNumberText(2, decodedText):||:decodedText = "AAAAAAAAAAAC":|
-|:decodeNumberText(257104811188071551, decodedText):||:decodedText = "HELLO WORLD!":|
-|:decodeNumberText(1148238614786569150, decodedText):||:decodedText = "!. ,:?!. ,:?":|
+:table_2
+|= Извикване
+|= Резултат
+
+|: decodeNumberText(2, decodedText)
+|: decodedText = "AAAAAAAAAAAC"
+
+|: decodeNumberText(257104811188071551, decodedText)
+|: decodedText = "HELLO WORLD!"
+
+|: decodeNumberText(1148238614786569150, decodedText)
+|: decodedText = "!. ,:?!. ,:?"
+
### г) числов текст (част две)
@@ -149,15 +211,31 @@ GitHub classroom: [url https://classroom.github.com/a/nlFuKALw classroom.github.
\n
=[Примери:]=
-.table
-|=Извикване=||=Резултат=|
-|:decodeNumberText(0, 2, decodedText):||:decodedText = "AAAAAAAAAAAC":|
-|:decodeNumberText(0, 257104811188071551, decodedText):||:decodedText = "HELLO WORLD!":|
-|:decodeNumberText(0, 1148238614786569150, decodedText):||:decodedText = "!. ,:?!., :?":|
-|:decodeNumberText(17, 632247276719883827, decodedText):||:decodedText = "AAAAAAAAAAAC":|
-|:decodeNumberText(3, 368677860020992194, decodedText):||:decodedText = "HELLO WORLD!":|
-|:decodeNumberText(30, 1073856582231288700, decodedText):||:decodedText = "!. ,:?!., :?":|
-|:decodeNumberText(32, 1148238614786569150, decodedText):||:decodedText = "!. ,:?!., :?":|
+:table_2
+|= Извикване
+|= Резултат
+
+|: decodeNumberText(0, 2, decodedText)
+|: decodedText = "AAAAAAAAAAAC"
+
+|: decodeNumberText(0, 257104811188071551, decodedText)
+|: decodedText = "HELLO WORLD!"
+
+|: decodeNumberText(0, 1148238614786569150, decodedText)
+|: decodedText = "!. ,:?!., :?"
+
+|: decodeNumberText(17, 632247276719883827, decodedText)
+|: decodedText = "AAAAAAAAAAAC"
+
+|: decodeNumberText(3, 368677860020992194, decodedText)
+|: decodedText = "HELLO WORLD!"
+
+|: decodeNumberText(30, 1073856582231288700, decodedText)
+|: decodedText = "!. ,:?!., :?"
+
+|: decodeNumberText(32, 1148238614786569150, decodedText)
+|: decodedText = "!. ,:?!., :?"
+
### д) масив (част едно)
@@ -174,9 +252,13 @@ GitHub classroom: [url https://classroom.github.com/a/nlFuKALw classroom.github.
\n
=[Пример:]=
-.table
-|=Извикване=||=Резултат=|
-|:decodeArray(846406911526255600, arr):||:arr = { 0, 11, 11, 15, 0, 10, 9, 10, 0, 0, 15, 5, 3, 11, 15, 0 }:|
+:table_2
+|= Извикване
+|= Резултат
+
+|: decodeArray(846406911526255600, arr)
+|: arr = { 0, 11, 11, 15, 0, 10, 9, 10, 0, 0, 15, 5, 3, 11, 15, 0 }
+
### е) масив (част две)
@@ -199,10 +281,16 @@ GitHub classroom: [url https://classroom.github.com/a/nlFuKALw classroom.github.
\n
=[Примери:]=
-.table
-|=Извикване=||=Резултат=|
-|:decodeArray(360537, 846406911526255600, arr):||:arr = { 0, 11, 11, 11, 0, 11, 11, 11, 0, 0, 11, 11, 11, 11, 11, 0 }:|
-|:decodeArray(3119812, 846406911526255600, arr):||:arr = { 8, 8, 8, 15, 8, 8, 8, 8, 8, 8, 15, 5, 3, 8, 15, 8 }:|
+:table_2
+|= Извикване
+|= Резултат
+
+|: decodeArray(360537, 846406911526255600, arr)
+|: arr = { 0, 11, 11, 11, 0, 11, 11, 11, 0, 0, 11, 11, 11, 11, 11, 0 }
+
+|: decodeArray(3119812, 846406911526255600, arr)
+|: arr = { 8, 8, 8, 15, 8, 8, 8, 8, 8, 8, 15, 5, 3, 8, 15, 8 }
+
### ж) компресирани стойности
@@ -243,10 +331,16 @@ GitHub classroom: [url https://classroom.github.com/a/nlFuKALw classroom.github.
\n
=[Примери:]=
-.table
-|=Извикване=||=Резултат=|
-|:crypt = { 0, 2, 5 }\ndecompress(32770, crypt, &decompA, &decompB):||:decompA = 1, decompB = 5:|
-|:crypt = { 2097151 }\ndecompress(7340032, crypt, &decompA, &decompB):||:decompA = 8388607, decompB = 18446744073709551615:|
+:table_2
+|= Извикване
+|= Резултат
+
+|: crypt = { 0, 2, 5 }\ndecompress(32770, crypt, &decompA, &decompB)
+|: decompA = 1, decompB = 5
+
+|: crypt = { 2097151 }\ndecompress(7340032, crypt, &decompA, &decompB)
+|: decompA = 8388607, decompB = 18446744073709551615
+
### з) входни данни
diff --git a/src/teaching/upp-2023/index.du b/src/teaching/upp-2023/index.du
index 3dc2808..a868af4 100644
--- a/src/teaching/upp-2023/index.du
+++ b/src/teaching/upp-2023/index.du
@@ -16,22 +16,71 @@
[url https://github.com/ivanahristova/introduction-to-programming-2023-2024 Материали от семинари] |
[url https://learn.fmi.uni-sofia.bg/course/view.php?id=9567 Курс в мудъл]
-:table
-|=&#8470;=||=Дата=||=Материали=|
+:table_3
+|= &#8470;
+|= Дата
+|= Материали
-|:1 :||:06.10.2023:||:[url ./week1/welcome.html Добре дошли] \|\| [url ./week1/setup.html?a Конфигуриране на GitHub classroom и Visual Studio] \|\| [url ./week1/?a Задачи] \|\| [url https://github.com/Syndamia/upp-2023-solutions/tree/main/week01 Решения]:|
-|:2 :||:13.10.2023:||:[url ./week2/revision.html?a Преговор] \|\| [url ./week2 Задачи] \|\| [url https://github.com/Syndamia/upp-2023-solutions/tree/main/week02 Решения]:|
-|:3 :||:20.10.2023:||:[url ./week3/revision.html?a Преговор] \|\| [url ./week3 Задачи] \|\| [url https://github.com/Syndamia/upp-2023-solutions/tree/main/week03 Решения]:|
-|:4 :||:27.10.2023:||:[url ./week4/revision.html?a Преговор] \|\| [url ./week4 Задачи] \|\| [url https://classroom.github.com/a/jqKaO1ny GitHub classroom] \|\| [url https://github.com/Syndamia/upp-2023-solutions/tree/main/week04 Решения (само 1ва)]:|
-|:5 :||:03.11.2023:||:[url ./week5/revision.html Преговор] \|\| [url ./week5 Задачи] \|\| [url https://classroom.github.com/a/3KoIQ71H GitHub classroom] \|\| [url https://github.com/Syndamia/upp-2023-solutions/tree/main/week05 Решения]:|
-|: :||:04.11.2023:||:[url ./additional1/ Допълнително упражнение 1] \|\| [url https://classroom.github.com/a/nlFuKALw GitHub classroom] \|\| [url https://github.com/Syndamia/upp-2023-solutions/blob/main/additional1/exercise.cpp Решение]:|
-|:6 :||:10.11.2023:||:[url ./week6 Задачи] \|\| [url https://github.com/Syndamia/upp-2023-solutions/tree/main/week06 Решения] \|\| [url https://classroom.github.com/a/BBLlWMOy GitHub classroom]:|
-|:7 :||:17.11.2023:||:[url ./week7 Задачи] \|\| [url https://github.com/Syndamia/upp-2023-solutions/tree/main/week07 Решения] \|\| [url https://classroom.github.com/a/m5M2_CWD GitHub classroom]:|
-|:8 :||:24.11.2023:||:[url ./week8 Задачи] \|\| [url https://github.com/Syndamia/upp-2023-solutions/tree/main/week08 Решения] \|\| [url https://classroom.github.com/a/Big7FRUG GitHub classroom]:|
-|:9 :||:01.12.2023:||:[url ./week9 Задачи] \|\| [url https://github.com/Syndamia/upp-2023-solutions/tree/main/week09 Решения] \|\| [url https://classroom.github.com/a/lGXxCRZO GitHub classroom]:|
-|: :||:04.12.2023:||:[url ./additional2/ Допълнително упражнение 2] \|\| [url https://github.com/Syndamia/upp-2023-solutions/tree/main/additional2 Решения] \|\| [url https://classroom.github.com/a/CrerXpf6 GitHub classroom]:|
-|:10:||:15.12.2023:||:[url ./week10 Задачи] \|\| [url https://github.com/Syndamia/upp-2023-solutions/tree/main/week10 Решения] \|\| [url https://classroom.github.com/a/EJcTQRz4 GitHub classroom]:|
-|:11:||:22.12.2023:||:[url ./week11 Задачи] \|\| [url https://github.com/Syndamia/upp-2023-solutions/tree/main/week11 Решения] \|\| [url https://classroom.github.com/a/cZRnZj9y GitHub classroom]:|
-|:12:||:05.01.2024:||:[url ./week12 Задачи] \|\| [url https://github.com/Syndamia/upp-2023-solutions/tree/main/week12 Решения] \|\| [url https://classroom.github.com/a/KEDSxDjl GitHub classroom]:|
-|:13:||:12.01.2024:||:[url ./week13 Задачи] \|\| [url https://classroom.github.com/a/bgiFD6SB GitHub classroom]:|
-|:14:||:19.01.2024:||:[url ./week14 Задачи] \|\| [url https://classroom.github.com/a/B08TtnnW GitHub classroom]:|
+|: 1
+|: 06.10.2023
+|: [url ./week1/welcome.html Добре дошли] \|\| [url ./week1/setup.html?a Конфигуриране на GitHub classroom и Visual Studio] \|\| [url ./week1/?a Задачи] \|\| [url https://github.com/Syndamia/upp-2023-solutions/tree/main/week01 Решения]
+
+|: 2
+|: 13.10.2023
+|: [url ./week2/revision.html?a Преговор] \|\| [url ./week2 Задачи] \|\| [url https://github.com/Syndamia/upp-2023-solutions/tree/main/week02 Решения]
+
+|: 3
+|: 20.10.2023
+|: [url ./week3/revision.html?a Преговор] \|\| [url ./week3 Задачи] \|\| [url https://github.com/Syndamia/upp-2023-solutions/tree/main/week03 Решения]
+
+|: 4
+|: 27.10.2023
+|: [url ./week4/revision.html?a Преговор] \|\| [url ./week4 Задачи] \|\| [url https://classroom.github.com/a/jqKaO1ny GitHub classroom] \|\| [url https://github.com/Syndamia/upp-2023-solutions/tree/main/week04 Решения (само 1ва)]
+
+|: 5
+|: 03.11.2023
+|: [url ./week5/revision.html Преговор] \|\| [url ./week5 Задачи] \|\| [url https://classroom.github.com/a/3KoIQ71H GitHub classroom] \|\| [url https://github.com/Syndamia/upp-2023-solutions/tree/main/week05 Решения]
+
+|:
+|: 04.11.2023
+|: [url ./additional1/ Допълнително упражнение 1] \|\| [url https://classroom.github.com/a/nlFuKALw GitHub classroom] \|\| [url https://github.com/Syndamia/upp-2023-solutions/blob/main/additional1/exercise.cpp Решение]
+
+|: 6
+|: 10.11.2023
+|: [url ./week6 Задачи] \|\| [url https://github.com/Syndamia/upp-2023-solutions/tree/main/week06 Решения] \|\| [url https://classroom.github.com/a/BBLlWMOy GitHub classroom]
+
+|: 7
+|: 17.11.2023
+|: [url ./week7 Задачи] \|\| [url https://github.com/Syndamia/upp-2023-solutions/tree/main/week07 Решения] \|\| [url https://classroom.github.com/a/m5M2_CWD GitHub classroom]
+
+|: 8
+|: 24.11.2023
+|: [url ./week8 Задачи] \|\| [url https://github.com/Syndamia/upp-2023-solutions/tree/main/week08 Решения] \|\| [url https://classroom.github.com/a/Big7FRUG GitHub classroom]
+
+|: 9
+|: 01.12.2023
+|: [url ./week9 Задачи] \|\| [url https://github.com/Syndamia/upp-2023-solutions/tree/main/week09 Решения] \|\| [url https://classroom.github.com/a/lGXxCRZO GitHub classroom]
+
+|:
+|: 04.12.2023
+|: [url ./additional2/ Допълнително упражнение 2] \|\| [url https://github.com/Syndamia/upp-2023-solutions/tree/main/additional2 Решения] \|\| [url https://classroom.github.com/a/CrerXpf6 GitHub classroom]
+
+|: 10
+|: 15.12.2023
+|: [url ./week10 Задачи] \|\| [url https://github.com/Syndamia/upp-2023-solutions/tree/main/week10 Решения] \|\| [url https://classroom.github.com/a/EJcTQRz4 GitHub classroom]
+
+|: 11
+|: 22.12.2023
+|: [url ./week11 Задачи] \|\| [url https://github.com/Syndamia/upp-2023-solutions/tree/main/week11 Решения] \|\| [url https://classroom.github.com/a/cZRnZj9y GitHub classroom]
+
+|: 12
+|: 05.01.2024
+|: [url ./week12 Задачи] \|\| [url https://github.com/Syndamia/upp-2023-solutions/tree/main/week12 Решения] \|\| [url https://classroom.github.com/a/KEDSxDjl GitHub classroom]
+
+|: 13
+|: 12.01.2024
+|: [url ./week13 Задачи] \|\| [url https://classroom.github.com/a/bgiFD6SB GitHub classroom]
+
+|: 14
+|: 19.01.2024
+|: [url ./week14 Задачи] \|\| [url https://classroom.github.com/a/B08TtnnW GitHub classroom]
diff --git a/src/teaching/upp-2023/week1/index.du b/src/teaching/upp-2023/week1/index.du
index 2bdf99d..926d021 100644
--- a/src/teaching/upp-2023/week1/index.du
+++ b/src/teaching/upp-2023/week1/index.du
@@ -20,10 +20,16 @@ GitHub classroom: [url https://classroom.github.com/a/W7hZDMgC classroom.github.
=[Примери:]=
-.table
-|=Вход=||=Изход=|
-|:2 :||:4 :|
-|:8 :||:16 :|
+:table_2
+|= Вход
+|= Изход
+
+|: 2
+|: 4
+
+|: 8
+|: 16
+
=[Упътване:]=
Цифрата е просто знак, и за да извършите коректно умножението трябва да превърнете знака в число.
@@ -39,7 +45,12 @@ C = (F - 32) * 5/9
=[Примери:]=
-.table
-|=Вход=||=Изход=|
-|:32 :||:0 :|
-|:107 :||:41 :|
+:table_2
+|= Вход
+|= Изход
+
+|: 32
+|: 0
+
+|: 107
+|: 41
diff --git a/src/teaching/upp-2023/week10/index.du b/src/teaching/upp-2023/week10/index.du
index 04889c4..3c4f8de 100644
--- a/src/teaching/upp-2023/week10/index.du
+++ b/src/teaching/upp-2023/week10/index.du
@@ -15,10 +15,16 @@ GitHub classroom: [url https://classroom.github.com/a/EJcTQRz4 classroom.github.
=[Примери:]=
-.table
-|=Вход=||=Изход=|
-|:6 6 :||:6 :|
-|:48 18:||:6 :|
+:table_2
+|= Вход
+|= Изход
+
+|: 6 6
+|: 6
+
+|: 48 18
+|: 6
+
## Задача 2
@@ -39,14 +45,28 @@ F_{n-1} + F_{n-2} & \text{иначе} \\
=[Примери:]=
-.table
-|=Вход=||=Изход=|
-|:0 :||:0 :|
-|:1 :||:1 :|
-|:3 :||:4 :|
-|:144 :||:12 :|
-|:1597 :||:17 :|
-|:46368:||:24 :|
+:table_2
+|= Вход
+|= Изход
+
+|: 0
+|: 0
+
+|: 1
+|: 1
+
+|: 3
+|: 4
+
+|: 144
+|: 12
+
+|: 1597
+|: 17
+
+|: 46368
+|: 24
+
## Задача 3
@@ -54,12 +74,48 @@ F_{n-1} + F_{n-2} & \text{иначе} \\
=[Примери:]=
-.table
-|=Вход=||=Изход=|
-|:1 :||:<pre>+\n#</pre>:|
-|:2 :||:<pre>+++\n +\n #\n###</pre>:|
-|:3 :||:<pre>+++++\n +++\n +\n #\n ###\n#####</pre>:|
-|:5 :||:<pre>+++++++++\n +++++++\n +++++\n +++\n +\n #\n ###\n #####\n #######\n#########</pre>:|
+:table_2
+|= Вход
+|= Изход
+
+|: 1
+|:
+```
++
+#
+
+|: 2
+|:
+```
++++
+ +
+ #
+###
+
+|: 3
+|:
+```
++++++
+ +++
+ +
+ #
+ ###
+#####
+
+|: 5
+|:
+```
++++++++++
+ +++++++
+ +++++
+ +++
+ +
+ #
+ ###
+ #####
+ #######
+#########
+
## Задача 4
@@ -68,12 +124,50 @@ F_{n-1} + F_{n-2} & \text{иначе} \\
=[Примери:]=
-.table
-|=Вход=||=Изход=|
-|:1 :||:0\n1:|
-|:2 :||:00\n01\n10\n11:|
-|:3 :||:000\n001\n010\n011\n100\n101\n110\n111:|
-|:4 :||:0000\n0001\n...\n0111\n1000\n1001\n...\n1101\n1110\n1111:|
+:table_2
+|= Вход
+|= Изход
+
+|: 1
+|:
+```
+0
+1
+
+|: 2
+|:
+```
+00
+01
+10
+11
+
+|: 3
+|:
+```
+000
+001
+010
+011
+100
+101
+110
+111
+
+|: 4
+|:
+```
+0000
+0001
+*[...]*
+0111
+1000
+1001
+*[...]*
+1101
+1110
+1111
+
## Задача 5
@@ -84,8 +178,15 @@ F_{n-1} + F_{n-2} & \text{иначе} \\
=[Примери:]=
-.table
-|=Вход=||=Изход=|
-|:(1 + 2):||:3 :|
-|:((2 + 9) * 3):||:33:|
-|:(((8 * 1) * (56 + 4)) + (19 * 2)):||:518:|
+:table_2
+|= Вход
+|= Изход
+
+|: (1 + 2)
+|: 3
+
+|: ((2 + 9) * 3)
+|: 33
+
+|: (((8 * 1) * (56 + 4)) + (19 * 2))
+|: 518
diff --git a/src/teaching/upp-2023/week11/index.du b/src/teaching/upp-2023/week11/index.du
index 3f7d8f8..e8ef6bd 100644
--- a/src/teaching/upp-2023/week11/index.du
+++ b/src/teaching/upp-2023/week11/index.du
@@ -24,14 +24,28 @@ GitHub classroom: [url https://classroom.github.com/a/cZRnZj9y classroom.github.
=[Примери:]=
-.table
-|=Вход=||=Изход=|
-|:0 :||:0 :|
-|:1 :||:1 :|
-|:3 :||:4 :|
-|:144 :||:12 :|
-|:1597 :||:17 :|
-|:46368:||:24 :|
+:table_2
+|= Вход
+|= Изход
+
+|: 0
+|: 0
+
+|: 1
+|: 1
+
+|: 3
+|: 4
+
+|: 144
+|: 12
+
+|: 1597
+|: 17
+
+|: 46368
+|: 24
+
## Задача 2
@@ -43,12 +57,35 @@ GitHub classroom: [url https://classroom.github.com/a/cZRnZj9y classroom.github.
=[Примери:]=
-.table
-|=Вход=||=Изход=|
-|:1 :||:<pre>+</pre>:|
-|:2 :||:<pre>+\n++</pre>:|
-|:3 :||:<pre>+\n++\n+++</pre>:|
-|:5 :||:<pre>+\n++\n+++\n++++\n+++++</pre>:|
+:table_2
+|= Вход
+|= Изход
+
+|: 1
+|: +
+
+|: 2
+|:
+```
++
+++
+
+|: 3
+|:
+```
++
+++
++++
+
+|: 5
+|:
+```
++
+++
++++
+++++
++++++
+
### б) долен триъгълник
@@ -56,12 +93,37 @@ GitHub classroom: [url https://classroom.github.com/a/cZRnZj9y classroom.github.
=[Примери:]=
-.table
-|=Вход=||=Изход=|
-|:1 :||:<pre>#</pre>:|
-|:2 :||:<pre>##\n#</pre>:|
-|:3 :||:<pre>###\n##\n#</pre>:|
-|:5 :||:<pre>#####\n####\n###\n##\n#</pre>:|
+:table_2
+|= Вход
+|= Изход
+
+|: 1
+|:
+```
+#
+
+|: 2
+|:
+```
+##
+#
+
+|: 3
+|:
+```
+###
+##
+#
+
+|: 5
+|:
+```
+#####
+####
+###
+##
+#
+
### в) пълен триъгълник
@@ -70,12 +132,48 @@ GitHub classroom: [url https://classroom.github.com/a/cZRnZj9y classroom.github.
=[Примери:]=
-.table
-|=Вход=||=Изход=|
-|:1 :||:<pre>+\n#</pre>:|
-|:2 :||:<pre>+\n++\n##\n#</pre>:|
-|:3 :||:<pre>+\n++\n+++\n###\n##\n#</pre>:|
-|:5 :||:<pre>+\n++\n+++\n++++\n+++++\n#####\n####\n###\n##\n#</pre>:|
+:table_2
+|= Вход
+|= Изход
+
+|: 1
+|:
+```
++
+#
+
+|: 2
+|:
+```
++
+++
+##
+#
+
+|: 3
+|:
+```
++
+++
++++
+###
+##
+#
+
+|: 5
+|:
+```
++
+++
++++
+++++
++++++
+#####
+####
+###
+##
+#
+
## Задача 3
@@ -91,11 +189,19 @@ GitHub classroom: [url https://classroom.github.com/a/cZRnZj9y classroom.github.
=[Примери:]=
-.table
-|=Вход=||=Изход=|
-|:72 14:||:3 3 8:|
-|:36 13:||:2 2 9:|
-|:350 42:||:2 5 35:|
+:table_2
+|= Вход
+|= Изход
+
+|: 72 14
+|: 3 3 8
+
+|: 36 13
+|: 2 2 9
+
+|: 350 42
+|: 2 5 35
+
## Задача 4
@@ -104,12 +210,50 @@ GitHub classroom: [url https://classroom.github.com/a/cZRnZj9y classroom.github.
=[Примери:]=
-.table
-|=Вход=||=Изход=|
-|:1 :||:0\n1:|
-|:2 :||:00\n01\n10\n11:|
-|:3 :||:000\n001\n010\n011\n100\n101\n110\n111:|
-|:4 :||:0000\n0001\n...\n0111\n1000\n1001\n...\n1101\n1110\n1111:|
+:table_2
+|= Вход
+|= Изход
+
+|: 1
+|:
+```
+0
+1
+
+|: 2
+|:
+```
+00
+01
+10
+11
+
+|: 3
+|:
+```
+000
+001
+010
+011
+100
+101
+110
+111
+
+|: 4
+|:
+```
+0000
+0001
+*[...]*
+0111
+1000
+1001
+*[...]*
+1101
+1110
+1111
+
## Задача 5
@@ -122,8 +266,48 @@ GitHub classroom: [url https://classroom.github.com/a/cZRnZj9y classroom.github.
=[Примери:]=
-.table
-|=Вход=||=Изход=|
-|:-1 1 -1 0\n-1 -1 0 -1\n-1 0 -1 -1\n1 1 -1 0:||:0 1 1 0\n1 0 0 1\n0 0 1 1\n1 1 0 0:|
-|:-1 0 1 -1\n1 -1 0 -1\n0 1 -1 -1\n0 0 1 -1:||:1 0 1 0\n1 1 0 0\n0 1 0 1\n0 0 1 1:|
-|:-1 0 -1 -1\n-1 0 0 -1\n0 -1 -1 -1\n-1 -1 -1 0:||:0 0 1 1\n1 0 0 1\n0 1 1 0\n1 1 0 0:|
+:table_2
+|= Вход
+|= Изход
+
+|:
+```
+-1 1 -1 0
+-1 -1 0 -1
+-1 0 -1 -1
+ 1 1 -1 0
+
+|:
+```
+0 1 1 0
+1 0 0 1
+0 0 1 1
+1 1 0 0
+
+|:
+```
+-1 0 1 -1
+ 1 -1 0 -1
+ 0 1 -1 -1
+ 0 0 1 -1
+
+|:
+```
+1 0 1 0
+1 1 0 0
+0 1 0 1
+0 0 1 1
+
+|:
+```
+-1 0 -1 -1
+-1 0 0 -1
+ 0 -1 -1 -1
+-1 -1 -1 0
+
+|:
+```
+0 0 1 1
+1 0 0 1
+0 1 1 0
+1 1 0 0
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
diff --git a/src/teaching/upp-2023/week13/index.du b/src/teaching/upp-2023/week13/index.du
index 98c9c70..b312d9e 100644
--- a/src/teaching/upp-2023/week13/index.du
+++ b/src/teaching/upp-2023/week13/index.du
@@ -22,10 +22,33 @@ GitHub classroom: [url https://classroom.github.com/a/bgiFD6SB classroom.github.
=[Примери:]=
-.table
-|=Вход=||=Изход=|
-|:5\ncate\ncot\ndog\ncote\nco\ncat:||:cot:|
-|:4\nnask\nnmaskl\nmsdal\ntask\nmask:||:task:|
+:table_2
+|= Вход
+|= Изход
+
+|:
+```
+5
+cate
+cot
+dog
+cote
+co
+cat
+
+|: cot
+
+|:
+```
+4
+nask
+nmaskl
+msdal
+task
+mask
+
+|: task
+
## 2 задача
@@ -43,9 +66,25 @@ GitHub classroom: [url https://classroom.github.com/a/bgiFD6SB classroom.github.
=[Примери:]=
-.table
-|=Вход=||=Изход=|
-|:Antony Garcia 10\nJohn Doe 9\nJoseph Carmichael 10\nSteven Wayne 1\nBob Carmichael 10\nHoly Wilson 9:||:Bob Carmichael\nJoseph Carmichael\nAntony Garcia:|
+:table_2
+|= Вход
+|= Изход
+
+|:
+```
+Antony Garcia 10
+John Doe 9
+Joseph Carmichael 10
+Steven Wayne 1
+Bob Carmichael 10
+Holy Wilson 9
+
+|:
+```
+Bob Carmichael
+Joseph Carmichael
+Antony Garcia
+
## 3 задача
@@ -84,13 +123,78 @@ A .
=[Примери:]=
-.table
-|=Вход=||=Изход=|
-|:<pre>7 13\nThi A Someth\ns i n ing. \ns c . \nool \n. Good Hel\n luc lo.\nHa. k. \n</pre>:||:Something.\nAn.\nThis is cool.\nHello.\nGood luck.\nHa.\n:|
-|:<pre>2 7\nB A.\n. </pre>:||:<pre>A.\nB .</pre>:|
-|:<pre>3 7\n A.\nB \n. </pre>:||:<pre>A.\nB .</pre>:|
-|:<pre>4 7\n A.\n \nB \n. </pre>:||:<pre>A.\nB .</pre>:|
-|:<pre>3 6\nBig \njumper\n. </pre>:||:<pre>Big jumper.</pre>:|
+:table_2
+|= Вход
+|= Изход
+
+|:
+```
+7 13
+Thi A Someth
+s i n ing.
+s c .
+ool
+. Good Hel
+ luc lo.
+Ha. k.
+
+|:
+```
+Something.
+An.
+This is cool.
+Hello.
+Good luck.
+Ha.
+
+|:
+```
+2 7
+B A.
+.
+
+|:
+```
+A.
+B .
+
+|:
+```
+3 7
+ A.
+B
+.
+
+|:
+```
+A.
+B .
+
+|:
+:code
+4 7
+ A.
+
+B
+.
+
+
+|:
+```
+A.
+B .
+
+|:
+```
+3 6
+Big
+jumper
+.
+
+|:
+```
+Big jumper.
+
## 4 задача
@@ -138,6 +242,21 @@ A .
=[Пример:]=
-.table
-|=Вход=||=Изход=|
-|:<pre> 1 5\n+ 2 6\n 3 7\n 4 8 .\n- 0.3 0.2 .\n* 1.0 0.1 .\n 1.0 3 0.2 3\n - 3 0.3 0.1 1.0\n* 0.0 2.0 / 2.0 0.1 .\n$\n</pre>:||:-3 -36 -20:|
+:table_2
+|= Вход
+|= Изход
+
+|:
+```
+ 1 5
++ 2 6
+ 3 7
+ 4 8 .
+- 0.3 0.2 .
+* 1.0 0.1 .
+ 1.0 3 0.2 3
+ - 3 0.3 0.1 1.0
+* 0.0 2.0 / 2.0 0.1 .
+$
+
+|: -3 -36 -20
diff --git a/src/teaching/upp-2023/week2/index.du b/src/teaching/upp-2023/week2/index.du
index e951282..5319d74 100644
--- a/src/teaching/upp-2023/week2/index.du
+++ b/src/teaching/upp-2023/week2/index.du
@@ -39,9 +39,13 @@ GitHub classroom: [url https://classroom.github.com/a/Bi5dhwW7 classroom.github.
=[Пример]=
&emsp; *[Нарочно са показани само първите два реда от изхода]*
-.table
-|=Вход=||=Изход=|
-|:5 :||:Със загуба bool 1\nБез загуба long long int 5\n...:|
+:table_2
+|= Вход
+|= Изход
+
+|: 5
+|: Със загуба bool 1\nБез загуба long long int 5\n...
+
## Тема: Побитови оператори
@@ -53,10 +57,16 @@ GitHub classroom: [url https://classroom.github.com/a/Bi5dhwW7 classroom.github.
=[Примери]=
-.table
-|=Вход=||=Изход=|
-|:5 :||:5 :|
-|:200 :||:8 :|
+:table_2
+|= Вход
+|= Изход
+
+|: 5
+|: 5
+
+|: 200
+|: 8
+
### Задача 3 - Деление и умножение
@@ -66,9 +76,13 @@ GitHub classroom: [url https://classroom.github.com/a/Bi5dhwW7 classroom.github.
=[Пример]=
-.table
-|=Вход=||=Изход=|
-|:73 :||:4 584:|
+:table_2
+|= Вход
+|= Изход
+
+|: 73
+|: 4 584
+
### Задача 4 - IP адрес
@@ -97,11 +111,19 @@ GitHub classroom: [url https://classroom.github.com/a/Bi5dhwW7 classroom.github.
=[Примери]=
-.table
-|=Вход=||=Изход=|
-|:3831791750:||:228.100.128.134:|
-|:240:||:0.0.0.240:|
-|:948405232:||:56.135.131.240:|
+:table_2
+|= Вход
+|= Изход
+
+|: 3831791750
+|: 228.100.128.134
+
+|: 240
+|: 0.0.0.240
+
+|: 948405232
+|: 56.135.131.240
+
## Тема: Логически оператори
@@ -116,10 +138,16 @@ GitHub classroom: [url https://classroom.github.com/a/Bi5dhwW7 classroom.github.
=[Примери]=
-.table
-|=Вход=||=Изход=|
-|:200 10:||:1 :|
-|:91 5 :||:0 :|
+:table_2
+|= Вход
+|= Изход
+
+|: 200 10
+|: 1
+
+|: 91 5
+|: 0
+
### Задача 6 - Цифра ли е
@@ -128,11 +156,19 @@ GitHub classroom: [url https://classroom.github.com/a/Bi5dhwW7 classroom.github.
=[Примери]=
-.table
-|=Вход=||=Изход=|
-|:5 :||:1 :|
-|:a :||:0 :|
-|:! :||:0 :|
+:table_2
+|= Вход
+|= Изход
+
+|: 5
+|: 1
+
+|: a
+|: 0
+
+|: !
+|: 0
+
## Тема: Условни конструкции
@@ -144,9 +180,13 @@ GitHub classroom: [url https://classroom.github.com/a/Bi5dhwW7 classroom.github.
=[Пример]=
-.table
-|=Вход=||=Изход=|
-|:5 3 8:||:3 5 8:|
+:table_2
+|= Вход
+|= Изход
+
+|: 5 3 8
+|: 3 5 8
+
### Задача 8 - Календар
@@ -156,10 +196,16 @@ GitHub classroom: [url https://classroom.github.com/a/Bi5dhwW7 classroom.github.
=[Примери]=
-.table
-|=Вход=||=Изход=|
-|:1 :||:January:|
-|:10 :||:October:|
+:table_2
+|= Вход
+|= Изход
+
+|: 1
+|: January
+
+|: 10
+|: October
+
### Задача 9 - Монети
@@ -169,10 +215,16 @@ GitHub classroom: [url https://classroom.github.com/a/Bi5dhwW7 classroom.github.
=[Примери]=
-.table
-|=Вход=||=Изход=|
-|:12.0:||:0.5 24 0.2 0 0.1 0 0.05 0 0.01 0:|
-|:3.37:||:0.5 6 0.2 1 0.1 1 0.05 1 0.01 2:|
+:table_2
+|= Вход
+|= Изход
+
+|: 12.0
+|: 0.5 24 0.2 0 0.1 0 0.05 0 0.01 0
+
+|: 3.37
+|: 0.5 6 0.2 1 0.1 1 0.05 1 0.01 2
+
### Задача 10 - ILS
@@ -188,11 +240,19 @@ GitHub classroom: [url https://classroom.github.com/a/Bi5dhwW7 classroom.github.
=[Примери]=
-.table
-|=Вход=||=Изход=|
-|:045093:||:Turn left:|
-|:100090:||:Turn right:|
-|:050053:||:Follow heading:|
+:table_2
+|= Вход
+|= Изход
+
+|: 045093
+|: Turn left
+
+|: 100090
+|: Turn right
+
+|: 050053
+|: Follow heading
+
### Задача 11 - GPS
@@ -229,6 +289,9 @@ GitHub classroom: [url https://classroom.github.com/a/Bi5dhwW7 classroom.github.
=[Пример]=
-.table
-|=Вход=||=Изход=|
-|:18 -100 22 132 30:||:-42:|
+:table_2
+|= Вход
+|= Изход
+
+|: 18 -100 22 132 30
+|: -42
diff --git a/src/teaching/upp-2023/week3/index.du b/src/teaching/upp-2023/week3/index.du
index 9813066..202da69 100644
--- a/src/teaching/upp-2023/week3/index.du
+++ b/src/teaching/upp-2023/week3/index.du
@@ -14,11 +14,19 @@ GitHub classroom: [url https://classroom.github.com/a/JgMSXuCf classroom.github.
=[Примери]=
-.table
-|=Вход=||=Изход=|
-|:0 0 :||:1 :|
-|:-2 3:||:-8 :|
-|:4 1 :||:4 :|
+:table_2
+|= Вход
+|= Изход
+
+|: 0 0
+|: 1
+
+|: -2 3
+|: -8
+
+|: 4 1
+|: 4
+
### Задача 2 - Progress bar
@@ -28,10 +36,26 @@ GitHub classroom: [url https://classroom.github.com/a/JgMSXuCf classroom.github.
=[Примери]=
-.table
-|=Вход=||=Изход=|
-|:3 :||:#\n##\n###:|
-|:5 :||:#\n##\n###\n####\n#####:|
+:table_2
+|= Вход
+|= Изход
+
+|: 3
+|:
+```
+#
+##
+###
+
+|: 5
+|:
+```
+#
+##
+###
+####
+#####
+
#### Бонус
@@ -40,13 +64,46 @@ GitHub classroom: [url https://classroom.github.com/a/JgMSXuCf classroom.github.
=[Примери]=
-.table
-|=Вход=||=Изход=|
-|:1 :||:##########:|
-|:2 :||:#####\n##########:|
-|:3 :||:###\n######\n##########:|
-|:10 :||:#\n##\n###\n...:|
-|:20 :||:\n#\n#\n##\n##\n###\n...:|
+:table_2
+|= Вход
+|= Изход
+
+|: 1
+|:
+```
+##########
+
+|: 2
+|:
+```
+#####
+##########
+
+|: 3
+|:
+```
+###
+######
+##########
+
+|: 10
+|:
+```
+#
+##
+###
+*[...]*
+
+|: 20
+|:
+```
+#
+#
+##
+##
+###
+*[...]*
+
### Задача 3 - Endless program with an end
@@ -56,9 +113,18 @@ GitHub classroom: [url https://classroom.github.com/a/JgMSXuCf classroom.github.
=[Примери]=
-.table
-|=Вход=||=Изход=|
-|:a 8 ) b ^:||:letter\ndigit\nother\nletter:|
+:table_2
+|= Вход
+|= Изход
+
+|: a 8 ) b ^
+|:
+```
+letter
+digit
+other
+letter
+
### Задача 4 - Premature end
@@ -70,11 +136,19 @@ GitHub classroom: [url https://classroom.github.com/a/JgMSXuCf classroom.github.
=[Примери]=
-.table
-|=Вход=||=Изход=|
-|:65536 0:||:1:|
-|:2 4 3 0:||:2730:|
-|:199 2 2 1 -1 1 3 1 10 1:||:-2:|
+:table_2
+|= Вход
+|= Изход
+
+|: 65536 0
+|: 1
+
+|: 2 4 3 0
+|: 2730
+
+|: 199 2 2 1 -1 1 3 1 10 1
+|: -2
+
### Задача 5 - Stop test
@@ -94,10 +168,16 @@ Lowercase: X Uppercase: Y Digit: Z
=[Примери]=
-.table
-|=Вход=||=Изход=|
-|:a b A 9 n 3 $:||:Lowercase: 3 Uppercase: 1 Digit: 2:|
-|:J h 8 8 @:||::|
+:table_2
+|= Вход
+|= Изход
+
+|: a b A 9 n 3 $
+|: Lowercase: 3 Uppercase: 1 Digit: 2
+
+|: J h 8 8 @
+|:
+
### Задача 6 - Глупави сметки
@@ -120,10 +200,29 @@ Lowercase: X Uppercase: Y Digit: Z
=[Примери]=
-.table
-|=Вход=||=Изход=|
-|:l l m q r &:||:30\n60\n-291\n84681\n42340:|
-|:s 34 c p s 2 ^ r &:||:34\n39304\n39398\n2\nInvalid command!\n1:|
+:table_2
+|= Вход
+|= Изход
+
+|: l l m q r &
+|:
+```
+30
+60
+-291
+84681
+42340
+
+|: s 34 c p s 2 ^ r &
+|:
+```
+34
+39304
+39398
+2
+Invalid command!
+1
+
### Задача 7 - Безсмислена "тивност"
@@ -137,9 +236,17 @@ Lowercase: X Uppercase: Y Digit: Z
=[Примери]=
-.table
-|=Вход=||=Изход=|
-|:9.1 -22.0 0:||:Positive\nPositive\nNegative:|
+:table_2
+|= Вход
+|= Изход
+
+|: 9.1 -22.0 0
+|:
+```
+Positive
+Positive
+Negative
+
### Задача 8 - Дигитален часовник
@@ -164,9 +271,20 @@ Lowercase: X Uppercase: Y Digit: Z
=[Примери]=
-.table
-|=Вход=||=Изход=|
-|:t c 19 t c 3 t c f f f:||:0:1\n19:1\n19:3\n7:3 PM\n19:3\n7:3 PM:|
+:table_2
+|= Вход
+|= Изход
+
+|: t c 19 t c 3 t c f f f
+|:
+```
+0:1
+19:1
+19:3
+7:3 PM
+19:3
+7:3 PM
+
### Задача 9 - BASIC maze
@@ -219,9 +337,20 @@ srand(time(NULL));
=[Примери]=
-.table
-|=Вход=||=Изход=|
-|:5 + 5 * 2 a a - 6 c:||:10\n20\n20\n40\n14\n0:|
+:table_2
+|= Вход
+|= Изход
+
+|: 5 + 5 * 2 a a - 6 c
+|:
+```
+10
+20
+20
+40
+14
+0
+
## Тема: assert
@@ -264,7 +393,12 @@ int parseSensor(int s) { return ((((s=(s>>1)&(~0xF617A100))<0x54)?s|0xF01:s&0xCB
=[Примери]= *[Входът е различен от горепосочените стойности (и при него функцията работи коректно)]*
-.table
-|=Вход=||=Изход=|
-|:-332447376:||:Warm:|
-|:-332447536:||:Cold:|
+:table_2
+|= Вход
+|= Изход
+
+|: -332447376
+|: Warm
+
+|: -332447536
+|: Cold
diff --git a/src/teaching/upp-2023/week4/index.du b/src/teaching/upp-2023/week4/index.du
index 0981e84..9f60ea6 100644
--- a/src/teaching/upp-2023/week4/index.du
+++ b/src/teaching/upp-2023/week4/index.du
@@ -87,12 +87,22 @@ GitHub classroom: [url https://classroom.github.com/a/jqKaO1ny classroom.github.
=[Примери]=
-.table
-|=Вход=||=Изход=|
-|:x 8504830028402847111 9 6 7:||:8504832840280047111:|
-|:p 8 968824945839039458:||:9688249458390394588:|
-|:a 968824945839039458 1:||:9688249458390394581:|
-|:r 9938175002843839 1 10 86998385021:||:86998385021843839:|
+:table_2
+|= Вход
+|= Изход
+
+|: x 8504830028402847111 9 6 7
+|: 8504832840280047111
+
+|: p 8 968824945839039458
+|: 9688249458390394588
+
+|: a 968824945839039458 1
+|: 9688249458390394581
+
+|: r 9938175002843839 1 10 86998385021
+|: 86998385021843839
+
## Задача 2 - Умножение на полиноми
diff --git a/src/teaching/upp-2023/week5/index.du b/src/teaching/upp-2023/week5/index.du
index 0695f17..010c352 100644
--- a/src/teaching/upp-2023/week5/index.du
+++ b/src/teaching/upp-2023/week5/index.du
@@ -14,9 +14,13 @@ GitHub classroom: [url https://classroom.github.com/a/3KoIQ71H classroom.github.
=[Пример:]=
-.table
-|=Вход=||=Изход=|
-|:8.0 1.5 -1.9 -100.741:||:6.1 -99.241:|
+:table_2
+|= Вход
+|= Изход
+
+|: 8.0 1.5 -1.9 -100.741
+|: 6.1 -99.241
+
## Задача 2
@@ -31,12 +35,42 @@ GitHub classroom: [url https://classroom.github.com/a/3KoIQ71H classroom.github.
=[Пример:]=
-.table
-|=Вход=||=Изход=|
-|:0 0 0 0 0 0 4 6 9 2 7 5 2 2 3 3 4 2 9 5 7 4 2 3 3 7 1 9 2 6\n0 0 0 0 0 0 0 0 0 9 3 4 2 1 6 0 3 3 5 5 1 0 1 3 0 0 0 6 3 2\n+:||:470209439376508436372558:|
-|:0 0 0 0 0 0 4 6 9 2 7 5 2 2 3 3 4 2 9 5 7 4 2 3 3 7 1 9 2 6\n0 0 0 0 0 0 0 0 0 9 3 4 2 1 6 0 3 3 5 5 1 0 1 3 0 0 0 6 3 2\n-:||:468341007309406410371294:|
-|:9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9\n0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1\n+:||:0:|
-|:0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0\n0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1\n-:||:999999999999999999999999999999:|
+:table_2
+|= Вход
+|= Изход
+
+|:
+```
+0 0 0 0 0 0 4 6 9 2 7 5 2 2 3 3 4 2 9 5 7 4 2 3 3 7 1 9 2 6
+0 0 0 0 0 0 0 0 0 9 3 4 2 1 6 0 3 3 5 5 1 0 1 3 0 0 0 6 3 2
++
+
+|: 470209439376508436372558
+
+|:
+```
+0 0 0 0 0 0 4 6 9 2 7 5 2 2 3 3 4 2 9 5 7 4 2 3 3 7 1 9 2 6
+0 0 0 0 0 0 0 0 0 9 3 4 2 1 6 0 3 3 5 5 1 0 1 3 0 0 0 6 3 2
+-
+
+|: 468341007309406410371294
+
+|:
+```
+9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9
+0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1
++
+
+|: 0
+
+|:
+```
+0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
+0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1
+-
+
+|: 999999999999999999999999999999
+
## Задача 3
@@ -55,10 +89,24 @@ GitHub classroom: [url https://classroom.github.com/a/3KoIQ71H classroom.github.
=[Примери:]=
-.table
-|=Вход=||=Изход=|
-|:16\n1 3 8 8 7 5 5 5 5 7 7 8 8 8 8 6:||:1 3 6:|
-|:40\n7 1 5 2 1 7 2 1 2 1 7 2 6 1 6 7 6 9 7 3 8 6 6 5 1 2 7 4 6 8 3 8 2 2 6 9 4 2 6 5:||:7 1 5 2 1 7 2 1 2 1 7 2 6 1 6 7 6 9 7 3 8 6 6 5 1 2 7 4 6 8 3 8 2 2 6 9 4 2 6 5:|
+:table_2
+|= Вход
+|= Изход
+
+|:
+```
+16
+1 3 8 8 7 5 5 5 5 7 7 8 8 8 8 6
+
+|: 1 3 6
+
+|:
+```
+40
+7 1 5 2 1 7 2 1 2 1 7 2 6 1 6 7 6 9 7 3 8 6 6 5 1 2 7 4 6 8 3 8 2 2 6 9 4 2 6 5
+
+|: 7 1 5 2 1 7 2 1 2 1 7 2 6 1 6 7 6 9 7 3 8 6 6 5 1 2 7 4 6 8 3 8 2 2 6 9 4 2 6 5
+
## Задача 4
@@ -74,12 +122,38 @@ GitHub classroom: [url https://classroom.github.com/a/3KoIQ71H classroom.github.
=[Примери:]=
-.table
-|=Вход=||=Изход=|
-|:9\n4 6 2 1 5 0 0 3 8:||:7 7:|
-|:20\n16 10 6 11 1 1 9 12 15 17 0 0 9 15 8 16 7 0 16 18:||:4 9:|
-|:30\n0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29:||:0 1:|
-|:30\n29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0:||:0 2:|
+:table_2
+|= Вход
+|= Изход
+
+|:
+```
+9
+4 6 2 1 5 0 0 3 8
+
+|: 7 7
+
+|:
+```
+20
+16 10 6 11 1 1 9 12 15 17 0 0 9 15 8 16 7 0 16 18
+
+|: 4 9
+
+|:
+```
+30
+0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29
+
+|: 0 1
+
+|:
+```
+30
+29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
+
+|: 0 2
+
## Задача 5
diff --git a/src/teaching/upp-2023/week6/index.du b/src/teaching/upp-2023/week6/index.du
index faff839..a09e7d6 100644
--- a/src/teaching/upp-2023/week6/index.du
+++ b/src/teaching/upp-2023/week6/index.du
@@ -14,9 +14,29 @@ N и M са между 1 и 60.
=[Пример:]=
-.table
-|=Вход=||=Изход=|
-|:4 3\n8 1 9\n0 3 0\n4 7 5\n6 9 0\n9 5 7 3\n6 7 2 0\n1 3 3 7\n:||: 87 74 85 87\n18 21 6 0\n83 84 57 47\n108 93 60 18\n:|
+:table_2
+|= Вход
+|= Изход
+
+|:
+```
+4 3
+8 1 9
+0 3 0
+4 7 5
+6 9 0
+9 5 7 3
+6 7 2 0
+1 3 3 7
+
+|:
+```
+87 74 85 87
+18 21 6 0
+83 84 57 47
+108 93 60 18
+
+
## Задача 2
@@ -31,12 +51,38 @@ N и M са между 1 и 60.
=[Примери:]=
-.table
-|=Вход=||=Изход=|
-|:5\n1 1 0 1 1:||:2:|
-|:5\n1 2 1 2 1:||:3:|
-|:5\n9 5 2 9 0:||:16:|
-|:11\n1 1 2 3 2 2 4 2 1 1 1:||:5:|
+:table_2
+|= Вход
+|= Изход
+
+|:
+```
+5
+1 1 0 1 1
+
+|: 2
+
+|:
+```
+5
+1 2 1 2 1
+
+|: 3
+
+|:
+```
+5
+9 5 2 9 0
+
+|: 16
+
+|:
+```
+11
+1 1 2 3 2 2 4 2 1 1 1
+
+|: 5
+
## Задача 3
@@ -127,17 +173,26 @@ N и M са между 1 и 60.
=[Примери:]=
-.table
-|=Вход=||=Изход=|
-|:3 10 8 0:||:Error: undefined instruction!:|
-|:3 5 8000 0:||:Error: invalid memory address!:|
-|:6 1 3 7 3 0 958:||:959:|
-|:17 5 9 8 6 1 8 3 9 5 9 9 2 7 8 0 91461 772000:||:863461:|
+:table_2
+|= Вход
+|= Изход
-.question Какво прави последната програма?
+|: 3 10 8 0
+|: Error: undefined instruction!
+
+|: 3 5 8000 0
+|: Error: invalid memory address!
+
+|: 6 1 3 7 3 0 958
+|: 959
-=[Бонус:]= направете програми за симулаторния компютър, които\n
+|: 17 5 9 8 6 1 8 3 9 5 9 9 2 7 8 0 91461 772000
+|: 863461
+
+
+.question Какво прави последната програма?
-.numbered
+=[Бонус:]= направете програми за симулаторния компютър, които
+.ordered
1. умножават числата 87401 и 37
2. намира сумата на числата 87, 305, 2, 612, 222
diff --git a/src/teaching/upp-2023/week7/index.du b/src/teaching/upp-2023/week7/index.du
index a20428c..e582368 100644
--- a/src/teaching/upp-2023/week7/index.du
+++ b/src/teaching/upp-2023/week7/index.du
@@ -18,9 +18,13 @@ GitHub classroom: [url https://classroom.github.com/a/m5M2_CWD classroom.github.
=[Пример:]=
-.table
-|=Вход=||=Изход=|
-|:8.0 1.5 -1.9 -100.741:||:6.1 -99.241:|
+:table_2
+|= Вход
+|= Изход
+
+|: 8.0 1.5 -1.9 -100.741
+|: 6.1 -99.241
+
## Задача 2
@@ -38,9 +42,13 @@ GitHub classroom: [url https://classroom.github.com/a/m5M2_CWD classroom.github.
=[Пример:]=
-.table
-|=Вход=||=Изход=|
-|:a R R S S S S S S b R c b b R c R a S c S b S S S a R $:||:а: 23 b: 17 c: 9:|
+:table_2
+|= Вход
+|= Изход
+
+|: a R R S S S S S S b R c b b R c R a S c S b S S S a R $
+|: а: 23 b: 17 c: 9
+
## Задача 3
@@ -58,12 +66,22 @@ GitHub classroom: [url https://classroom.github.com/a/m5M2_CWD classroom.github.
=[Примери:]=
-.table
-|=Вход=||=Изход=|
-|:a 0.5 -18.3 192.994 0 -0.003:||:0.5 18.3 192.994 0 0.003:|
-|:s 0.5 -18.3 192.994 0 -0.003:||:0.25 334.89 37246.67404 0 0.000009:|
-|:h 0.5 -18.3 192.994 0 -0.003:||:0 -18 192 0 0:|
-|:f 0.5 -18.3 192.994 0 -0.003:||:0.5 -0.3 0.994 0 -0.003:|
+:table_2
+|= Вход
+|= Изход
+
+|: a 0.5 -18.3 192.994 0 -0.003
+|: 0.5 18.3 192.994 0 0.003
+
+|: s 0.5 -18.3 192.994 0 -0.003
+|: 0.25 334.89 37246.67404 0 0.000009
+
+|: h 0.5 -18.3 192.994 0 -0.003
+|: 0 -18 192 0 0
+
+|: f 0.5 -18.3 192.994 0 -0.003
+|: 0.5 -0.3 0.994 0 -0.003
+
## Задача 4
diff --git a/src/teaching/upp-2023/week8/index.du b/src/teaching/upp-2023/week8/index.du
index fd1ebf8..1268477 100644
--- a/src/teaching/upp-2023/week8/index.du
+++ b/src/teaching/upp-2023/week8/index.du
@@ -17,9 +17,20 @@ GitHub classroom: [url https://classroom.github.com/a/Big7FRUG classroom.github.
=[Пример:]=
-.table
-|=Вход=||=Изход=|
-|:8\n19 6 2 100 96 54 56 39:||:6 100 54 39\n2 54:|
+:table_2
+|= Вход
+|= Изход
+
+|:
+```
+8
+19 6 2 100 96 54 56 39
+
+|:
+```
+6 100 54 39
+2 54
+
## Задача 2
@@ -34,11 +45,19 @@ GitHub classroom: [url https://classroom.github.com/a/Big7FRUG classroom.github.
=[Примери:]=
-.table
-|=Вход=||=Изход=|
-|:9 1 3 5 0 1:||:5 9 1 3:|
-|:1 2 2 2 1 0 -3:||:2 1 1 2 2:|
-|:983 473 103 1 4 0 0:||:983 473 103 1 4:|
+:table_2
+|= Вход
+|= Изход
+
+|: 9 1 3 5 0 1
+|: 5 9 1 3
+
+|: 1 2 2 2 1 0 -3
+|: 2 1 1 2 2
+
+|: 983 473 103 1 4 0 0
+|: 983 473 103 1 4
+
## Задача 3
@@ -47,10 +66,29 @@ GitHub classroom: [url https://classroom.github.com/a/Big7FRUG classroom.github.
=[Примери:]=
-.table
-|=Вход=||=Изход=|
-|:3\n78 97 21\n67 9 37\n67 11 89:||:13990 8670 7096:|
-|:4\n46 34 26 61\n30 58 81 27\n50 69 26 83\n100 2 25 63:||:10536 5452 6151 9725:|
+:table_2
+|= Вход
+|= Изход
+
+|:
+```
+3
+78 97 21
+67 9 37
+67 11 89
+
+|: 13990 8670 7096
+
+|:
+```
+4
+46 34 26 61
+30 58 81 27
+50 69 26 83
+100 2 25 63
+
+|: 10536 5452 6151 9725
+
## Задача 4
@@ -64,11 +102,19 @@ GitHub classroom: [url https://classroom.github.com/a/Big7FRUG classroom.github.
=[Примери:]=
-.table
-|=Вход=||=Изход=|
-|:82 25 23 32 72 19 0:||:82 23 25 32 72 19:|
-|:82 25 23 32 72 19 61 0:||:82 23 25 32 72 61 19:|
-|:96 96 56 90 33 43 15 73 17 0:||:96 56 96 90 33 15 43 73 17:|
+:table_2
+|= Вход
+|= Изход
+
+|: 82 25 23 32 72 19 0
+|: 82 23 25 32 72 19
+
+|: 82 25 23 32 72 19 61 0
+|: 82 23 25 32 72 61 19
+
+|: 96 96 56 90 33 43 15 73 17 0
+|: 96 56 96 90 33 15 43 73 17
+
## Задача 5
@@ -86,10 +132,16 @@ GitHub classroom: [url https://classroom.github.com/a/Big7FRUG classroom.github.
=[Примери:]=
-.table
-|=Вход=||=Изход=|
-|:90 13 85 42 92 0:||:90 85 92 42 13:|
-|:85 43 26 38 45 41 48 18 11 78 56 0:||:85 26 45 48 11 56 78 18 41 38 43:|
+:table_2
+|= Вход
+|= Изход
+
+|: 90 13 85 42 92 0
+|: 90 85 92 42 13
+
+|: 85 43 26 38 45 41 48 18 11 78 56 0
+|: 85 26 45 48 11 56 78 18 41 38 43
+
## Задача 6
@@ -117,9 +169,13 @@ GitHub classroom: [url https://classroom.github.com/a/Big7FRUG classroom.github.
=[Пример:]=
-.table
-|=Вход=||=Изход=|
-|:+ + > + + + + + [ < + > - < . $:||:7:|
+:table_2
+|= Вход
+|= Изход
+
+|: + + > + + + + + [ < + > - < . $
+|: 7
+
## Задача 7
diff --git a/src/teaching/upp-2023/week9/index.du b/src/teaching/upp-2023/week9/index.du
index a0c2c1d..77cf2aa 100644
--- a/src/teaching/upp-2023/week9/index.du
+++ b/src/teaching/upp-2023/week9/index.du
@@ -13,9 +13,19 @@ GitHub classroom: [url https://classroom.github.com/a/lGXxCRZO classroom.github.
=[Пример:]=
-.table
-|=Вход=||=Изход=|
-|:ABCDE\nAKDDCP:||:A\_\_D\_\_:|
+:table_2
+|= Вход
+|= Изход
+
+|:
+```
+ABCDE
+AKDDCP
+
+|:
+```
+A__D__
+
## Задача 2
@@ -27,10 +37,28 @@ GitHub classroom: [url https://classroom.github.com/a/lGXxCRZO classroom.github.
=[Примери:]=
-.table
-|=Вход=||=Изход=|
-|:6\nA CM N:||:M NA C:|
-|:7\nABCKLMN:||:KLMNABC:|
+:table_2
+|= Вход
+|= Изход
+
+|:
+```
+6
+A CM N
+
+|:
+```
+M NA C
+
+|:
+```
+7
+ABCKLMN
+
+|:
+```
+KLMNABC
+
## Задача 3
@@ -39,11 +67,28 @@ GitHub classroom: [url https://classroom.github.com/a/lGXxCRZO classroom.github.
=[Примери:]=
-.table
-|=Вход=||=Изход=|
-|:abc:||:1:|
-|:abc def:||:2:|
-|:<pre>This , is , a , sentence .!</pre>:||:4:|
+:table_2
+|= Вход
+|= Изход
+
+|:
+```
+abc
+
+|: 1
+
+|:
+```
+abc def
+
+|: 2
+
+|:
+```
+This , is , a , sentence .!
+
+|: 4
+
## Задача 4
@@ -78,13 +123,58 @@ GitHub classroom: [url https://classroom.github.com/a/lGXxCRZO classroom.github.
=[Примери:]=
-.table
-|=Вход=||=Изход=|
-|:0 :||:0: 0 :|
-|:2.8 :||:2: 0 0 0 0 0 0 0:|
-|:2: FF\n2:||:2: 0\n2: FF:|
-|:2: FF 0 A 5\n2.5:||:2: 0 0 0 0\n2: FF 0 A 5:|
-|:1: FA 0 9 3 5 6 1 2 ABB 8A 99\n1.12:||:1: 0 0 0 0 0 0 0 0\n9: 0 0 0\n1: FA 0 9 3 5 6 1 2\n9: ABB 8A 99 0:|
+:table_2
+|= Вход
+|= Изход
+
+|:
+```
+0
+
+|:
+```
+0: 0
+
+|:
+```
+2.8
+
+|:
+```
+2: 0 0 0 0 0 0 0
+
+|:
+```
+2: FF
+2
+
+|:
+```
+2: 0
+2: FF
+
+|:
+```
+2: FF 0 A 5
+2.5
+
+|:
+```
+2: 0 0 0 0
+2: FF 0 A 5
+
+|:
+```
+1: FA 0 9 3 5 6 1 2 ABB 8A 99
+1.12
+
+|:
+```
+1: 0 0 0 0 0 0 0 0
+9: 0 0 0
+1: FA 0 9 3 5 6 1 2
+9: ABB 8A 99 0
+
## Задача 5
@@ -108,9 +198,27 @@ GitHub classroom: [url https://classroom.github.com/a/lGXxCRZO classroom.github.
=[Пример:]=
-.table
-|=Вход=||=Изход=|
-|:<pre>100000000000111111111000000000000000000\n010000000000000000000111111111000000000\n001000000000000000000000000000111111111\n000100000000100000000100000000100000000\n000010000000010000000010000000010000000\n000001000000001000000001000000001000000\n000000100000000100000000100000000100000\n000000010000000010000000010000000010000\n000000001000000001000000001000000001000\n000000000100000000100000000100000000100\n000000000010000000010000000010000000010\n000000000001000000001000000001000000001\n</pre>:||:&-0123456789ABCDEFGHIJKLMNOPQR/STUVWXYZ:|
+:table_2
+|= Вход
+|= Изход
+
+|:
+```
+100000000000111111111000000000000000000
+010000000000000000000111111111000000000
+001000000000000000000000000000111111111
+000100000000100000000100000000100000000
+000010000000010000000010000000010000000
+000001000000001000000001000000001000000
+000000100000000100000000100000000100000
+000000010000000010000000010000000010000
+000000001000000001000000001000000001000
+000000000100000000100000000100000000100
+000000000010000000010000000010000000010
+000000000001000000001000000001000000001
+
+|: &-0123456789ABCDEFGHIJKLMNOPQR/STUVWXYZ
+
## Задача 6
diff --git a/src/teaching/upp-2025/index.du b/src/teaching/upp-2025/index.du
index eeb39ee..8e7fa47 100644
--- a/src/teaching/upp-2025/index.du
+++ b/src/teaching/upp-2025/index.du
@@ -12,69 +12,87 @@
| [url https://github.com/18ivan18/IntroductionToProgramming2025 Материали от семинари]
| [url https://learn.fmi.uni-sofia.bg/course/view.php?id=11601 Курс в мудъл]
-:table
-|=&#8470;=||=Дата=||=Материали=|
+:table_3
+|= &#8470;
+|= Дата
+|= Материали
-|:1:|
- |:02.10.2025:|
- |:Въведение:|
-|::||::||:
- [url ./week01/introduction.html?a Уводни бележки]
- || [url ./week01/concepts.html?a Общи концепции]
- || [url ./week01/github_classroom.html?a GitHub Classroom упътване]
- || [url ./week01/visual_studio.html?a Visual Studio упътване]
- || <br>[url ./week01/zip.html?a ZIP архиви упътване]
- :|
-|::||::||:
- [url ./week01 Задачи]
- || [url https://github.com/Syndamia/upp-2025-solutions/tree/main/Week01 Решения]
- || [url https://classroom.github.com/a/-1l498jX GitHub Classroom]
- :|
+|: 1
+|: 02.10.2025
+|: Въведение
-|:2:|
- |:09.10.2025:|
- |:Програмистко мислене *[(много експериментално)]*:|
-|::||::||:
- [url ./week02/machine_manual.html?a Упътване на машинната таблица] || [url ./week02/machine.html?a Машинна таблица]
- :|
-|::||::||:
- [url ./week02 Задачи]
- || [url https://github.com/Syndamia/upp-2025-solutions/tree/main/Week02 Решения]
- || [url https://classroom.github.com/a/DRjtkc6f GitHub Classroom]
- :|
+|:
+|:
+|:
+[url ./week01/introduction.html?a Уводни бележки]
+|| [url ./week01/concepts.html?a Общи концепции]
+|| [url ./week01/github_classroom.html?a GitHub Classroom упътване]
+|| [url ./week01/visual_studio.html?a Visual Studio упътване]
+|| <br>[url ./week01/zip.html?a ZIP архиви упътване]
-|:3:|
- |:16.10.2025:|
- |:Променливи, вход/изход, типове, оператори:|
-|::||::||:
- [url ./week03 Задачи]
- || [url https://github.com/Syndamia/upp-2025-solutions/tree/main/Week03 Решения]
- || [url https://classroom.github.com/a/UMc2WhVX GitHub Classroom]
- :|
+|:
+|:
+|:
+[url ./week01 Задачи]
+|| [url https://github.com/Syndamia/upp-2025-solutions/tree/main/Week01 Решения]
+|| [url https://classroom.github.com/a/-1l498jX GitHub Classroom]
-|:4:|
- |:23.10.2025:|
- |:Условни оператори, цикли:|
-|::||::||:
- [url ./week04 Задачи]
- || [url https://github.com/Syndamia/upp-2025-solutions/tree/main/Week04 Решения]
- || [url https://classroom.github.com/a/rOzekyCs GitHub Classroom]
- :|
+|: 2
+|: 09.10.2025
+|: Програмистко мислене *[(много експериментално)]*
-|:5:|
- |:30.10.2025:|
- |:Масиви, цикли:|
-|::||::||:
- [url ./week05 Задачи]
- || [url https://github.com/Syndamia/upp-2025-solutions/tree/main/Week05 Решения]
- || [url https://classroom.github.com/a/6oPRMxJx GitHub Classroom]
- :|
+|:
+|:
+|:
+[url ./week02/machine_manual.html?a Упътване на машинната таблица] || [url ./week02/machine.html?a Машинна таблица]
-|:6:|
- |:06.11.2025:|
- |:Подготовка за контролно:|
-|::||::||:
- [url ./week06 Задачи]
- || [url https://github.com/Syndamia/upp-2025-solutions/tree/main/Week06 Решения]
- || [url https://classroom.github.com/a/JSB1UK_f GitHub Classroom]
- :|
+|:
+|:
+|:
+[url ./week02 Задачи]
+|| [url https://github.com/Syndamia/upp-2025-solutions/tree/main/Week02 Решения]
+|| [url https://classroom.github.com/a/DRjtkc6f GitHub Classroom]
+
+|: 3
+|: 16.10.2025
+|: Променливи, вход/изход, типове, оператори
+
+|:
+|:
+|:
+[url ./week03 Задачи]
+|| [url https://github.com/Syndamia/upp-2025-solutions/tree/main/Week03 Решения]
+|| [url https://classroom.github.com/a/UMc2WhVX GitHub Classroom]
+
+|: 4
+|: 23.10.2025
+|: Условни оператори, цикли
+
+|:
+|:
+|:
+[url ./week04 Задачи]
+|| [url https://github.com/Syndamia/upp-2025-solutions/tree/main/Week04 Решения]
+|| [url https://classroom.github.com/a/rOzekyCs GitHub Classroom]
+
+|: 5
+|: 30.10.2025
+|: Масиви, цикли
+
+|:
+|:
+|:
+[url ./week05 Задачи]
+|| [url https://github.com/Syndamia/upp-2025-solutions/tree/main/Week05 Решения]
+|| [url https://classroom.github.com/a/6oPRMxJx GitHub Classroom]
+
+|: 6
+|: 06.11.2025
+|: Подготовка за контролно
+
+|:
+|:
+|:
+[url ./week06 Задачи]
+|| [url https://github.com/Syndamia/upp-2025-solutions/tree/main/Week06 Решения]
+|| [url https://classroom.github.com/a/JSB1UK_f GitHub Classroom]
diff --git a/src/teaching/upp-2025/week03/index.du b/src/teaching/upp-2025/week03/index.du
index 7a8d3e7..c1001af 100644
--- a/src/teaching/upp-2025/week03/index.du
+++ b/src/teaching/upp-2025/week03/index.du
@@ -19,9 +19,16 @@ GitHub Classroom: [url https://classroom.github.com/a/UMc2WhVX]
Получавате цяло число.
Трябва да върнете 0 ако е нечетно и 1 ако е четно.
-[$examples_bg]
-|:5:||:0:|
-|:10:||:1:|
+:table_2
+|= Вход
+|= Изход
+
+|: 5
+|: 0
+
+|: 10
+|: 1
+
### Задача 2
@@ -30,10 +37,19 @@ GitHub Classroom: [url https://classroom.github.com/a/UMc2WhVX]
Получавате главна буква.
Трябва да върнете съответната малка буква.
-[$examples_bg]
-|:A:||:a:|
-|:Z:||:z:|
-|:U:||:u:|
+:table_2
+|= Вход
+|= Изход
+
+|: A
+|: a
+
+|: Z
+|: z
+
+|: U
+|: u
+
### Задача 3
@@ -41,11 +57,22 @@ GitHub Classroom: [url https://classroom.github.com/a/UMc2WhVX]
Получавате 3 цели числа, трябва да върнете 1 ако образуват аритметична прогресия и 0 иначе.
-[$examples_bg]
-|:1 2 3:||:1:|
-|:4 5 7:||:0:|
-|:4 6 7:||:0:|
-|:-3 5 13:||:1:|
+:table_2
+|= Вход
+|= Изход
+
+|: 1 2 3
+|: 1
+
+|: 4 5 7
+|: 0
+
+|: 4 6 7
+|: 0
+
+|: -3 5 13
+|: 1
+
### Задача 5
@@ -56,12 +83,25 @@ GitHub Classroom: [url https://classroom.github.com/a/UMc2WhVX]
*[Поради прецизност при такива числа, вашите изходи може с много малко да се различават.]*
-[$examples_bg]
-|:1:||:0.511292:|
-|:1.95583:||:1:|
-|:15:||:7.66938:|
-|:199.99:||:102.253:|
-|:450:||:230.081:|
+:table_2
+|= Вход
+|= Изход
+
+|: 1
+|: 0.511292
+
+|: 1.95583
+|: 1
+
+|: 15
+|: 7.66938
+
+|: 199.99
+|: 102.253
+
+|: 450
+|: 230.081
+
### Задача 6
@@ -75,11 +115,22 @@ GitHub Classroom: [url https://classroom.github.com/a/UMc2WhVX]
[image ./img/biimplication.png]
-[$examples_bg]
-|:0 1:||:0:|
-|:1 1:||:1:|
-|:1 0:||:0:|
-|:0 0:||:1:|
+:table_2
+|= Вход
+|= Изход
+
+|: 0 1
+|: 0
+
+|: 1 1
+|: 1
+
+|: 1 0
+|: 0
+
+|: 0 0
+|: 1
+
### Задача 7
@@ -93,10 +144,19 @@ GitHub Classroom: [url https://classroom.github.com/a/UMc2WhVX]
- сума от вида `[1/<първо число> + 1/<второ число> + ...]`,
- умножение.
-[$examples_bg]
-|:1 2 3 4:||:2.5 10 2.08333 24:|
-|:13 151 7 29:||:50.0 200 0.260886 398489:|
-|:-293 6 0 -1:||:-72.0 -288 inf 0:|
+:table_2
+|= Вход
+|= Изход
+
+|: 1 2 3 4
+|: 2.5 10 2.08333 24
+
+|: 13 151 7 29
+|: 50.0 200 0.260886 398489
+
+|: -293 6 0 -1
+|: -72.0 -288 inf 0
+
### Задача 8
@@ -110,13 +170,28 @@ GitHub Classroom: [url https://classroom.github.com/a/UMc2WhVX]
[image ./img/cubic.png]
-[$examples_bg]
-|:2 3 -11 -6 2:||:1:|
-|:2 3 -11 -6 -0.5:||:1:|
-|:2 3 -11 -6 -3:||:1:|
-|:2 3 -11 -6 -2:||:0:|
-|:3 -3 -90 0 0:||:1:|
-|:5 -2 5 -2 0.4:||:1:|
+:table_2
+|= Вход
+|= Изход
+
+|: 2 3 -11 -6 2
+|: 1
+
+|: 2 3 -11 -6 -0.5
+|: 1
+
+|: 2 3 -11 -6 -3
+|: 1
+
+|: 2 3 -11 -6 -2
+|: 0
+
+|: 3 -3 -90 0 0
+|: 1
+
+|: 5 -2 5 -2 0.4
+|: 1
+
### Задача 10
@@ -129,11 +204,22 @@ GitHub Classroom: [url https://classroom.github.com/a/UMc2WhVX]
[image ./img/dotproduct.png]
-[$examples_bg]
-|:1 3 -5 4 -2 -1:||:3:|
-|:1.5 2.45 3.8 1.01 5 7.005:||:40.384:|
-|:-1 -2 3 4 0 -8:||:-28:|
-|:3 2 1 6 5 2:||:30:|
+:table_2
+|= Вход
+|= Изход
+
+|: 1 3 -5 4 -2 -1
+|: 3
+
+|: 1.5 2.45 3.8 1.01 5 7.005
+|: 40.384
+
+|: -1 -2 3 4 0 -8
+|: -28
+
+|: 3 2 1 6 5 2
+|: 30
+
## За самоподготовка
@@ -152,13 +238,28 @@ GitHub Classroom: [url https://classroom.github.com/a/UMc2WhVX]
Във входа получавате две малки букви: коя буква е избрана в момента и коя буква е желана.
Трябва да върнете с колко позиции на ляво (обратно на часовниковата стрелка) трябва да се завърти диска, така че желаната буква да се избере.
-[$examples_bg]
-|:a a:||:0:|
-|:a b:||:1:|
-|:a z:||:25:|
-|:z a:||:1:|
-|:k j:||:25:|
-|:w d:||:7:|
+:table_2
+|= Вход
+|= Изход
+
+|: a a
+|: 0
+
+|: a b
+|: 1
+
+|: a z
+|: 25
+
+|: z a
+|: 1
+
+|: k j
+|: 25
+
+|: w d
+|: 7
+
### Задача 13
@@ -181,13 +282,28 @@ GitHub Classroom: [url https://classroom.github.com/a/UMc2WhVX]
Използвайте факта, че [url https://en.wikipedia.org/wiki/List_of_trigonometric_identities#Shifts_and_periodicity може да представите косинус чрез отместване на синус].
</details>
-[$examples_bg]
-|:0 0:||:0:|
-|:0.392698 0.392698:||:1:|
-|:0 1.047196:||:1.72973:|
-|:3.14159 -1.570795:||:inf:|
-|:-0.523598 1.047196:||:0.578125:|
-|:0.523598 0.392698:||:1.30265:|
+:table_2
+|= Вход
+|= Изход
+
+|: 0 0
+|: 0
+
+|: 0.392698 0.392698
+|: 1
+
+|: 0 1.047196
+|: 1.72973
+
+|: 3.14159 -1.570795
+|: inf
+
+|: -0.523598 1.047196
+|: 0.578125
+
+|: 0.523598 0.392698
+|: 1.30265
+
.comment
pi / 2 = 1.570795
@@ -204,12 +320,25 @@ pi / 8 = 0.392698
Трябва да върнете 1 ако правоъгълниците се пресичат и 0 иначе.
-[$examples_bg]
-|:0 6 4 0 6 6 8 2:||:0:|
-|:0 6 4 0 4 6 8 2:||:1:|
-|:0 6 4 0 3 3 8 2:||:1:|
-|:-3 4.5 2.1 0.5 0 6 4 0:||:1:|
-|:-4 8 5 -2 0 6 4 0:||:1:|
+:table_2
+|= Вход
+|= Изход
+
+|: 0 6 4 0 6 6 8 2
+|: 0
+
+|: 0 6 4 0 4 6 8 2
+|: 1
+
+|: 0 6 4 0 3 3 8 2
+|: 1
+
+|: -3 4.5 2.1 0.5 0 6 4 0
+|: 1
+
+|: -4 8 5 -2 0 6 4 0
+|: 1
+
## За любознателните
@@ -222,24 +351,50 @@ pi / 8 = 0.392698
Трябва да върнете бит-а на съответната позиция в числото, като индекс 0 е най-десния бит (младши), докато 31 е най-левия бит (старши).
-[$examples_bg]
-|:5 0:||:1:|
-|:5 1:||:0:|
-|:5 2:||:1:|
-|:4227842047 14:||:0:|
-|:1073741824 30:||:1:|
+:table_2
+|= Вход
+|= Изход
+
+|: 5 0
+|: 1
+
+|: 5 1
+|: 0
+
+|: 5 2
+|: 1
+
+|: 4227842047 14
+|: 0
+
+|: 1073741824 30
+|: 1
+
### Задача 9
Получавате цяло неотрицателно 8-битово число.
Трябва да върнете 1 ако броя единици в числото е нечетно и 0 иначе.
-[$examples_bg]
-|:0:||:0:|
-|:1:||:1:|
-|:255:||:0:|
-|:238:||:0:|
-|:239:||:1:|
+:table_2
+|= Вход
+|= Изход
+
+|: 0
+|: 0
+
+|: 1
+|: 1
+
+|: 255
+|: 0
+
+|: 238
+|: 0
+
+|: 239
+|: 1
+
### Задача 11
@@ -251,13 +406,28 @@ pi / 8 = 0.392698
Получавате две 32-битови цели неотрицателни числа.
Сумирайте =[съответните]= подчисла в двете числа и изкарайте резултаното "надчисло".
-[$examples_bg]
-|:3 4:||:7:|
-|:255 1:||:0:|
-|:768 1024:||:1792:|
-|:196608 262144:||:458752:|
-|:50331648 67108864:||:117440512:|
-|:4283629573 21629434:||:10291711:|
+:table_2
+|= Вход
+|= Изход
+
+|: 3 4
+|: 7
+
+|: 255 1
+|: 0
+
+|: 768 1024
+|: 1792
+
+|: 196608 262144
+|: 458752
+
+|: 50331648 67108864
+|: 117440512
+
+|: 4283629573 21629434
+|: 10291711
+
.comment
0.0.0.3 + 0.0.0.4 = 7
@@ -279,13 +449,28 @@ pi / 8 = 0.392698
То представлява UNIX време.
Трябва да изкарате UTC часа и датата, в "човешки" формат ("час:минути:секунди ден месец година").
-[$examples_bg]
-|:0:||:0:0:0 1 1 1970:|
-|:−31536000:||:0:0:0 1 1 1969:|
-|:1095379199:||:23:59:59 16 9 2004:|
-|:2147483647:||:3:14:7 19 1 2038:|
-|:−2147483648:||:20:45:52 13 12 1901:|
-|:1760252774:||:7:6:14 12 10 2025:|
+:table_2
+|= Вход
+|= Изход
+
+|: 0
+|: 0:0:0 1 1 1970
+
+|: −31536000
+|: 0:0:0 1 1 1969
+
+|: 1095379199
+|: 23:59:59 16 9 2004
+
+|: 2147483647
+|: 3:14:7 19 1 2038
+
+|: −2147483648
+|: 20:45:52 13 12 1901
+
+|: 1760252774
+|: 7:6:14 12 10 2025
+
### Задача 15
@@ -300,13 +485,28 @@ pi / 8 = 0.392698
От входа получавате цяло неотрицателно 32-битово число.
Трябва да изкарате стойността му в "dot-decimal notation".
-[$examples_bg]
-|:2130706433:||:127.0.0.1:|
-|:3232235521:||:192.168.0.1:|
-|:1043096983:||:62.44.101.151:|
-|:3494943456:||:208.80.154.224:|
-|:134744072:||:8.8.8.8:|
-|:3625466119:||:216.24.57.7:|
+:table_2
+|= Вход
+|= Изход
+
+|: 2130706433
+|: 127.0.0.1
+
+|: 3232235521
+|: 192.168.0.1
+
+|: 1043096983
+|: 62.44.101.151
+
+|: 3494943456
+|: 208.80.154.224
+
+|: 134744072
+|: 8.8.8.8
+
+|: 3625466119
+|: 216.24.57.7
+
### Задача 17
diff --git a/src/teaching/upp-2025/week04/index.du b/src/teaching/upp-2025/week04/index.du
index 925a4af..e803f2e 100644
--- a/src/teaching/upp-2025/week04/index.du
+++ b/src/teaching/upp-2025/week04/index.du
@@ -48,10 +48,19 @@ else
От входа получавате две реални числа.
Трябва да ги върнете в нарастващ ред.
-[$examples_bg]
-|:8 7:||:7 8:|
-|:2.6 11.991:||:2.6 11.991:|
-|:-2.5 -11.1:||:-11.1 -2.5:|
+:table_2
+|= Вход
+|= Изход
+
+|: 8 7
+|: 7 8
+
+|: 2.6 11.991
+|: 2.6 11.991
+
+|: -2.5 -11.1
+|: -11.1 -2.5
+
### Задача 2
@@ -65,11 +74,22 @@ else
- "Digit" ако е цифра и
- "Other" в останалите случаи.
-[$examples_bg]
-|:k:||:Lowercase letter:|
-|:Q:||:Uppercase letter:|
-|:8:||:Digit:|
-|:+:||:Other:|
+:table_2
+|= Вход
+|= Изход
+
+|: k
+|: Lowercase letter
+
+|: Q
+|: Uppercase letter
+
+|: 8
+|: Digit
+
+|: +
+|: Other
+
### Задача 3
@@ -78,12 +98,25 @@ else
От входа получавате ден в месеца (допускаме 30-дневен месец, където първи ден е Понеделник; като месец Септември от тази година).
Трябва да върнете името на деня от седмицата.
-[$examples_bg]
-|:2:||:Tuesday:|
-|:7:||:Sunday:|
-|:8:||:Monday:|
-|:19:||:Friday:|
-|:30:||:Tuesday:|
+:table_2
+|= Вход
+|= Изход
+
+|: 2
+|: Tuesday
+
+|: 7
+|: Sunday
+
+|: 8
+|: Monday
+
+|: 19
+|: Friday
+
+|: 30
+|: Tuesday
+
### Задача 4
@@ -96,10 +129,19 @@ else
- ако има един корен, изкарвате =[само]= него,
- ако няма реални корени, изкарвате "No real roots".
-[$examples_bg]
-|:5 6 1:||:-0.2 -1:|
-|:5 2 1:||:No real roots:|
-|:4 -12 9:||:1.5:|
+:table_2
+|= Вход
+|= Изход
+
+|: 5 6 1
+|: -0.2 -1
+
+|: 5 2 1
+|: No real roots
+
+|: 4 -12 9
+|: 1.5
+
### Задача 5
@@ -115,12 +157,25 @@ else
След тази буква ще получите съответния брой реални числа и трябва да изкарате резултата от операцията.
-[$examples_bg]
-|:_ 5.7:||:5:|
-|:+ 9 10:||:19:|
-|:* 2 2:||:4:|
-|:x 2 2 3:||:12:|
-|:. 8 -2 0.5:||:-8:|
+:table_2
+|= Вход
+|= Изход
+
+|: _ 5.7
+|: 5
+
+|: + 9 10
+|: 19
+
+|: * 2 2
+|: 4
+
+|: x 2 2 3
+|: 12
+
+|: . 8 -2 0.5
+|: -8
+
### Задача 6
@@ -142,10 +197,19 @@ else
Използвайки тези числа, трябва да изкарате периметър (дължина) на фигурата.
За константата &pi; използвайте поне 5 цифри след запетаята.
-[$examples_bg]
-|:1 38.1:||:239.389:|
-|:2 70 25:||:190:|
-|:3 1000 238.5 611.13:||:1849.63:|
+:table_2
+|= Вход
+|= Изход
+
+|: 1 38.1
+|: 239.389
+
+|: 2 70 25
+|: 190
+
+|: 3 1000 238.5 611.13
+|: 1849.63
+
### Задача 7
@@ -156,9 +220,14 @@ else
=[Използвайте цикъл!]=
-[$examples_bg]
-|:7:||:
-<pre>1 7
+:table_2
+|= Вход
+|= Изход
+
+|: 7
+|:
+```
+1 7
2 14
3 21
4 28
@@ -167,9 +236,12 @@ else
7 49
8 56
9 63
-10 70</pre>:|
-|:-8:||:
-<pre>1 -8
+10 70
+
+|: -8
+|:
+```
+1 -8
2 -16
3 -24
4 -32
@@ -178,7 +250,8 @@ else
7 -56
8 -64
9 -72
-10 -80</pre>:|
+10 -80
+
### Задача 8
@@ -187,11 +260,22 @@ else
От входа получавате две цели положителни числа, `[a]` и `[x]`.
Пресметнете `[a]` на степен `[x]`.
-[$examples_bg]
-|:2 8:||:256:|
-|:1 100:||:1:|
-|:83 1:||:83:|
-|:61 5:||:844596301:|
+:table_2
+|= Вход
+|= Изход
+
+|: 2 8
+|: 256
+
+|: 1 100
+|: 1
+
+|: 83 1
+|: 83
+
+|: 61 5
+|: 844596301
+
### Задача 9
@@ -201,10 +285,19 @@ else
Трябва =[поотделно]= да сумирате всички четни и нечетни числа от 1 до подаденото число, включително.
Накрая изкарайте двете суми.
-[$examples_bg]
-|:10:||:30 25:|
-|:1:||:0 1:|
-|:64:||:1056 1024:|
+:table_2
+|= Вход
+|= Изход
+
+|: 10
+|: 30 25
+
+|: 1
+|: 0 1
+
+|: 64
+|: 1056 1024
+
### Задача 10
@@ -213,11 +306,22 @@ else
От входа получавате цяло положително число.
Изкарайте за него "Prime" ако е просто и "Not prime" ако не е, последвано от най-малкия делител (различен от 1 и самото число).
-[$examples_bg]
-|:2:||:Prime:|
-|:4:||:Not prime 2:|
-|:3313:||:Prime:|
-|:1408969:||:Not prime 1187:|
+:table_2
+|= Вход
+|= Изход
+
+|: 2
+|: Prime
+
+|: 4
+|: Not prime 2
+
+|: 3313
+|: Prime
+
+|: 1408969
+|: Not prime 1187
+
### Задача 11
@@ -226,10 +330,19 @@ else
От входа получавате цели числа докато не срещнете числото 0.
Трябва да върнете умножението на всички тези числа (без нулата).
-[$examples_bg]
-|:1 2 3 0:||:6:|
-|:-10 15 6 -3 7 0:||:18900:|
-|:-4 -50 58 9 -25 -7 -3 27 0:||:-1479870000:|
+:table_2
+|= Вход
+|= Изход
+
+|: 1 2 3 0
+|: 6
+
+|: -10 15 6 -3 7 0
+|: 18900
+
+|: -4 -50 58 9 -25 -7 -3 27 0
+|: -1479870000
+
### Задача 12
@@ -244,10 +357,19 @@ else
*[При вас вход и изход ще са смесени.]*
-[$examples_bg]
-|:+ 8 4 - 10 5 .:||:12 5:|
-|:.:||::|
-|:* 64 128 / 100 20 * 7 7 + 90 10 .:||:8192 5 49 100:|
+:table_2
+|= Вход
+|= Изход
+
+|: + 8 4 - 10 5 .
+|: 12 5
+
+|: .
+|:
+
+|: * 64 128 / 100 20 * 7 7 + 90 10 .
+|: 8192 5 49 100
+
### Задача 13
@@ -258,14 +380,31 @@ else
От входа получавате неотрицателен индекс и трябва да изкарате съответното число на фибоначи.
-[$examples_bg]
-|:5:||:5:|
-|:6:||:8:|
-|:0:||:0:|
-|:1:||:1:|
-|:2:||:1:|
-|:12:||:144:|
-|:33:||:3524578:|
+:table_2
+|= Вход
+|= Изход
+
+|: 5
+|: 5
+
+|: 6
+|: 8
+
+|: 0
+|: 0
+
+|: 1
+|: 1
+
+|: 2
+|: 1
+
+|: 12
+|: 144
+
+|: 33
+|: 3524578
+
### Задача 14
@@ -274,11 +413,22 @@ else
От входа получавате цяло неотрицателно число.
Трябва да обърнете реда на цифрите в числото и да изкарате резултата.
-[$examples_bg]
-|:123:||:321:|
-|:500:||:5:|
-|:1002:||:2001:|
-|:27644437:||:73444672:|
+:table_2
+|= Вход
+|= Изход
+
+|: 123
+|: 321
+
+|: 500
+|: 5
+
+|: 1002
+|: 2001
+
+|: 27644437
+|: 73444672
+
## За самоподготовка
@@ -296,13 +446,28 @@ else
- "Weak" (оценки от 2.99 до 2.0) и
- "Bad" (по-малко от двойка)
-[$examples_bg]
-|:5:||:Very good:|
-|:7.1:||:Excellent:|
-|:3.5:||:Good:|
-|:3:||:Average:|
-|:2.8:||:Weak:|
-|:1.9:||:Bad:|
+:table_2
+|= Вход
+|= Изход
+
+|: 5
+|: Very good
+
+|: 7.1
+|: Excellent
+
+|: 3.5
+|: Good
+
+|: 3
+|: Average
+
+|: 2.8
+|: Weak
+
+|: 1.9
+|: Bad
+
### Задача 16
@@ -317,12 +482,25 @@ else
- тъп ("Obtuse") или
- правоъгълен ("Right").
-[$examples_bg]
-|:60 60 60:||:Equilateral triangle:|
-|:30 120 30:||:Isosceles triangle:|
-|:75 25 80:||:Acute triangle:|
-|:90 60 30:||:Right triangle:|
-|:107 33 40:||:Obtuse triangle:|
+:table_2
+|= Вход
+|= Изход
+
+|: 60 60 60
+|: Equilateral triangle
+
+|: 30 120 30
+|: Isosceles triangle
+
+|: 75 25 80
+|: Acute triangle
+
+|: 90 60 30
+|: Right triangle
+
+|: 107 33 40
+|: Obtuse triangle
+
### Задача 17
@@ -333,12 +511,25 @@ else
От входа получавате цяло положително число.
Трябва да изкарате неговия факториел.
-[$examples_bg]
-|:5:||:120:|
-|:1:||:1:|
-|:2:||:2:|
-|:9:||:362880:|
-|:3:||:6:|
+:table_2
+|= Вход
+|= Изход
+
+|: 5
+|: 120
+
+|: 1
+|: 1
+
+|: 2
+|: 2
+
+|: 9
+|: 362880
+
+|: 3
+|: 6
+
### Задача 18
@@ -353,9 +544,13 @@ else
*[В следните примери числото е 1337. Вашия вход и изход ще бъдат смесени.]*
-[$examples_bg]
+:table_2
+|= Вход
+|= Изход
+
|:
-<pre>1000
+```
+1000
2000
1500
1250
@@ -364,9 +559,11 @@ else
1300
1350
1340
-1337</pre>
-:||:
-<pre>Higher
+1337
+
+|:
+```
+Higher
Lower
Lower
Higher
@@ -375,8 +572,9 @@ Lower
Higher
Lower
Higher
-You guessed it!</pre>
-:|
+You guessed it!
+
+
### Задача 19
@@ -388,12 +586,25 @@ You guessed it!</pre>
От входа ще получите положително цяло число n, трябва да върнете n-тото число в хармоничния ред.
-[$examples_bg]
-|:1:||:1:|
-|:2:||:1.5:|
-|:5:||:2.28333:|
-|:13:||:3.18013:|
-|:20:||:3.59774:|
+:table_2
+|= Вход
+|= Изход
+
+|: 1
+|: 1
+
+|: 2
+|: 1.5
+
+|: 5
+|: 2.28333
+
+|: 13
+|: 3.18013
+
+|: 20
+|: 3.59774
+
### Задача 20
@@ -409,11 +620,22 @@ You guessed it!</pre>
[image ./img/percent_diff.png]
-[$examples_bg]
-|:5 80 4.5:||:4.5:|
-|:5 80 3 1.2:||:4.2:|
-|:71.12 95.9 8 13 -5.5 21.9 -6 -1 42:||:72.4:|
-|:50 1.5 20:||:20:|
+:table_2
+|= Вход
+|= Изход
+
+|: 5 80 4.5
+|: 4.5
+
+|: 5 80 3 1.2
+|: 4.2
+
+|: 71.12 95.9 8 13 -5.5 21.9 -6 -1 42
+|: 72.4
+
+|: 50 1.5 20
+|: 20
+
## За любознателните
diff --git a/src/teaching/upp-2025/week05/index.du b/src/teaching/upp-2025/week05/index.du
index cadee24..a0bfe7f 100644
--- a/src/teaching/upp-2025/week05/index.du
+++ b/src/teaching/upp-2025/week05/index.du
@@ -19,10 +19,16 @@ GitHub Classroom: [url https://classroom.github.com/a/6oPRMxJx]
От входа получавате 10 реални числа.
Трябва да ги върнете в обратен ред.
-[$examples_bg]
-|:1 2 3 4 5 6 7 8 9 10:||:10 9 8 7 6 5 4 3 2 1:|
-|:41.4 89.95 65 34.799 18.62 100.001 84.55 69.21 6 39.8:|
-|:39.8 6 69.21 84.55 100.001 18.62 34.799 65 89.95 41.4:|
+:table_2
+|= Вход
+|= Изход
+
+|: 1 2 3 4 5 6 7 8 9 10
+|: 10 9 8 7 6 5 4 3 2 1
+
+|: 41.4 89.95 65 34.799 18.62 100.001 84.55 69.21 6 39.8
+|: 39.8 6 69.21 84.55 100.001 18.62 34.799 65 89.95 41.4
+
### Задача 2
@@ -31,9 +37,16 @@ GitHub Classroom: [url https://classroom.github.com/a/6oPRMxJx]
От входа получавате 7 букви.
Трябва да изкарате буквите в същата последователност, обаче завъртяни надясно с 3 позиции.
-[$examples_bg]
-|:a b c d e f g:||:e f g a b c d:|
-|:k l m l j l b:||:j l b k l m l:|
+:table_2
+|= Вход
+|= Изход
+
+|: a b c d e f g
+|: e f g a b c d
+
+|: k l m l j l b
+|: j l b k l m l
+
### Задача 3
@@ -43,10 +56,19 @@ GitHub Classroom: [url https://classroom.github.com/a/6oPRMxJx]
Трябва да изкарате второто най-голямо число.
Ако няма такова, просто изкарайте най-голямото.
-[$examples_bg]
-|:1 2 3 4 5 6 7 8 9 10 11 12 13 14:||:13:|
-|:505 19 899 0 232 61 546 6 65 259 55 389 326 760:||:760:|
-|:9 9 9 9 9 9 9 9 9 9 9 9 9 9:||:9:|
+:table_2
+|= Вход
+|= Изход
+
+|: 1 2 3 4 5 6 7 8 9 10 11 12 13 14
+|: 13
+
+|: 505 19 899 0 232 61 546 6 65 259 55 389 326 760
+|: 760
+
+|: 9 9 9 9 9 9 9 9 9 9 9 9 9 9
+|: 9
+
### Задача 4
@@ -58,13 +80,28 @@ GitHub Classroom: [url https://classroom.github.com/a/6oPRMxJx]
Факториел на едно (неотрицателно цяло) число е умножението на всички цели числа от 1 до самото число включително.
Примерно, факториел от 5 е `[1 * 2 * 3 * 4 * 5 = 120]`.
-[$examples_bg]
-|:5 1:||:120:|
-|:5 2:||:14400:|
-|:3 6:||:46656:|
-|:4 3:||:13824:|
-|:1 183:||:1:|
-|:2 8:||:256:|
+:table_2
+|= Вход
+|= Изход
+
+|: 5 1
+|: 120
+
+|: 5 2
+|: 14400
+
+|: 3 6
+|: 46656
+
+|: 4 3
+|: 13824
+
+|: 1 183
+|: 1
+
+|: 2 8
+|: 256
+
### Задача 5
@@ -73,10 +110,16 @@ GitHub Classroom: [url https://classroom.github.com/a/6oPRMxJx]
От входа получавате 18 цели числа.
Трябва да изкарате същата поредица числа, обаче всички нули са в началото на редицата.
-[$examples_bg]
-|:1 0 0 2 3 4 0 5 0 6 0 0 0 7 8 0 9 0:||:0 0 0 0 0 0 0 0 0 1 2 3 4 5 6 7 8 9:|
-|:0 839 643 42 -694 57 650 729 -434 0 35 155 176 873 40 0 658 0:|
-|:0 0 0 0 839 643 42 -694 57 650 729 -434 35 155 176 873 40 658:|
+:table_2
+|= Вход
+|= Изход
+
+|: 1 0 0 2 3 4 0 5 0 6 0 0 0 7 8 0 9 0
+|: 0 0 0 0 0 0 0 0 0 1 2 3 4 5 6 7 8 9
+
+|: 0 839 643 42 -694 57 650 729 -434 0 35 155 176 873 40 0 658 0
+|: 0 0 0 0 839 643 42 -694 57 650 729 -434 35 155 176 873 40 658
+
.question
Нужни ли са масиви, ако в условието трябваше да изкарвате нулите в края на поредицата?
@@ -93,13 +136,28 @@ GitHub Classroom: [url https://classroom.github.com/a/6oPRMxJx]
.note
=[(01.11.2025)]= Поправен е изхода в първия пример, от 6 на 8.
-[$examples_bg]
-|:1 2 3 0 0 0 6 7 8 8 8 -3 -2 -1 0:||:8:|
-|:1 1 1 1 1 1 1 1 1 1 1 1 1 1 1:||:15:|
-|:1 2 3 4 5 6 7 8 9 10 11 12 13 14 15:||:15:|
-|:4 -4 4 -4 4 -4 4 -4 4 -4 4 -4 4 -4 4:||:2:|
-|:15 14 13 12 11 10 9 8 7 6 5 4 3 2 1:||:1:|
-|:-539 -118 -431 53 -151 -151 -82 -40 640 -47 347 -50 -100 -198 984:||:5:|
+:table_2
+|= Вход
+|= Изход
+
+|: 1 2 3 0 0 0 6 7 8 8 8 -3 -2 -1 0
+|: 8
+
+|: 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
+|: 15
+
+|: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
+|: 15
+
+|: 4 -4 4 -4 4 -4 4 -4 4 -4 4 -4 4 -4 4
+|: 2
+
+|: 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1
+|: 1
+
+|: -539 -118 -431 53 -151 -151 -82 -40 640 -47 347 -50 -100 -198 984
+|: 5
+
### Задача 7
@@ -108,17 +166,40 @@ GitHub Classroom: [url https://classroom.github.com/a/6oPRMxJx]
От входата получавате цяло неотрицателно число.
Върнете дали то е перфектно: дали е равно на сумата на всички свои делители, освен себе си.
-[$examples_bg]
-|:6:||:Perfect:|
-|:7:||:Not perfect:|
-|:1337:||:Not perfect:|
-|:27:||:Not perfect:|
-|:28:||:Perfect:|
-|:29:||:Not perfect:|
-|:33550336:||:Perfect:|
-|:496:||:Perfect:|
-|:42:||:Not perfect:|
-|:8128:||:Perfect:|
+:table_2
+|= Вход
+|= Изход
+
+|: 6
+|: Perfect
+
+|: 7
+|: Not perfect
+
+|: 1337
+|: Not perfect
+
+|: 27
+|: Not perfect
+
+|: 28
+|: Perfect
+
+|: 29
+|: Not perfect
+
+|: 33550336
+|: Perfect
+
+|: 496
+|: Perfect
+
+|: 42
+|: Not perfect
+
+|: 8128
+|: Perfect
+
### Задача 8
@@ -129,15 +210,26 @@ GitHub Classroom: [url https://classroom.github.com/a/6oPRMxJx]
Трябва да изпълните операцията върху всяка съответна двойка числа от двете редици и да върнете резултатите.
-[$examples_bg]
-|:1 2 3 4 5 6 7 8 9 10<br>
- 1 2 3 4 5 6 7 8 9 10<br>
- +:|
-|:2 4 6 8 10 12 14 16 18 20:|
-|:4.5 -16 194.1 919.01 1000.11 -27 12 444 71 0<br>
- 0 8 12 56 10 0 3 14 1 0<br>
- /:|
-|:inf -2 16.175 16.41 100.011 -inf 4 31.714 71 -nan:|
+:table_2
+|= Вход
+|= Изход
+
+|:
+```
+1 2 3 4 5 6 7 8 9 10
+1 2 3 4 5 6 7 8 9 10
++
+
+|: 2 4 6 8 10 12 14 16 18 20
+
+|:
+```
+4.5 -16 194.1 919.01 1000.11 -27 12 444 71 0
+0 8 12 56 10 0 3 14 1 0
+/
+
+|: inf -2 16.175 16.41 100.011 -inf 4 31.714 71 -nan
+
### Задача 9
@@ -151,18 +243,43 @@ GitHub Classroom: [url https://classroom.github.com/a/6oPRMxJx]
като n определя колко елемента от реда да използвате.
-[$examples_bg]
-|:1 1:||:0:|
-|:1.5 1:||:0.5:|
-|:1.5 3:||:0.416667:|
-|:1.5 9:||:0.405532:|
-|:1.5 20:||:0.405465:|
-|:0.5 1:||:-0.5:|
-|:0.5 5:||:-0.688542:|
-|:0.5 20:||:-0.693147:|
-|:0.01 20:||:-3.40687:|
-|:0.01 900:||:-4.60516:|
-|:0.01 1000:||:-4.60517:|
+:table_2
+|= Вход
+|= Изход
+
+|: 1 1
+|: 0
+
+|: 1.5 1
+|: 0.5
+
+|: 1.5 3
+|: 0.416667
+
+|: 1.5 9
+|: 0.405532
+
+|: 1.5 20
+|: 0.405465
+
+|: 0.5 1
+|: -0.5
+
+|: 0.5 5
+|: -0.688542
+
+|: 0.5 20
+|: -0.693147
+
+|: 0.01 20
+|: -3.40687
+
+|: 0.01 900
+|: -4.60516
+
+|: 0.01 1000
+|: -4.60517
+
### Задача 10
@@ -179,15 +296,34 @@ GitHub Classroom: [url https://classroom.github.com/a/6oPRMxJx]
3. Пресмятате контролната цифра по формулата: `[11 - <сума> mod 11]`, където
ако резултата е 10, цифрата е 0 и ако резултата е 11, цифрата е 5.
-[$examples_bg]
-|:0:||:5:|
-|:1:||:4:|
-|:2:||:8:|
-|:8:||:0:|
-|:47312482:||:9:|
-|:87654321:||:6:|
-|:37153644:||:4:|
-|:30159181:||:5:|
+:table_2
+|= Вход
+|= Изход
+
+|: 0
+|: 5
+
+|: 1
+|: 4
+
+|: 2
+|: 8
+
+|: 8
+|: 0
+
+|: 47312482
+|: 9
+
+|: 87654321
+|: 6
+
+|: 37153644
+|: 4
+
+|: 30159181
+|: 5
+
### Задача 11
@@ -210,13 +346,28 @@ GitHub Classroom: [url https://classroom.github.com/a/6oPRMxJx]
*[Вашия вход и изход може да са смесени!]*
-[$examples_bg]
-|:0:||:2:|
-|:1 0:||:1 1:|
-|:2 0:||:3 3:|
-|:5 0:||:11 11:|
-|:2 3 0:||:3 11 11:|
-|:8 8 1 0:||:47 2207 3571 3571:|
+:table_2
+|= Вход
+|= Изход
+
+|: 0
+|: 2
+
+|: 1 0
+|: 1 1
+
+|: 2 0
+|: 3 3
+
+|: 5 0
+|: 11 11
+
+|: 2 3 0
+|: 3 11 11
+
+|: 8 8 1 0
+|: 47 2207 3571 3571
+
### Задача 12
@@ -235,12 +386,25 @@ GitHub Classroom: [url https://classroom.github.com/a/6oPRMxJx]
.note
=[(01.11.2025)]= Входа на първия пример е поправен.
-[$examples_bg]
-|:1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 0:||:19:|
-|:19 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0:||:1:|
-|:1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0:||:Infinity:|
-|:5 3 18 19 12 2 7 14 17 16 19 13 11 6 9 19 3 1 8 1:||:8:|
-|:4 3 18 9 12 2 7 14 17 16 19 13 11 6 9 19 3 1 8 1:||:Infinity:|
+:table_2
+|= Вход
+|= Изход
+
+|: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 0
+|: 19
+
+|: 19 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
+|: 1
+
+|: 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
+|: Infinity
+
+|: 5 3 18 19 12 2 7 14 17 16 19 13 11 6 9 19 3 1 8 1
+|: 8
+
+|: 4 3 18 9 12 2 7 14 17 16 19 13 11 6 9 19 3 1 8 1
+|: Infinity
+
## За самоподготовка
@@ -253,11 +417,22 @@ GitHub Classroom: [url https://classroom.github.com/a/6oPRMxJx]
Трябва да върнете, сред 8те цели числа, колко често се среща 9тото.
-[$examples_bg]
-|:1 2 3 4 5 6 7 8 9:||:0:|
-|:1 2 1 -3 2 -4 3 5 1:||:2:|
-|:8 1 7 8 8 1 7 -3 8:||:3:|
-|:0 0 0 0 0 0 0 0 0:||:8:|
+:table_2
+|= Вход
+|= Изход
+
+|: 1 2 3 4 5 6 7 8 9
+|: 0
+
+|: 1 2 1 -3 2 -4 3 5 1
+|: 2
+
+|: 8 1 7 8 8 1 7 -3 8
+|: 3
+
+|: 0 0 0 0 0 0 0 0 0
+|: 8
+
### Задача 14
@@ -266,11 +441,22 @@ GitHub Classroom: [url https://classroom.github.com/a/6oPRMxJx]
От входа получавате 16 цели числа.
Трябва да изкарате, на два реда, първо всички четни числа и после всички нечетни.
-[$examples_bg]
-|:1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16:||:2 4 6 8 10 12 14 16<br>1 3 5 7 9 11 13 15:|
-|:-961 -46 86 871 657 96 -40 -297 -754 468 -5 662 -9 -392 82 255:|
-|:-46 86 96 -40 -754 468 662 -392 82<br>
- -961 871 657 -297 -5 -9 255:|
+:table_2
+|= Вход
+|= Изход
+
+|: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
+|:
+```
+2 4 6 8 10 12 14 16
+1 3 5 7 9 11 13 15
+
+|: -961 -46 86 871 657 96 -40 -297 -754 468 -5 662 -9 -392 82 255
+|:
+```
+-46 86 96 -40 -754 468 662 -392 82
+-961 871 657 -297 -5 -9 255
+
### Задача 15
@@ -283,21 +469,30 @@ GitHub Classroom: [url https://classroom.github.com/a/6oPRMxJx]
- Втората двойка има второто и пред-посленото число.
- И така нататък.
-[$examples_bg]
-|:1 2 3 4 5 6 7 8 9 10 11 12:|
-|:1 12<br>
- 2 11<br>
- 3 10<br>
- 4 9<br>
- 5 8<br>
- 6 7:|
-|:419.8 124.01 -47 915.5 31.99 769.89 505 58 -568.5 547.77 899.192 52:|
-|:419.8 52<br>
- 124.01 899.192<br>
- -47 547.77<br>
- 915.5 -568.5<br>
- 31.99 58<br>
- 769.89 505:|
+:table_2
+|= Вход
+|= Изход
+
+|: 1 2 3 4 5 6 7 8 9 10 11 12
+|:
+```
+1 12
+2 11
+3 10
+4 9
+5 8
+6 7
+
+|: 419.8 124.01 -47 915.5 31.99 769.89 505 58 -568.5 547.77 899.192 52
+|:
+```
+419.8 52
+124.01 899.192
+-47 547.77
+915.5 -568.5
+31.99 58
+769.89 505
+
### Задача 16
@@ -307,9 +502,16 @@ GitHub Classroom: [url https://classroom.github.com/a/6oPRMxJx]
Трябва да изкарате една редица от числа, където двете редици са преплетени: първо имаме първото число от първата редица, след това първото число от втората редица, след това второто число от първата редица и така нататък.
-[$examples_bg]
-|:1 2 3 4 5 6 7 8 9 10:||:1 6 2 7 3 8 4 9 5 10:|
-|:0 1 0 1 0 1 0 1 0 1:||:0 1 1 0 0 1 1 0 0 1:|
+:table_2
+|= Вход
+|= Изход
+
+|: 1 2 3 4 5 6 7 8 9 10
+|: 1 6 2 7 3 8 4 9 5 10
+
+|: 0 1 0 1 0 1 0 1 0 1
+|: 0 1 1 0 0 1 1 0 0 1
+
### Задача 17
@@ -319,13 +521,28 @@ GitHub Classroom: [url https://classroom.github.com/a/6oPRMxJx]
Трябва да изкарате дали то е [url https://en.wikipedia.org/wiki/Narcissistic_number число на Армстронг]: число, което е равно на сумата на цифрите си, където всяка цифра е повдигната на степен, дължината на числото.
-[$examples_bg]
-|:153:||:Narcissistic:|
-|:5:||:Narcissistic:|
-|:0:||:Narcissistic:|
-|:10:||:Not narcissistic:|
-|:407:||:Narcissistic:|
-|:54748:||:Narcissistic:|
+:table_2
+|= Вход
+|= Изход
+
+|: 153
+|: Narcissistic
+
+|: 5
+|: Narcissistic
+
+|: 0
+|: Narcissistic
+
+|: 10
+|: Not narcissistic
+
+|: 407
+|: Narcissistic
+
+|: 54748
+|: Narcissistic
+
### Задача 18
@@ -340,9 +557,16 @@ GitHub Classroom: [url https://classroom.github.com/a/6oPRMxJx]
Ако такаъв индекс не съществува, изкарате "No such index".
-[$examples_bg]
-|:-7 1 5 2 -4 3 0:||:3:|
-|:5 5 4 2 1 3 8:||:No such index:|
+:table_2
+|= Вход
+|= Изход
+
+|: -7 1 5 2 -4 3 0
+|: 3
+
+|: 5 5 4 2 1 3 8
+|: No such index
+
### Задача 19
@@ -356,11 +580,22 @@ GitHub Classroom: [url https://classroom.github.com/a/6oPRMxJx]
където n определя с колко елемента от реда да смятаме.
-[$examples_bg]
-|:0 1:||:0:|
-|:0.52359 15:||:0.499992:|
-|:1.57079 15:||:0.998356:|
-|:4.71238 5:||:-1.08189:|
+:table_2
+|= Вход
+|= Изход
+
+|: 0 1
+|: 0
+
+|: 0.52359 15
+|: 0.499992
+
+|: 1.57079 15
+|: 0.998356
+
+|: 4.71238 5
+|: -1.08189
+
### Задача 20
@@ -382,13 +617,28 @@ GitHub Classroom: [url https://classroom.github.com/a/6oPRMxJx]
.note
=[(01.11.2025)]= Поправен е входа на третия пример.
-[$examples_bg]
-|:0:||:Valid:|
-|:1:||:Invalid:|
-|:1156:||:Valid:|
-|:1337:||:Invalid:|
-|:12345674:||:Valid:|
-|:13245674:||:Invalid:|
+:table_2
+|= Вход
+|= Изход
+
+|: 0
+|: Valid
+
+|: 1
+|: Invalid
+
+|: 1156
+|: Valid
+
+|: 1337
+|: Invalid
+
+|: 12345674
+|: Valid
+
+|: 13245674
+|: Invalid
+
### Задача 21
@@ -404,9 +654,21 @@ n-тото число на Каталан се дефинира по следнÐ
Където `[x!]` е [url https://en.wikipedia.org/wiki/Factorial#Definition факториел] от x.
Припомняме, че факториел на едно число е умножението на всички цели числа от 1 до самото число включително.
-[$examples_bg]
-|:0:||:1:|
-|:1:||:1:|
-|:2:||:2:|
-|:5:||:42:|
-|:9:||:4862:|
+:table_2
+|= Вход
+|= Изход
+
+|: 0
+|: 1
+
+|: 1
+|: 1
+
+|: 2
+|: 2
+
+|: 5
+|: 42
+
+|: 9
+|: 4862
diff --git a/src/teaching/upp-2025/week06/index.du b/src/teaching/upp-2025/week06/index.du
index d8c2666..d6c4b18 100644
--- a/src/teaching/upp-2025/week06/index.du
+++ b/src/teaching/upp-2025/week06/index.du
@@ -21,8 +21,13 @@ What is the smallest positive integer whose square ends in the digits 269,696?
Според него това число е 99736 (чиито квадрат е 9947269696).
Напишете програма, която =[намира]= най-малкото число, отговарящо на въпроса.
-[$examples_bg]
-|::||:25264:|
+:table_2
+|= Вход
+|= Изход
+
+|:
+|: 25264
+
### Задача 2
@@ -31,10 +36,19 @@ What is the smallest positive integer whose square ends in the digits 269,696?
От входа получавате 8 цели положителни числа.
Трябва да изкарате най-голямото общо делимо между всички тези числа.
-[$examples_bg]
-|:8 8 8 8 8 8 8 8:||:8:|
-|:2 6 14 8 20 4 12 14:||:2:|
-|:318 577 200 235 72 333 947 37:||:1:|
+:table_2
+|= Вход
+|= Изход
+
+|: 8 8 8 8 8 8 8 8
+|: 8
+
+|: 2 6 14 8 20 4 12 14
+|: 2
+
+|: 318 577 200 235 72 333 947 37
+|: 1
+
### Задача 3
@@ -45,15 +59,34 @@ What is the smallest positive integer whose square ends in the digits 269,696?
Ако има няколко такива цифри, трябва да замените само най голямата от тях.
-[$examples_bg]
-|:1:||:0:|
-|:5:||:0:|
-|:10:||:0:|
-|:15:||:10:|
-|:99:||:0:|
-|:9988:||:88:|
-|:138783:||:130703:|
-|:535735737:||:535035030:|
+:table_2
+|= Вход
+|= Изход
+
+|: 1
+|: 0
+
+|: 5
+|: 0
+
+|: 10
+|: 0
+
+|: 15
+|: 10
+
+|: 99
+|: 0
+
+|: 9988
+|: 88
+
+|: 138783
+|: 130703
+
+|: 535735737
+|: 535035030
+
### Задача 4
@@ -62,9 +95,16 @@ What is the smallest positive integer whose square ends in the digits 269,696?
Получавате една редица от 15 цели числа и след това втора редица с 5 цели уникални числа.
Трябва да върнете броя срещания в първата редица на всяко от числата във втората редица.
-[$examples_bg]
-|:1 2 3 4 5 6 7 8 9 10 11 12 13 14 15<br>1 2 3 4 5:||:1 1 1 1 1:|
-|:1 2 2 1 1 2 0 2 1 1 0 2 2 1 1<br>-9 0 1 2 300:||:0 2 7 6 0:|
+:table_2
+|= Вход
+|= Изход
+
+|: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15<br>1 2 3 4 5
+|: 1 1 1 1 1
+
+|: 1 2 2 1 1 2 0 2 1 1 0 2 2 1 1<br>-9 0 1 2 300
+|: 0 2 7 6 0
+
### Задача 5
@@ -80,20 +120,49 @@ What is the smallest positive integer whose square ends in the digits 269,696?
Зачитайте, че черните прави отбелязват главните оси, а разстоянията между съседни сиви оси е единица.
-[$examples_bg]
-|:0 0:||:Outside:|
-|:-1 0:||:Outside:|
-|:-1.1 0:||:Inside:|
-|:-2 1:||:Inside:|
-|:-4 2:||:Outside:|
-|:-3.9 1.9:||:Inside:|
-|:-4 -1:||:Outside:|
-|:-3.9 -0.9:||:Inside:|
-|:1 2:||:Outside:|
-|:0.9 2:||:Outside:|
-|:1 1.9:||:Outside:|
-|:0.9 1.9:||:Outside:|
-|:0.8 1.9:||:Inside:|
+:table_2
+|= Вход
+|= Изход
+
+|: 0 0
+|: Outside
+
+|: -1 0
+|: Outside
+
+|: -1.1 0
+|: Inside
+
+|: -2 1
+|: Inside
+
+|: -4 2
+|: Outside
+
+|: -3.9 1.9
+|: Inside
+
+|: -4 -1
+|: Outside
+
+|: -3.9 -0.9
+|: Inside
+
+|: 1 2
+|: Outside
+
+|: 0.9 2
+|: Outside
+
+|: 1 1.9
+|: Outside
+
+|: 0.9 1.9
+|: Outside
+
+|: 0.8 1.9
+|: Inside
+
### Задача 6
@@ -108,15 +177,34 @@ What is the smallest positive integer whose square ends in the digits 269,696?
Когато число не е щастливо, влизаме в безкрайния цикъл 4, 16, 37, 58, 89, 145, 42, 20, 4, 16, ...
Това е единствения възможен цикъл в който нещастно число може да попадне.
-[$examples_bg]
-|:1:||:Happy:|
-|:7:||:Happy:|
-|:14:||:Not happy:|
-|:28:||:Happy:|
-|:318:||:Not happy:|
-|:319:||:Happy:|
-|:320:||:Happy:|
-|:888:||:Happy:|
+:table_2
+|= Вход
+|= Изход
+
+|: 1
+|: Happy
+
+|: 7
+|: Happy
+
+|: 14
+|: Not happy
+
+|: 28
+|: Happy
+
+|: 318
+|: Not happy
+
+|: 319
+|: Happy
+
+|: 320
+|: Happy
+
+|: 888
+|: Happy
+
### Задача 7
@@ -129,9 +217,16 @@ What is the smallest positive integer whose square ends in the digits 269,696?
Тоест, префиксната сума на второто число е сумата на първото и второто число.
Префиксата сума на третото число е сумата на първото, второто и третото число.
-[$examples_bg]
-|:1 2 3 4 5 6:||:1 3 6 10 15 21:|
-|:30.86 967.214 85 515.27 -453 -37.79:||:30.86 998.074 1083.07 1598.34 1145.34 1107.55:|
+:table_2
+|= Вход
+|= Изход
+
+|: 1 2 3 4 5 6
+|: 1 3 6 10 15 21
+
+|: 30.86 967.214 85 515.27 -453 -37.79
+|: 30.86 998.074 1083.07 1598.34 1145.34 1107.55
+
### Задача 8
@@ -147,21 +242,52 @@ What is the smallest positive integer whose square ends in the digits 269,696?
Зачитайте, че черните прави отбелязват главните оси, а разстоянията между съседни сиви оси е единица.
-[$examples_bg]
-|:1 1:||:Outside:|
-|:-1.5 -2.5:||:Outside:|
-|:0 2:||:Outside:|
-|:0 2.1:||:Inside:|
-|:-1 2:||:Inside:|
-|:4 0:||:Outside:|
-|:3.9 0:||:Inside:|
-|:3 0:||:Inside:|
-|:3 -1:||:Outside:|
-|:3 -2:||:Inside:|
-|:2.586 -2.5356:||:Inside:|
-|:2.5356 -2.586:||:Outside:|
-|:-1.54 1.584:||:Inside:|
-|:-1.55 1.55:||:Outside:|
+:table_2
+|= Вход
+|= Изход
+
+|: 1 1
+|: Outside
+
+|: -1.5 -2.5
+|: Outside
+
+|: 0 2
+|: Outside
+
+|: 0 2.1
+|: Inside
+
+|: -1 2
+|: Inside
+
+|: 4 0
+|: Outside
+
+|: 3.9 0
+|: Inside
+
+|: 3 0
+|: Inside
+
+|: 3 -1
+|: Outside
+
+|: 3 -2
+|: Inside
+
+|: 2.586 -2.5356
+|: Inside
+
+|: 2.5356 -2.586
+|: Outside
+
+|: -1.54 1.584
+|: Inside
+
+|: -1.55 1.55
+|: Outside
+
### Задача 9
@@ -170,10 +296,19 @@ What is the smallest positive integer whose square ends in the digits 269,696?
От входа получавате 10 цели числа.
Трябва да върнете дали сред тях същестуват три числа (на различни позиции), чиято сума е равна на 0.
-[$examples_bg]
-|:1 -2 3 -4 5 -6 7 -8 9 -10:||:Exists:|
-|:2 4 45 6 -10 5 -45 8 23 11:||:Exists:|
-|:1 4 45 6 -11 4 -45 8 23 11:||:Doesn't exist:|
+:table_2
+|= Вход
+|= Изход
+
+|: 1 -2 3 -4 5 -6 7 -8 9 -10
+|: Exists
+
+|: 2 4 45 6 -10 5 -45 8 23 11
+|: Exists
+
+|: 1 4 45 6 -11 4 -45 8 23 11
+|: Doesn't exist
+
### Задача 10
@@ -184,10 +319,19 @@ What is the smallest positive integer whose square ends in the digits 269,696?
*[Не е нужно да използвате сортиращ алгоритъм!]*
-[$examples_bg]
-|:100 200 300 400:||:400300200100:|
-|:552 285 732 937:||:937732552285:|
-|:492 352 289 382:||:492382352289:|
+:table_2
+|= Вход
+|= Изход
+
+|: 100 200 300 400
+|: 400300200100
+
+|: 552 285 732 937
+|: 937732552285
+
+|: 492 352 289 382
+|: 492382352289
+
### Задача 11
@@ -202,20 +346,49 @@ What is the smallest positive integer whose square ends in the digits 269,696?
Зачитайте, че черните прави отбелязват главните оси, а разстоянията между съседни сиви оси е единица.
-[$examples_bg]
-|:-1 1:||:Inside:|
-|:-1 -1:||:Outside:|
-|:-2 -1:||:Inside:|
-|:2 2:||:Inside:|
-|:3 2:||:Outside:|
-|:2.9 2:||:Inside:|
-|:0 1.5:||:Inside:|
-|:1 1.5:||:Outside:|
-|:2 1.5:||:Inside:|
-|:2 1.1:||:Outside:|
-|:-3.354 -1.831:||:Inside:|
-|:1.864 1.356:||:Inside:|
-|:1.73 1.287:||:Outside:|
+:table_2
+|= Вход
+|= Изход
+
+|: -1 1
+|: Inside
+
+|: -1 -1
+|: Outside
+
+|: -2 -1
+|: Inside
+
+|: 2 2
+|: Inside
+
+|: 3 2
+|: Outside
+
+|: 2.9 2
+|: Inside
+
+|: 0 1.5
+|: Inside
+
+|: 1 1.5
+|: Outside
+
+|: 2 1.5
+|: Inside
+
+|: 2 1.1
+|: Outside
+
+|: -3.354 -1.831
+|: Inside
+
+|: 1.864 1.356
+|: Inside
+
+|: 1.73 1.287
+|: Outside
+
## За самоподготовка
@@ -228,12 +401,25 @@ What is the smallest positive integer whose square ends in the digits 269,696?
С други думи, дали е равно на сумата на цифрите си, умножено по умнежнието на цифрите.
-[$examples_bg]
-|:0:||:Sum-product number:|
-|:2:||:Not a sum-product number:|
-|:22:||:Not a sum-product number:|
-|:135:||:Sum-product number:|
-|:1337:||:Not a sum-product number:|
+:table_2
+|= Вход
+|= Изход
+
+|: 0
+|: Sum-product number
+
+|: 2
+|: Not a sum-product number
+
+|: 22
+|: Not a sum-product number
+
+|: 135
+|: Sum-product number
+
+|: 1337
+|: Not a sum-product number
+
### Задача 13
@@ -242,12 +428,25 @@ What is the smallest positive integer whose square ends in the digits 269,696?
От входа получавате цяло положително число.
Трябва да върнете всички негови делители.
-[$examples_bg]
-|:5:||:1 5:|
-|:15:||:1 3 5:|
-|:16:||:1 2 4 8 16:|
-|:137:||:1 137:|
-|:864:||:1 2 3 4 6 8 9 12 16 18 24 27 32 36 48 54 72 96 108 144 216 288 432 864:|
+:table_2
+|= Вход
+|= Изход
+
+|: 5
+|: 1 5
+
+|: 15
+|: 1 3 5
+
+|: 16
+|: 1 2 4 8 16
+
+|: 137
+|: 1 137
+
+|: 864
+|: 1 2 3 4 6 8 9 12 16 18 24 27 32 36 48 54 72 96 108 144 216 288 432 864
+
### Задача 14
@@ -261,12 +460,25 @@ What is the smallest positive integer whose square ends in the digits 269,696?
Тетрацията расте бързо, използвайте най-големия възможен тип.
-[$examples_bg]
-|:2 4:||:65536:|
-|:3 1:||:3:|
-|:3 2:||:27:|
-|:3 3:||:7625597484987:|
-|:8 2:||:16777216:|
+:table_2
+|= Вход
+|= Изход
+
+|: 2 4
+|: 65536
+
+|: 3 1
+|: 3
+
+|: 3 2
+|: 27
+
+|: 3 3
+|: 7625597484987
+
+|: 8 2
+|: 16777216
+
### Задача 15
@@ -277,9 +489,16 @@ What is the smallest positive integer whose square ends in the digits 269,696?
Най-малко общо кратно е най-малкото число, което се дели без остатък на двете числа.
-[$examples_bg]
-|:1 2 3 4 5 6 7 8:||:2 6 12 20 30 42 56:|
-|:4 6 9 389 13 13 2 8:||:12 18 3501 5057 13 26 8:|
+:table_2
+|= Вход
+|= Изход
+
+|: 1 2 3 4 5 6 7 8
+|: 2 6 12 20 30 42 56
+
+|: 4 6 9 389 13 13 2 8
+|: 12 18 3501 5057 13 26 8
+
### Задача 16
@@ -292,15 +511,34 @@ What is the smallest positive integer whose square ends in the digits 269,696?
Зачитайте, че всяка сива права отбелязва брой единици разстояние от нулата.
-[$examples_bg]
-|:0 0:||:Outside:|
-|:-1 -1:||:Outside:|
-|:-0.5 -0.5:||:Inside:|
-|:0 0.75:||:Inside:|
-|:2 0:||:Outside:|
-|:1.5 0:||:Outside:|
-|:1.5 0.1:||:Inside:|
-|:1 0.5:||:Outside:|
+:table_2
+|= Вход
+|= Изход
+
+|: 0 0
+|: Outside
+
+|: -1 -1
+|: Outside
+
+|: -0.5 -0.5
+|: Inside
+
+|: 0 0.75
+|: Inside
+
+|: 2 0
+|: Outside
+
+|: 1.5 0
+|: Outside
+
+|: 1.5 0.1
+|: Inside
+
+|: 1 0.5
+|: Outside
+
### Задача 17
@@ -311,12 +549,25 @@ What is the smallest positive integer whose square ends in the digits 269,696?
Това е изпълнено, когато `[a]` е делител на `[b]` и най-големия общ делител на `[a]` и `[b / a]` е 1.
-[$examples_bg]
-|:5 60:||:Unitary divisor:|
-|:6 60:||:Not a unitary divisor:|
-|:5 10:||:Unitary divisor:|
-|:4 12:||:Unitary divisor:|
-|:6 12:||:Not a unitary divisor:|
+:table_2
+|= Вход
+|= Изход
+
+|: 5 60
+|: Unitary divisor
+
+|: 6 60
+|: Not a unitary divisor
+
+|: 5 10
+|: Unitary divisor
+
+|: 4 12
+|: Unitary divisor
+
+|: 6 12
+|: Not a unitary divisor
+
### Задача 18
@@ -325,8 +576,18 @@ What is the smallest positive integer whose square ends in the digits 269,696?
От входа получавате 10 реални числа.
Трябва да върнете най-голямата възможна сума, получена чрез събиране на колкото и дълга =[последователна]= редица от елементи.
-[$examples_bg]
-|:1 2 3 4 5 6 7 8 9 10:||:55:|
-|:-2 -1 0 1 2 3 4 5 6 7:||:28:|
-|:-2 1 -3 4 -1 2 1 -5 4 -9:||:6:|
-|:-4 13.3 5.5 7 -6.5 10 0 -15 2.1 3:||:29.3:|
+:table_2
+|= Вход
+|= Изход
+
+|: 1 2 3 4 5 6 7 8 9 10
+|: 55
+
+|: -2 -1 0 1 2 3 4 5 6 7
+|: 28
+
+|: -2 1 -3 4 -1 2 1 -5 4 -9
+|: 6
+
+|: -4 13.3 5.5 7 -6.5 10 0 -15 2.1 3
+|: 29.3