Автор репозитория: Мичков Евгений Владмирович БПМ-23-4
- CLI - утилита для управления проектом
- Code Runner config - настройки для VSCode
- Pre-commit - настройки для pre-commit хуков
- Задачи - список всех решенных задач
Для установки cli должен быть установлен
rust
. ./add-alias.sh# Сборбка всего проекта
br build
# Добавление нового модуля (лабы)
br add <module_name>{
"code-runner.executorMap": {
"cpp": "cd $dir && mkdir -p bin && cd bin && g++ ../$fileName -o $fileNameWithoutExt && ./$fileNameWithoutExt"
}
}python3 -m venv ./utils/.venv
. ./utils/.venv/bin/activate
pip install -r ./utils/requirements.txt. ./utils/.venv/bin/activate
python3 ./utils/precommit.py
exit_code=$?
if [ $exit_code -ne 0 ]; then
echo "Error: Python script failed. Commit aborted."
exit 1
fi
git add README.md prj.codeforces/CMakeLists.txt
exit 0| Problem | Solution | Rating | Tags |
|---|---|---|---|
| 526F Pudding Monsters | Solution | 3000 | data structures, divide and conquer |
| 86D Powerful array | Solution | 2200 | data structures, implementation, math, two pointers |
| 380C Sereja and Brackets | Solution | 2000 | data structures, schedules |
| 1371D Grid-00100 | Solution | 1600 | constructive algorithms, greedy, implementation |
| 1B Spreadsheet | Solution | 1600 | implementation, math |
| 431C k-Tree | Solution | 1600 | dp, implementation, trees |
| 455A Boredom | Solution | 1500 | dp |
| 1404A Balanced Bitstring | Solution | 1500 | implementation, strings |
| 279B Books | Solution | 1400 | binary search, brute force, implementation, two pointers |
| 520B Two Buttons | Solution | 1400 | dfs and similar, graphs, greedy, implementation, math, shortest paths |
| 230B T-primes | Solution | 1300 | binary search, implementation, math, number theory |
| 4C Registration System | Solution | 1300 | data structures, hashing, implementation |
| 489B BerSU Ball | Solution | 1200 | dfs and similar, dp, graph matchings, greedy, sortings, two pointers |
| 466A Cheap Travel | Solution | 1200 | implementation |
| 1352C K-th Not Divisible by n | Solution | 1200 | binary search, math |
| 492B Vanya and Lanterns | Solution | 1200 | binary search, implementation, math, sortings |
| 456A Laptops | Solution | 1100 | sortings |
| 519B A and B and Compilation Errors | Solution | 1100 | data structures, implementation, sortings |
| 1717B Madoka and Underground Competitions | Solution | 1100 | constructive algorithms, implementation |
| 1669D Colorful Stamp | Solution | 1100 | implementation |
| 136B Ternary Logic | Solution | 1100 | implementation, math |
| 1670B Dorms War | Solution | 1100 | brute force, implementation, strings |
| 1473B String LCM | Solution | 1000 | brute force, math, number theory, strings |
| 499B Lecture | Solution | 1000 | implementation, strings |
| 43A Football | Solution | 1000 | strings |
| 1690D Black and White Stripe | Solution | 1000 | implementation, two pointers |
| 230A Dragons | Solution | 1000 | greedy, sortings |
| 131A cAPS lOCK | Solution | 1000 | implementation, strings |
| 479A Expression | Solution | 1000 | brute force, math |
| 122A Lucky Division | Solution | 1000 | brute force, number theory |
| 58A Chat room | Solution | 1000 | greedy, strings |
| 69A Young Physicist | Solution | 1000 | implementation, math |
| 118A String Task | Solution | 1000 | implementation, strings |
| 1A Theatre Square | Solution | 1000 | math |
| 339B Xenia and Ringroad | Solution | 1000 | implementation |
| 1721B Deadly Laser | Solution | 1000 | implementation |
| 96A Football | Solution | 900 | implementation, strings |
| 1559A Mocha and Math | Solution | 900 | bitmasks, constructive algorithms, math |
| 1330A Dreamoon and Ranking Collection | Solution | 900 | implementation |
| 276A Lunch Rush | Solution | 900 | implementation |
| 116A Tram | Solution | 800 | implementation |
| 110A Nearly Lucky Number | Solution | 800 | implementation |
| 977A Wrong Subtraction | Solution | 800 | implementation |
| 546A Soldier and Bananas | Solution | 800 | brute force, implementation, math |
| 1760C Advantage | Solution | 800 | data structures, implementation, sortings |
| 1703B ICPC Balloons | Solution | 800 | data structures, implementation |
| 41A Translation | Solution | 800 | implementation, strings |
| 734A Anton and Danik | Solution | 800 | implementation, strings |
| 520A Pangram | Solution | 800 | implementation, strings |
| 59A Word | Solution | 800 | implementation, strings |
| 1585A Life of a Flower | Solution | 800 | implementation |
| 791A Bear and Big Brother | Solution | 800 | implementation |
| 266A Stones on the Table | Solution | 800 | implementation |
| 236A Boy or Girl | Solution | 800 | brute force, implementation, strings |
| 281A Word Capitalization | Solution | 800 | implementation, strings |
| 339A Helpful Maths | Solution | 800 | greedy, implementation, sortings, strings |
| 112A Petya and Strings | Solution | 800 | implementation, strings |
| 50A Domino piling | Solution | 800 | greedy, math |
| 282A Bit++ | Solution | 800 | implementation |
| 158A Next Round | Solution | 800 | *special, implementation |
| 231A Team | Solution | 800 | brute force, greedy |
| 1873D 1D Eraser | Solution | 800 | greedy, implementation, two pointers |
| 1873C Target Practice | Solution | 800 | implementation, math |
| 1734B Bright, Nice, Brilliant | Solution | 800 | constructive algorithms |
| 71A Way Too Long Words | Solution | 800 | strings |
| 978B File Name | Solution | 800 | greedy, strings |
| 978A Remove Duplicates | Solution | 800 | implementation |
| 1872A Two Vessels | Solution | 800 | brute force, greedy, math |
| 1352A Sum of Round Numbers | Solution | 800 | implementation, math |
| 263A Beautiful Matrix | Solution | 800 | implementation |
| 271A Beautiful Year | Solution | 800 | brute force |
| 617A Elephant | Solution | 800 | math |
| 4A Watermelon | Solution | 800 | brute force, math |