
Programming competitions have been developing for many years, and the content is getting more and more complicated. Most of the online information is scattered. Beginners often do not know how to systematically learn relevant knowledge, which requires a lot of time to explore.
In order to facilitate the better introduction of those who love programming competitions, in July 2018, the OI Wiki was moved to GitHub. As the content of the OI Wiki continues to improve, more and more friends are participating.
OI Wiki is committed to becoming a free and open and continuously updated knowledge integration site. You can get interesting and practical knowledge about competitive programming here. We have prepared basic knowledge, common question types, problem solving ideas and common tools in the competition to help you learn programming competitions more quickly and in-depth.
At present, there are still many incomplete contents of OI Wiki , and the knowledge points coverage is not comprehensive enough, and there are some low-quality pages that need to be modified. The OI Wiki team and the friends who participated in the contribution are actively improving these contents.
For the above content to be improved, please refer to the Issues of the OI Wiki and the iteration plan.
At the same time, the OI Wiki originates from the community and advocates knowledge freedom , and will never be commercialized in the future, and will always maintain the nature of independence and freedom.
This project is currently deployed on oi-wiki.org using MkDocs.
We maintain a list of mirror sites at status.oi-wiki.org, and their content is the same as oi-wiki.org.
Of course, it can also be deployed locally. ( Python3 and Pipenv are required )
If you encounter problems, you can consult the FAQ to learn more.
git clone https://github.com/OI-wiki/OI-wiki.git --depth=1
cd OI-wiki
# 安装 mkdocs
pipenv install --pypi-mirror https://pypi.tuna.tsinghua.edu.cn/simple/
# 使用我们的自定义主题(Windows 下请使用 Git Bash 执行)
# 安装主题时将连接网络下载资源,可通过以下配置项控制下载链接
# .gitmodules:
# - url
# scripts/pre-build/install-theme-vendor.sh:
# - MATHJAX_URL
# - MATERIAL_ICONS_URL
./scripts/pre-build/install-theme.sh
# 两种方法(选其一即可):
# 1. 运行一个本地服务器,访问 http://127.0.0.1:8000 可以查看效果
pipenv run mkdocs serve -v
# 2. 在 site 文件夹下得到静态页面
pipenv run mkdocs build -v
# 获取 mkdocs 的命令行工具的说明(解释了命令和参数的含义)
pipenv run mkdocs --helpWe are now rendering MathJax on the server side. If you want to achieve similar effects, you can refer to build.yml. (Node.js is required)
# Gitee 码云 上的镜像仓库和 GitHub 仓库的内容相同
git clone https://gitee.com/OI-wiki/OI-wiki.git The contents of gh-pages branch can be used
git clone https://gitee.com/OI-wiki/OI-wiki.git -b gh-pagesStarting an http server locally may be more convenient.
# 如果是 python3
python3 -m http.server
# 如果是 python2
python2 -m SimpleHTTPServer
# 有些环境下找不到名叫 python3/python2 的可执行文件,不妨运行 python 试试We highly welcome you to write content for the OI Wiki and share what you have learned with you.
The specific way of contribution is how to participate.
Unless otherwise specified, the Creative Commons BY-SA 4.0 Creative Commons BY-SA 4.0 International License and the Additional The Star And Thank Author License are licensed under the Creative Commons BY-SA 4.0 International License.
In other words, you can freely share and interpret during use, but you must be signed, shared in the same way, and there are no additional restrictions when sharing.
And you should like the GitHub repository (Star).
And if you want to reference this GitHub repository, you can use the following bibtex:
@misc{oiwiki,
author = {OI Wiki Team},
title = {OI Wiki},
year = {2016},
publisher = {GitHub},
journal = {GitHub Repository},
howpublished = {url{https://github.com/OI-wiki/OI-wiki}},
}
This project was inspired by the CTF Wiki and referenced a lot of information during the writing process. I would like to thank you here.
Thank you very much to those who have improved the OI Wiki and those who donated to the OI Wiki !
Special thanks to the friends of 24OI for their strong support!
Thanks to Peking University Association and Hulu for their support!