{"id":13440628,"url":"https://github.com/OI-wiki/OI-wiki","last_synced_at":"2025-03-20T10:31:58.890Z","repository":{"id":37331822,"uuid":"140516736","full_name":"OI-wiki/OI-wiki","owner":"OI-wiki","description":":star2: Wiki of OI / ICPC for everyone. （某大型游戏线上攻略，内含炫酷算术魔法）","archived":false,"fork":false,"pushed_at":"2025-03-16T16:47:25.000Z","size":94094,"stargazers_count":22404,"open_issues_count":135,"forks_count":4136,"subscribers_count":202,"default_branch":"master","last_synced_at":"2025-03-16T17:19:58.371Z","etag":null,"topics":["acm-icpc","acm-icpc-handbook","algorithms","competitive-programming","data-structures","hacktoberfest","icpc","icpc-handbook","icpc-training","oi","oi-handbook","oi-training"],"latest_commit_sha":null,"homepage":"https://oi-wiki.org","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/OI-wiki.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":".github/CONTRIBUTING.md","funding":".github/FUNDING.yml","license":null,"code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":"CITATION.bib","codeowners":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"open_collective":"oi-wiki","custom":"https://oi-wiki.org/intro/thanks/"}},"created_at":"2018-07-11T03:28:14.000Z","updated_at":"2025-03-16T16:44:56.000Z","dependencies_parsed_at":"2023-09-25T19:53:01.421Z","dependency_job_id":"6fae1899-125b-4ac0-9ae0-0ec4a6f1f5a9","html_url":"https://github.com/OI-wiki/OI-wiki","commit_stats":{"total_commits":9531,"total_committers":994,"mean_commits":9.588531187122737,"dds":0.821319903472878,"last_synced_commit":"48855da08d0d2920b8dca95866370517af6423ea"},"previous_names":["24oi/oi-wiki"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OI-wiki%2FOI-wiki","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OI-wiki%2FOI-wiki/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OI-wiki%2FOI-wiki/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OI-wiki%2FOI-wiki/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/OI-wiki","download_url":"https://codeload.github.com/OI-wiki/OI-wiki/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243926162,"owners_count":20369938,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["acm-icpc","acm-icpc-handbook","algorithms","competitive-programming","data-structures","hacktoberfest","icpc","icpc-handbook","icpc-training","oi","oi-handbook","oi-training"],"created_at":"2024-07-31T03:01:24.571Z","updated_at":"2025-03-20T10:31:56.297Z","avatar_url":"https://github.com/OI-wiki.png","language":"TypeScript","funding_links":["https://opencollective.com/oi-wiki","https://oi-wiki.org/intro/thanks/"],"categories":["HarmonyOS","TypeScript","Others","Others (1002)","语言资源库","🤖 AI \u0026 Machine Learning"],"sub_categories":["Windows Manager","books"],"readme":"[![Word Art](docs/images/wordArt.webp)](https://oi-wiki.org/)\n\n# 欢迎来到 **OI Wiki**！\n\n[![Gitpod Ready-to-Code](https://img.shields.io/badge/Gitpod-Ready--to--Code-brightgreen?logo=gitpod\u0026style=flat-square)](https://gitpod.io/#https://github.com/OI-wiki/OI-wiki)  [![GitHub Actions](https://img.shields.io/github/actions/workflow/status/OI-wiki/OI-wiki/build.yml?style=flat-square\u0026branch=master)](https://github.com/OI-wiki/OI-wiki/actions/workflows/build.yml)  [![Uptime Robot Status](https://img.shields.io/uptimerobot/status/m781254113-3e3bac467c64fc99eafd383e.svg?style=flat-square)](https://status.oi-wiki.org/) [![Telegram](https://img.shields.io/badge/Telegram-OI%20Wiki-%232CA5E0?style=flat-square\u0026logo=telegram)](https://t.me/OI_wiki)  [![QQ](https://img.shields.io/badge/QQ%20group-OI%20Wiki-blue?style=flat-square\u0026logo=tencent-qq)](https://jq.qq.com/?_wv=1027\u0026k=5EfkM6K)  [![GitHub watchers](https://img.shields.io/github/watchers/OI-Wiki/OI-Wiki.svg?style=social\u0026label=Watch)](https://github.com/OI-wiki/OI-wiki)  [![GitHub stars](https://img.shields.io/github/stars/OI-Wiki/OI-Wiki.svg?style=social\u0026label=Stars)](https://github.com/OI-wiki/OI-wiki)\n\n* * *\n\n## 内容\n\n编程竞赛发展多年，难度越来越高，内容越来越复杂，而网上资料大多零散，初学者往往并不知道如何系统地学习相关知识，需要花费大量时间摸索。\n\n为了方便热爱编程竞赛的小伙伴更好地入门，2018 年 7 月份，**OI Wiki** 迁移至 GitHub。随着 **OI Wiki** 的内容不断完善，越来越多的小伙伴参与其中。\n\n**OI Wiki** 致力于成为一个免费开放且持续更新的知识整合站点，大家可以在这里获取关于 **编程竞赛 (competitive programming)** 有趣又实用的知识，我们为大家准备了竞赛中的基础知识、常见题型、解题思路以及常用工具等内容，帮助大家更快速深入地学习编程竞赛。\n\n目前，**OI Wiki** 的内容还有很多不完善的地方，知识点覆盖不够全面，存在一些低质量页面需要修改。**OI Wiki** 团队以及参与贡献的小伙伴们正在积极完善这些内容。\n\n关于上述待完善内容，请参见 **OI Wiki** 的 [Issues](https://github.com/OI-wiki/OI-wiki/issues) 以及 [迭代计划](https://github.com/OI-wiki/OI-wiki/labels/Iteration%20Plan%20%2F%20%E8%BF%AD%E4%BB%A3%E8%AE%A1%E5%88%92)。\n\n与此同时，**OI Wiki** 源于社区，提倡 **知识自由**，在未来也绝不会商业化，将始终保持独立自由的性质。\n\n* * *\n\n## 部署\n\n本项目目前采用 [MkDocs](https://github.com/mkdocs/mkdocs) 部署在 [oi-wiki.org](https://oi-wiki.org)。\n\n我们在 [status.oi-wiki.org](https://status.oi-wiki.org) 维护了一份镜像站列表，它们的内容和 [oi-wiki.org](https://oi-wiki.org) 都是相同的。\n\n当然，也可以在本地部署。（**需要安装 Python3 和 Pipenv**）\n\n**如果遇到问题，可以查阅 [F.A.Q.](https://oi-wiki.org/intro/faq/) 来了解更多信息。**\n\n```bash\ngit clone https://github.com/OI-wiki/OI-wiki.git --depth=1\n\ncd OI-wiki\n\n# 安装 mkdocs\npipenv install --pypi-mirror https://pypi.tuna.tsinghua.edu.cn/simple/\n\n# 使用我们的自定义主题（Windows 下请使用 Git Bash 执行）\n# 安装主题时将连接网络下载资源，可通过以下配置项控制下载链接\n# .gitmodules:\n# - url\n# scripts/pre-build/install-theme-vendor.sh:\n# - MATHJAX_URL\n# - MATERIAL_ICONS_URL\n./scripts/pre-build/install-theme.sh\n\n# 两种方法（选其一即可）：\n# 1. 运行一个本地服务器，访问 http://127.0.0.1:8000 可以查看效果\npipenv run mkdocs serve -v\n\n# 2. 在 site 文件夹下得到静态页面\npipenv run mkdocs build -v\n\n# 获取 mkdocs 的命令行工具的说明（解释了命令和参数的含义）\npipenv run mkdocs --help\n```\n\n我们现在在服务器端渲染 MathJax，如果希望实现类似效果，可以参考 [build.yml](https://github.com/OI-wiki/OI-wiki/blob/master/.github/workflows/build.yml)。（需要安装 Node.js）\n\n### 镜像\n\n```bash\n# Gitee 码云 上的镜像仓库和 GitHub 仓库的内容相同\ngit clone https://gitee.com/OI-wiki/OI-wiki.git\n```\n\n### 离线版\n\n可以使用 `gh-pages` 分支的内容\n\n```bash\ngit clone https://gitee.com/OI-wiki/OI-wiki.git -b gh-pages\n```\n\n本地启动一个 http 服务器可能会更方便一些。\n\n```bash\n# 如果是 python3\npython3 -m http.server\n# 如果是 python2\npython2 -m SimpleHTTPServer\n# 有些环境下找不到名叫 python3/python2 的可执行文件，不妨运行 python 试试\n```\n\n* * *\n\n## 如何参与完善 OI Wiki\n\n我们非常欢迎你为 **OI Wiki** 编写内容，将自己的所学所得与大家分享。\n\n具体的贡献方式在 [如何参与](https://oi-wiki.org/intro/htc/)。\n\n* * *\n\n## 版权声明\n\n\u003ca rel=\"license\" href=\"https://creativecommons.org/licenses/by-sa/4.0/\"\u003e\u003cimg alt=\"知识共享许可协议\" style=\"border-width:0\" src=\"https://i.creativecommons.org/l/by-sa/4.0/88x31.png\" /\u003e\u003c/a\u003e\u003cbr /\u003e除特别注明外，项目中除了代码部分均采用\u003ca rel=\"license\" href=\"https://creativecommons.org/licenses/by-sa/4.0/deed.zh\"\u003e(Creative Commons BY-SA 4.0) 知识共享署名 - 相同方式共享 4.0 国际许可协议\u003c/a\u003e及附加的 [The Star And Thank Author License](https://github.com/zTrix/sata-license) 进行许可。\n\n换言之，使用过程中您可以自由地共享、演绎，但是必须署名、以相同方式共享、分享时没有附加限制，\n\n而且应该为 GitHub 仓库点赞（Star）。\n\n而如果你想要引用这个 GitHub 仓库，可以使用如下的 bibtex：\n\n    @misc{oiwiki,\n      author = {OI Wiki Team},\n      title = {OI Wiki},\n      year = {2016},\n      publisher = {GitHub},\n      journal = {GitHub Repository},\n      howpublished = {\\url{https://github.com/OI-wiki/OI-wiki}},\n    }\n\n* * *\n\n## 鸣谢\n\n本项目受 [CTF Wiki](https://ctf-wiki.org/) 的启发，在编写过程中参考了诸多资料，在此一并致谢。\n\n非常感谢一起完善 **OI Wiki** 的 [小伙伴们](https://github.com/OI-wiki/OI-wiki/graphs/contributors) 和为 **OI Wiki** 捐赠的 [朋友们](https://oi-wiki.org/intro/thanks/)！\n\n\u003ca href=\"https://github.com/OI-wiki/OI-wiki/graphs/contributors\"\u003e\u003cimg src=\"https://opencollective.com/oi-wiki/contributors.svg?width=890\u0026button=false\" /\u003e\u003c/a\u003e\n\n特别感谢 [24OI](https://github.com/24OI) 的朋友们的大力支持！\n\n\u003c!-- \u003cimg src='https://i.loli.net/2018/12/07/5c0a6e4c31b30.png' alt='QVQNetWork' width=233\u003e\n鸣谢 QVQNetwork 赞助的服务器。 --\u003e\n\n感谢 北大算协 和 Hulu 的支持！\n\n![](https://assets.pcmag.com/media/images/560767-hulu.png?width=333\u0026height=245)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FOI-wiki%2FOI-wiki","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FOI-wiki%2FOI-wiki","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FOI-wiki%2FOI-wiki/lists"}