# OI-codes [![Author](https://img.shields.io/badge/Author-Baoshuo-b68469.svg?style=flat-square)](https://baoshuo.ren) [![Stars](https://img.shields.io/github/stars/renbaoshuo/OI-codes?style=flat-square)](https://github.com/renbaoshuo/OI-codes/stargazers) [![GPL-3.0 License](https://img.shields.io/github/license/renbaoshuo/OI-codes?style=flat-square)](/LICENSE) ## 说明 本仓库存放与 **OI** 有关的代码。 - 部分代码的思路借鉴了题解。 - 部分题目文件夹下会有 `solution.md` 给出做题思路,也会有部分题目会在 [博客](https://oi.baoshuo.ren/) 中给出题解。 - 部分题目的 `data` 文件夹下会存放该题的部分测试数据。 做题时间请参考 `Author Date` ,或根据题目对应提交中注明的提交记录编号查找。 ## 语言环境信息 本仓库中代码本地编译环境如下: | 语言 | 编译器版本 | 编译命令 | | -----: | ----------------------------------------------------------- | ----------------------------------------- | | C | `gcc (Ubuntu 10.3.0-1ubuntu1~20.04) 10.3.0` | `gcc code.c -o code -std=c11 -O2 -lm` | | C++ | `g++ (Ubuntu 10.3.0-1ubuntu1~20.04) 10.3.0` | `g++ code.cpp -o code -std=c++14 -O2 -lm` | | Python | `Python 3.9.5 (default, May 19 2021, 11:32:47) [GCC 9.3.0]` | `python code.py` | | NodeJS | `v14.18.1` | `node code.js` | | PHP | `PHP 7.4.3 (cli) (built: Aug 13 2021 05:39:12) ( NTS )` | `php code.php` | 编译时所用系统版本为 `Ubuntu 20.04 LTS (Linux 5.10.60.1-microsoft-standard-WSL2, x86_64)` 。 ## Author **OI-codes** © [Baoshuo](https://github.com/renbaoshuo), Released under the [GPL-3.0](./LICENSE) License. Authored and maintained by Baoshuo with help from [contributors](https://github.com/renbaoshuo/OI-codes/contributors). > [Personal Website](https://baoshuo.ren) · [Blog](https://blog.baoshuo.ren) · GitHub [@renbaoshuo](https://github.com/renbaoshuo) · Twitter [@renbaoshuo](https://twitter.com/renbaoshuo)