diff options
| Commit | 0be8d4b427a0f0944552769edc9a080dbaf79cee (patch) | |
|---|---|---|
| Author | 2025-12-23 22:26:45 +0200 | |
| Committer | 2025-12-23 22:26:45 +0200 | |
| Files | 4378735824d4fbf8a27cb9db905d4cc5cbdbc9d0 | |
| syndamia.com-0be8d4b427a0f0944552769edc9a080dbaf79cee.tar syndamia.com-0be8d4b427a0f0944552769edc9a080dbaf79cee.tar.gz syndamia.com-0be8d4b427a0f0944552769edc9a080dbaf79cee.zip | ||
| Parent | b18ee19d02e2c29e057b896df9ae8b3dfca2777c (diff) | |
feat(teaching/upp-2025/w12): Add (most) solutions
2 files changed, 20 insertions, 4 deletions
| -rw-r--r-- | src/teaching/upp-2025/index.du | 1 | ||||
| -rw-r--r-- | src/teaching/upp-2025/week12/index.du | 23 |
diff --git a/src/teaching/upp-2025/index.du b/src/teaching/upp-2025/index.du index 1d952a2..610316d 100644 --- a/src/teaching/upp-2025/index.du +++ b/src/teaching/upp-2025/index.du @@ -163,4 +163,5 @@ |: |: [url ./week12 Задачи] +|| [url https://github.com/Syndamia/upp-2025-solutions/tree/main/Week12 Решения] || [url https://classroom.github.com/a/zvYPAVPS GitHub Classroom] diff --git a/src/teaching/upp-2025/week12/index.du b/src/teaching/upp-2025/week12/index.du index 50dae61..1fd2428 100644 --- a/src/teaching/upp-2025/week12/index.du +++ b/src/teaching/upp-2025/week12/index.du @@ -2,7 +2,7 @@ 'define expected-reading 14 min 'define created 17 December 2025 -'define edited 17 December 2025 +'define edited 23 December 2025 [$pagenav] GitHub Classroom: [url https://classroom.github.com/a/zvYPAVPS] @@ -11,6 +11,8 @@ GitHub Classroom: [url https://classroom.github.com/a/zvYPAVPS] ### Задача 1 +.solution-link [url https://github.com/Syndamia/upp-2025-solutions/tree/main/Week12/Exercise01.cpp Решение] + [url https://en.wikipedia.org/wiki/Caesar_cipher Шифъра на Цезар] е античен шифър, при който всяка буква от азбуката се отмества и замества. Например, при отместване от 3, A става D, B става E, Z става C и така нататък. @@ -38,6 +40,8 @@ GitHub Classroom: [url https://classroom.github.com/a/zvYPAVPS] ### Задача 2 +.solution-link [url https://github.com/Syndamia/upp-2025-solutions/tree/main/Week12/Exercise02.cpp Решение] + От входа получавате един ред текст. След това получавате положително число: брой колони (където всяка една колона съдържа един знак). @@ -102,6 +106,8 @@ day. ### Задача 3 +.solution-link [url https://github.com/Syndamia/upp-2025-solutions/tree/main/Week12/Exercise03.cpp Решение] + От входа получавате две полета (низове, които не съдържат шпации). След това получавате положително число: брой колони (където една колона съдържа един знак). @@ -154,6 +160,8 @@ Lorem ipsum ### Задача 4 +.solution-link [url https://github.com/Syndamia/upp-2025-solutions/tree/main/Week12/Exercise04.cpp Решение] + От входа получавате едно поле (последователност от букви, която не съдържа шпация). Трябва да върнете типа на полето, спрямо тези правила: @@ -285,6 +293,8 @@ Mo Tu We Th Fr Sa Su ### Задача 6 +.solution-link [url https://github.com/Syndamia/upp-2025-solutions/tree/main/Week12/Exercise06.cpp Решение] + Модерните текстови редактори са визуални редактори: редактираш текста, който едновременно виждаш (подобно на лист хартия). Предшественик на тези редактори са [url https://en.wikipedia.org/wiki/Line_editor редовите редактори]: пускаш редица команди, всяка от които променя текста по някакъв начин. Минуса е, че не нямаш курсор с който да правиш промените директно, това да видиш текста и да го редактираш са отделни команди, които трябва да изписваш всеки път. @@ -420,6 +430,10 @@ icurved from the pine-covered q =[Изход 3:]= + +.note +=[(23.12.2025)]= Поправен този изход + ``` *[Изход от "3,5p"]* The one thing that relieved @@ -432,10 +446,11 @@ cruved from the pine-covered 4 the whiteness was a thin dark line that 5 island to the south. *[Изход от ".,$p"]* -4 curved from the pine-covered -5 island to the south. +curved from the pine-covered +the whiteness was a thin dark line that +island to the south. *[Изход от ".n"]* -2 curved from the pine-covered +3 curved from the pine-covered *[Изход от ",p"]* The one thing that relieved the whiteness was a thin dark line that |