https://github.com/dan-sazonov/informatics-solutions
π(RU) Π Π΅ΡΠ΅Π½ΠΈΡ ΠΎΠ»ΠΈΠΌΠΏΠΈΠ°Π΄Π½ΡΡ
Π·Π°Π΄Π°Ρ Ρ ΡΠ°ΠΉΡΠ° informatics.msk.ru
https://github.com/dan-sazonov/informatics-solutions
algorithms algorithms-and-data-structures data-structures education informatics informatics-solutions learn olympiad-in-informatics olympics
Last synced: about 1 month ago
JSON representation
π(RU) Π Π΅ΡΠ΅Π½ΠΈΡ ΠΎΠ»ΠΈΠΌΠΏΠΈΠ°Π΄Π½ΡΡ Π·Π°Π΄Π°Ρ Ρ ΡΠ°ΠΉΡΠ° informatics.msk.ru
- Host: GitHub
- URL: https://github.com/dan-sazonov/informatics-solutions
- Owner: dan-sazonov
- License: gpl-3.0
- Created: 2021-03-06T13:18:10.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2022-11-16T02:26:02.000Z (about 3 years ago)
- Last Synced: 2025-07-18T04:33:52.248Z (4 months ago)
- Topics: algorithms, algorithms-and-data-structures, data-structures, education, informatics, informatics-solutions, learn, olympiad-in-informatics, olympics
- Language: Python
- Homepage: https://informatics.msk.ru
- Size: 66.4 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# Informatics Solutions
[](https://github.com/dan-sazonov/informatics-solutions/blob/main/LICENSE)

[](https://github.com/dan-sazonov/informatics-solutions/issues)
[](https://github.com/dan-sazonov/informatics-solutions/pulls)
**Π ΡΡΠΎΠΌ ΡΠ΅ΠΏΠΎΠ·ΠΈΡΠΎΡΠΈΠΈ ΡΠΎΠ±ΡΠ°Π½Ρ ΡΠ΅ΡΠ΅Π½ΠΈΡ Π·Π°Π΄Π°Ρ Ρ ΡΠ°ΠΉΡΠ° [Informatics](https://informatics.msk.ru).**
## Π₯ΠΎΡΠΈΡΠ΅ ΡΠΎΡΡΡΠ΄Π½ΠΈΡΠ°ΡΡ?
ΠΡΠ»ΠΈ Π²Ρ ΠΎΠ±Π½Π°ΡΡΠΆΠΈΠ»ΠΈ ΠΎΡΠΈΠ±ΠΊΡ Π² ΠΊΠΎΠ΄Π΅, ΠΈΠ»ΠΈ Π·Π½Π°Π΅ΡΠ΅ Π±ΠΎΠ»Π΅Π΅ ΠΎΠΏΡΠΈΠΌΠ°Π»ΡΠ½ΠΎΠ΅ ΡΠ΅ΡΠ΅Π½ΠΈΠ΅, ΠΎΡΠΊΡΠΎΠΉΡΠ΅
[issue](https://github.com/dan-sazonov/informatics-solutions/issues). ΠΡΠ»ΠΈ Π²Ρ Ρ
ΠΎΡΠΈΡΠ΅ ΠΏΡΠ΅Π΄Π»ΠΎΠΆΠΈΡΡ ΡΠ²ΠΎΠ΅ ΡΠ΅ΡΠ΅Π½ΠΈΠ΅,
ΡΠ΄Π΅Π»Π°ΠΉΡΠ΅ [pull request](https://github.com/dan-sazonov/informatics-solutions/pulls).
ΠΠΎΠΆΠ°Π»ΡΠΉΡΡΠ°, ΠΏΠΈΡΠΈΡΠ΅ ΠΊΠΎΠΌΠΌΠ΅Π½ΡΠ°ΡΠΈΠΈ ΠΊ ΠΊΠΎΠΌΠΌΠΈΡΠ°ΠΌ ΠΈ Π½Π°Π·Π²Π°Π½ΠΈΡ ΠΏΡΠ»Π»-ΡΠ΅ΠΊΠ²Π΅ΡΡΠΎΠ² ΠΈ ΠΈΡΡΡ Π½Π° Π°Π½Π³Π»ΠΈΠΉΡΠΊΠΎΠΌ ΡΠ·ΡΠΊΠ΅.
### todo
- [ ] Π΄ΠΎΠ±Π°Π²ΠΈΡΡ Π½Π°Π·Π²Π°Π½ΠΈΡ Π·Π°Π΄Π°Ρ Π² ΡΠ°Π±Π»ΠΈΡΡ
- [ ] ΠΈΡΠΏΡΠ°Π²ΠΈΡΡ Π½Π΅ΠΏΡΠ°Π²ΠΈΠ»ΡΠ½ΡΠ΅ ΡΠ΅ΡΠ΅Π½ΠΈΡ
## ΠΠ²ΡΠΎΡ
ΠΠ²ΡΠΎΡ ΡΠ΅ΠΏΠΎΠ·ΠΈΡΠΎΡΠΈΡ ΠΈ ΡΠ°ΡΡΠΈ ΡΠ΅ΡΠ΅Π½ΠΈΠΉ - [@dan-sazonov](https://github.com/dan-sazonov).
**Π‘Π²ΡΠ·Π°ΡΡΡΡ ΡΠΎ ΠΌΠ½ΠΎΠΉ:**
[:airplane: Telegram](https://t.me/dan_sazonov)
[:e-mail: Email](mailto:p-294803@yandex.ru)
## ΠΠΈΡΠ΅Π½Π·ΠΈΡ
ΠΠ΅ΡΡ ΠΊΠΎΠ΄ ΡΠ°ΡΠΏΡΠΎΡΡΡΠ°Π½ΡΠ΅ΡΡΡ ΠΏΠΎ Π»ΠΈΡΠ΅Π½Π·ΠΈΠΈ [GPL-3.0 License](https://github.com/dan-sazonov/informatics-solutions/blob/main/LICENSE).
ΠΠΎΠ΄ΡΠΎΠ±Π½Π΅Π΅ ΡΠΌ. Π² ΡΠ°ΠΉΠ»Π΅.
## Π Π΅ΡΠ΅Π½ΠΈΡ
`ΠΠ°Π΄Π°ΡΠ°` - ΡΡΡΠ»ΠΊΠ° Π½Π° ΡΡΠ»ΠΎΠ²ΠΈΠ΅ Π½Π° Informatics;
`Π―Π` - ΡΠ·ΡΠΊ ΠΏΡΠΎΠ³ΡΠ°ΠΌΠΌΠΈΡΠΎΠ²Π°Π½ΠΈΡ, Π½Π° ΠΊΠΎΡΠΎΡΠΎΠΌ Π½Π°ΠΏΠΈΡΠ°Π½ΠΎ ΡΠ΅ΡΠ΅Π½ΠΈΠ΅;
`ΠΡΠ΅Π½ΠΊΠ°` - ΡΠΊΠΎΠ»ΡΠΊΠΎ Π±Π°Π»Π»ΠΎΠ² Π½Π°Π±ΡΠ°Π»ΠΎ ΡΠ΅ΡΠ΅Π½ΠΈΠ΅. Π‘ΡΡΠ»ΠΊΠ° Π½Π° ΡΠ΅ΡΠ΅Π½ΠΈΠ΅.
ΠΠ»Ρ ΠΏΠΎΠΈΡΠΊΠ° ΠΈΡΠΏΠΎΠ»ΡΠ·ΡΠΉΡΠ΅ Ρ
ΠΎΡΠΊΠ΅ΠΉ `Ctrl + F`.
| ΠΠ°Π΄Π°ΡΠ° | Π―Π | ΠΡΠ΅Π½ΠΊΠ° |
|:------:|:--:|:------:|
| [2](https://informatics.msk.ru/mod/statements/view.php?chapterid=2#1) | Python 3.9 | [6](https://github.com/dan-sazonov/informatics-solutions/blob/main/solutions/2.py) |
| [3](https://informatics.msk.ru/mod/statements/view.php?chapterid=3#1) | Python 3.9 | [100](https://github.com/dan-sazonov/informatics-solutions/blob/main/solutions/3.py) |
| [4](https://informatics.msk.ru/mod/statements/view.php?chapterid=4#1) | Python 3.9 | [100](https://github.com/dan-sazonov/informatics-solutions/blob/main/solutions/4.py) |
| [27](https://informatics.msk.ru/mod/statements/view.php?chapterid=27#1) | Python 3.9 | [100](https://github.com/dan-sazonov/informatics-solutions/blob/main/solutions/27.py) |
| [51](https://informatics.msk.ru/mod/statements/view.php?chapterid=51#1) | Python 3.9 | [100](https://github.com/dan-sazonov/informatics-solutions/blob/main/solutions/51.py) |
| [146](https://informatics.msk.ru/mod/statements/view.php?chapterid=146#1) | Python 3.9 | [100](https://github.com/dan-sazonov/informatics-solutions/blob/main/solutions/146.py) |
| [147](https://informatics.msk.ru/mod/statements/view.php?chapterid=147#1) | Python 3.9 | [100](https://github.com/dan-sazonov/informatics-solutions/blob/main/solutions/147.py) |
| [150](https://informatics.msk.ru/mod/statements/view.php?chapterid=150#1) | Python 3.9 | [65](https://github.com/dan-sazonov/informatics-solutions/blob/main/solutions/150.py) |
| [151](https://informatics.msk.ru/mod/statements/view.php?chapterid=151#1) | Python 3.9 | [0(?)](https://github.com/dan-sazonov/informatics-solutions/blob/main/solutions/151.py) |
| [154](https://informatics.msk.ru/mod/statements/view.php?chapterid=154#1) | Python 3.9 | [100](https://github.com/dan-sazonov/informatics-solutions/blob/main/solutions/154.py) |
| [199](https://informatics.msk.ru/mod/statements/view.php?chapterid=199#1) | Python 3.9 | [100](https://github.com/dan-sazonov/informatics-solutions/blob/main/solutions/199.py) |
| [201](https://informatics.msk.ru/mod/statements/view.php?chapterid=201#1) | Python 3.9 | [100](https://github.com/dan-sazonov/informatics-solutions/blob/main/solutions/201.py) |
| [203](https://informatics.msk.ru/mod/statements/view.php?chapterid=203#1) | Python 3.9 | [100](https://github.com/dan-sazonov/informatics-solutions/blob/main/solutions/203.py) |
| [207](https://informatics.msk.ru/mod/statements/view.php?chapterid=207#1) | Python 3.9 | [100](https://github.com/dan-sazonov/informatics-solutions/blob/main/solutions/207.py) |
| [223](https://informatics.msk.ru/mod/statements/view.php?chapterid=223#1) | Python 3.9 | [100](https://github.com/dan-sazonov/informatics-solutions/blob/main/solutions/223.py) |
| [224](https://informatics.msk.ru/mod/statements/view.php?chapterid=224#1) | Python 3.9 | [100](https://github.com/dan-sazonov/informatics-solutions/blob/main/solutions/224.py) |
| [225](https://informatics.msk.ru/mod/statements/view.php?chapterid=225#1) | Python 3.9 | [12](https://github.com/dan-sazonov/informatics-solutions/blob/main/solutions/225.py) |
| [226](https://informatics.msk.ru/mod/statements/view.php?chapterid=226#1) | Python 3.9 | [100](https://github.com/dan-sazonov/informatics-solutions/blob/main/solutions/226.py) |
| [227](https://informatics.msk.ru/mod/statements/view.php?chapterid=227#1) | Python 3.9 | [9](https://github.com/dan-sazonov/informatics-solutions/blob/main/solutions/227.py) |
| [228](https://informatics.msk.ru/mod/statements/view.php?chapterid=228#1) | Python 3.9 | [3](https://github.com/dan-sazonov/informatics-solutions/blob/main/solutions/228.py) |
| [229](https://informatics.msk.ru/mod/statements/view.php?chapterid=229#1) | Python 3.9 | [5](https://github.com/dan-sazonov/informatics-solutions/blob/main/solutions/229.py) |
| [231](https://informatics.msk.ru/mod/statements/view.php?chapterid=231#1) | Python 3.9 | [100](https://github.com/dan-sazonov/informatics-solutions/blob/main/solutions/231.py) |
| [310](https://informatics.msk.ru/mod/statements/view.php?chapterid=310#1) | Python 3.9 | [100](https://github.com/dan-sazonov/informatics-solutions/blob/main/solutions/310.py) |
| [404](https://informatics.msk.ru/mod/statements/view.php?chapterid=404#1) | Python 3.9 | [100](https://github.com/dan-sazonov/informatics-solutions/blob/main/solutions/404.py) |
| [490](https://informatics.msk.ru/mod/statements/view.php?chapterid=490#1) | Python 3.9 | [100](https://github.com/dan-sazonov/informatics-solutions/blob/main/solutions/490.py) |
| [506](https://informatics.msk.ru/mod/statements/view.php?chapterid=506#1) | Python 3.9 | [100](https://github.com/dan-sazonov/informatics-solutions/blob/main/solutions/506.py) |
| [592](https://informatics.msk.ru/mod/statements/view.php?chapterid=592#1) | Python 3.9 | [0](https://github.com/dan-sazonov/informatics-solutions/blob/main/solutions/592.py) |
| [647](https://informatics.msk.ru/mod/statements/view.php?chapterid=647#1) | Python 3.9 | [1](https://github.com/dan-sazonov/informatics-solutions/blob/main/solutions/647.py) |
| [766](https://informatics.msk.ru/mod/statements/view.php?chapterid=766#1) | Python 3.9 | [100](https://github.com/dan-sazonov/informatics-solutions/blob/main/solutions/766.py) |
| [767](https://informatics.msk.ru/mod/statements/view.php?chapterid=767#1) | Python 3.9 | [100](https://github.com/dan-sazonov/informatics-solutions/blob/main/solutions/767.py) |
| [842](https://informatics.msk.ru/mod/statements/view.php?chapterid=842#1) | Python 3.9 | [100](https://github.com/dan-sazonov/informatics-solutions/blob/main/solutions/842.py) |
| [843](https://informatics.msk.ru/mod/statements/view.php?chapterid=843#1) | Python 3.9 | [100](https://github.com/dan-sazonov/informatics-solutions/blob/main/solutions/843.py) |
| [844](https://informatics.msk.ru/mod/statements/view.php?chapterid=844#1) | Python 3.9 | [3](https://github.com/dan-sazonov/informatics-solutions/blob/main/solutions/844.py) |
| [912](https://informatics.msk.ru/mod/statements/view.php?chapterid=912#1) | Python 3.9 | [100](https://github.com/dan-sazonov/informatics-solutions/blob/main/solutions/912.py) |
| [913](https://informatics.msk.ru/mod/statements/view.php?chapterid=913#1) | Python 3.9 | [100](https://github.com/dan-sazonov/informatics-solutions/blob/main/solutions/913.py) |
| [914](https://informatics.msk.ru/mod/statements/view.php?chapterid=914#1) | Python 3.9 | [100](https://github.com/dan-sazonov/informatics-solutions/blob/main/solutions/914.py) |
| [915](https://informatics.msk.ru/mod/statements/view.php?chapterid=915#1) | Python 3.9 | [100](https://github.com/dan-sazonov/informatics-solutions/blob/main/solutions/915.py) |
| [1023](https://informatics.msk.ru/mod/statements/view.php?chapterid=1023#1) | Python 3.9 | [100](https://github.com/dan-sazonov/informatics-solutions/blob/main/solutions/1023.py) |
| [1025](https://informatics.msk.ru/mod/statements/view.php?chapterid=1025#1) | Python 3.9 | [100](https://github.com/dan-sazonov/informatics-solutions/blob/main/solutions/1025.py) |
| [1026](https://informatics.msk.ru/mod/statements/view.php?chapterid=1026#1) | Python 3.9 | [100](https://github.com/dan-sazonov/informatics-solutions/blob/main/solutions/1026.py) |
| [1027](https://informatics.msk.ru/mod/statements/view.php?chapterid=1027#1) | Python 3.9 | [100](https://github.com/dan-sazonov/informatics-solutions/blob/main/solutions/1027.py) |
| [1037](https://informatics.msk.ru/mod/statements/view.php?chapterid=1037#1) | Python 3.9 | [55](https://github.com/dan-sazonov/informatics-solutions/blob/main/solutions/1037.py) |
| [1209](https://informatics.msk.ru/mod/statements/view.php?chapterid=1209#1) | Python 3.9 | [100](https://github.com/dan-sazonov/informatics-solutions/blob/main/solutions/1209.py) |
| [1222](https://informatics.msk.ru/mod/statements/view.php?chapterid=1222#1) | Python 3.9 | [5](https://github.com/dan-sazonov/informatics-solutions/blob/main/solutions/1222.py) |
| [1406](https://informatics.msk.ru/mod/statements/view.php?chapterid=1406#1) | Python 3.9 | [100](https://github.com/dan-sazonov/informatics-solutions/blob/main/solutions/1406.py) |
| [1409](https://informatics.msk.ru/mod/statements/view.php?chapterid=1409#1) | Python 3.9 | [100](https://github.com/dan-sazonov/informatics-solutions/blob/main/solutions/1409.py) |
| [1412](https://informatics.msk.ru/mod/statements/view.php?chapterid=1412#1) | Python 3.9 | [100](https://github.com/dan-sazonov/informatics-solutions/blob/main/solutions/1412.py) |
| [1418](https://informatics.msk.ru/mod/statements/view.php?chapterid=1418#1) | Python 3.9 | [100](https://github.com/dan-sazonov/informatics-solutions/blob/main/solutions/1418.py) |
| [1425](https://informatics.msk.ru/mod/statements/view.php?chapterid=1425#1) | Python 3.9 | [100](https://github.com/dan-sazonov/informatics-solutions/blob/main/solutions/1425.py) |
| [1426](https://informatics.msk.ru/mod/statements/view.php?chapterid=1426#1) | Python 3.9 | [35](https://github.com/dan-sazonov/informatics-solutions/blob/main/solutions/1426.py) |
| [1427](https://informatics.msk.ru/mod/statements/view.php?chapterid=1427#1) | Python 3.9 | [100 (ΠΎΡ t.me/mollior)](https://github.com/dan-sazonov/informatics-solutions/blob/main/solutions/1427.py) |
| [1429](https://informatics.msk.ru/mod/statements/view.php?chapterid=1429#1) | Python 3.9 | [16](https://github.com/dan-sazonov/informatics-solutions/blob/main/solutions/1429.py) |
| [1436](https://informatics.msk.ru/mod/statements/view.php?chapterid=1436#1) | Python 3.9 | [1](https://github.com/dan-sazonov/informatics-solutions/blob/main/solutions/1436.py) |
| [1438](https://informatics.msk.ru/mod/statements/view.php?chapterid=1438#1) | Python 3.9 | [100](https://github.com/dan-sazonov/informatics-solutions/blob/main/solutions/1438.py) |
| [1440](https://informatics.msk.ru/mod/statements/view.php?chapterid=1440#1) | Python 3.9 | [100](https://github.com/dan-sazonov/informatics-solutions/blob/main/solutions/1440.py) |
| [1441](https://informatics.msk.ru/mod/statements/view.php?chapterid=1441#1) | Python 3.9 | [100](https://github.com/dan-sazonov/informatics-solutions/blob/main/solutions/1441.py) |
| [1442](https://informatics.msk.ru/mod/statements/view.php?chapterid=1442#1) | Python 3.9 | [3](https://github.com/dan-sazonov/informatics-solutions/blob/main/solutions/1442.py) |
| [1446](https://informatics.msk.ru/mod/statements/view.php?chapterid=1446#1) | Python 3.9 | [100](https://github.com/dan-sazonov/informatics-solutions/blob/main/solutions/1446.py) |
| [1447](https://informatics.msk.ru/mod/statements/view.php?chapterid=1447#1) | Python 3.9 | [100](https://github.com/dan-sazonov/informatics-solutions/blob/main/solutions/1447.py) |
| [1453](https://informatics.msk.ru/mod/statements/view.php?chapterid=1453#1) | Python 3.9 | [10](https://github.com/dan-sazonov/informatics-solutions/blob/main/solutions/1453.py) |
| [1455](https://informatics.msk.ru/mod/statements/view.php?chapterid=1455#1) | Python 3.9 | [100](https://github.com/dan-sazonov/informatics-solutions/blob/main/solutions/1455.py) |
| [1620](https://informatics.msk.ru/mod/statements/view.php?chapterid=1620#1) | Python 3.9 | [100](https://github.com/dan-sazonov/informatics-solutions/blob/main/solutions/1620.py) |
| [1923](https://informatics.msk.ru/mod/statements/view.php?chapterid=1923#1) | Python 3.9 | [100](https://github.com/dan-sazonov/informatics-solutions/blob/main/solutions/1923.py) |
| [2963](https://informatics.msk.ru/mod/statements/view.php?chapterid=2963#1) | Python 3.9 | [100](https://github.com/dan-sazonov/informatics-solutions/blob/main/solutions/2963.py) |
| [2968](https://informatics.msk.ru/mod/statements/view.php?chapterid=2968#1) | Python 3.9 | [100](https://github.com/dan-sazonov/informatics-solutions/blob/main/solutions/2968.py) |
| [3023](https://informatics.msk.ru/mod/statements/view.php?chapterid=3023#1) | Python 3.9 | [100](https://github.com/dan-sazonov/informatics-solutions/blob/main/solutions/3023.py) |
| [3101](https://informatics.msk.ru/mod/statements/view.php?chapterid=3101#1) | Python 3.9 | [100](https://github.com/dan-sazonov/informatics-solutions/blob/main/solutions/3101.py) |
| [3299](https://informatics.msk.ru/mod/statements/view.php?chapterid=3299#1) | Python 3.9 | [0](https://github.com/dan-sazonov/informatics-solutions/blob/main/solutions/3299.py) |
| [3405](https://informatics.msk.ru/mod/statements/view.php?chapterid=3405#1) | Python 3.9 | [100](https://github.com/dan-sazonov/informatics-solutions/blob/main/solutions/3405.py) |
| [3570](https://informatics.msk.ru/mod/statements/view.php?chapterid=3570#1) | Python 3.9 | [21](https://github.com/dan-sazonov/informatics-solutions/blob/main/solutions/3570.py) |
| [111234](https://informatics.msk.ru/mod/statements/view.php?chapterid=111234#1) | Python 3.9 | [100](https://github.com/dan-sazonov/informatics-solutions/blob/main/solutions/111234.py) |
| [111403](https://informatics.msk.ru/mod/statements/view.php?chapterid=111403#1) | Python 3.9 | [0](https://github.com/dan-sazonov/informatics-solutions/blob/main/solutions/111403.py) |
| [111728](https://informatics.msk.ru/mod/statements/view.php?chapterid=111728#1) | Python 3.9 | [100](https://github.com/dan-sazonov/informatics-solutions/blob/main/solutions/111728.py) |
| [111951](https://informatics.msk.ru/mod/statements/view.php?chapterid=111951#1) | Python 3.9 | [100](https://github.com/dan-sazonov/informatics-solutions/blob/main/solutions/111951.py) |
| [111952](https://informatics.msk.ru/mod/statements/view.php?chapterid=111952#1) | Python 3.9 | [100](https://github.com/dan-sazonov/informatics-solutions/blob/main/solutions/111952.py) |
| [111953](https://informatics.msk.ru/mod/statements/view.php?chapterid=111953#1) | Python 3.9 | [100](https://github.com/dan-sazonov/informatics-solutions/blob/main/solutions/111953.py) |
| [111954](https://informatics.msk.ru/mod/statements/view.php?chapterid=111954#1) | Python 3.9 | [100](https://github.com/dan-sazonov/informatics-solutions/blob/main/solutions/111954.py) |
| [113098](https://informatics.msk.ru/mod/statements/view.php?chapterid=113098#1) | Python 3.9 | [100](https://github.com/dan-sazonov/informatics-solutions/blob/main/solutions/113098.py) |
| [113439](https://informatics.msk.ru/mod/statements/view.php?chapterid=113439#1) | Python 3.9 | [100](https://github.com/dan-sazonov/informatics-solutions/blob/main/solutions/113439.py) |
| [113757](https://informatics.msk.ru/mod/statements/view.php?chapterid=113757#1) | Python 3.9 | [100](https://github.com/dan-sazonov/informatics-solutions/blob/main/solutions/113757.py) |
| [113758](https://informatics.msk.ru/mod/statements/view.php?chapterid=113758#1) | Python 3.9 | [100](https://github.com/dan-sazonov/informatics-solutions/blob/main/solutions/113758.py) |
| [114038](https://informatics.msk.ru/mod/statements/view.php?chapterid=114038#1) | Python 3.9 | [100](https://github.com/dan-sazonov/informatics-solutions/blob/main/solutions/114038.py) |
| [114039](https://informatics.msk.ru/mod/statements/view.php?chapterid=114039#1) | Python 3.9 | [100](https://github.com/dan-sazonov/informatics-solutions/blob/main/solutions/114039.py) |
| [114042](https://informatics.msk.ru/mod/statements/view.php?chapterid=114042#1) | Python 3.9 | [100](https://github.com/dan-sazonov/informatics-solutions/blob/main/solutions/114042.py) |