0
1
mirror of https://git.sb/baoshuo/OI-codes.git synced 2024-09-19 23:45:25 +00:00
Go to file
2022-05-22 20:47:37 +08:00
.vscode chore: update code template 2022-05-20 09:10:15 +08:00
AcWing 252. 树 2022-05-20 21:38:14 +08:00
AtCoder E - Tahakashi and Animals 2022-05-14 21:07:31 +08:00
BZOJ chore: separate definition blocks 2022-05-20 09:23:27 +08:00
Codeforces chore: separate definition blocks 2022-05-20 09:23:27 +08:00
Gym chore: separate definition blocks 2022-05-20 09:23:27 +08:00
HDU chore: separate definition blocks 2022-05-20 09:23:27 +08:00
Hydro H1005 【模板】矩阵乘法 2022-05-06 11:53:19 +08:00
includes feat(includes): add testlib.h 2022-02-13 15:04:54 +08:00
LibreOJ chore: separate definition blocks 2022-05-20 09:23:27 +08:00
Luogu P2261 [CQOI2007]余数求和 2022-05-21 20:11:36 +08:00
NowCoder NC232778 [模板]KMP字符串匹配 2022-01-25 11:07:17 +08:00
POJ 1830. 开关问题 2022-05-10 21:20:25 +08:00
S2OJ #1426. 【2022.5.21 联考】空 2022-05-22 20:47:37 +08:00
templates fix(templates/BigInt): add != operator 2022-01-22 09:26:43 +08:00
tk.hustoj.com 1347: Unix-head 2021-07-25 19:05:36 +08:00
USACO/2021.12-Bronze USACO 2021 December Contest (Bronze) 2021-12-22 17:03:40 +08:00
USACO-Training/1.2 Your Ride Is Here 2021-12-17 21:36:04 +08:00
Vijos P1001 谁拿了最多奖学金 2021-10-02 17:24:19 +08:00
XJOI C - 二八定律 2022-05-15 09:25:40 +08:00
ybt 1269. 【例9.13】庆功会 2022-04-04 21:19:24 +08:00
.astyle-format feat: update astyle format 2021-11-19 16:12:29 +08:00
.clang-format chore: separate definition blocks 2022-05-20 09:23:27 +08:00
.gitattributes Init 2020-08-01 14:18:49 +08:00
.gitignore fix: not ignore templates 2022-03-09 21:23:18 +08:00
.prettierrc chore: fix prettier config 2022-04-02 08:55:46 +08:00
clean.sh [Upd] clean temp code files 2021-07-24 15:54:06 +08:00
LICENSE Use GPLv3 LICENSE 2020-11-15 20:30:03 +08:00
README.md feat: add directory structure 2022-04-01 19:32:15 +08:00

OI Codes

Author Stars GPL-3.0 License

说明

本仓库存放与 OI 有关的代码。

  • 部分代码的思路借鉴了题解。
  • 部分题目文件夹下会有 solution.md 给出做题思路,也会有部分题目会在 博客 中给出题解。
  • 部分题目的 data 文件夹下会存放该题的部分测试数据。

做题时间请参考 Author Date ,或根据题目对应提交中注明的提交记录编号查找。

仓库使用指南

▲ 点击「Commits」按钮可以查看历史提交记录。

▲ 在每个提交记录的说明中都会注明提交记录的链接/编号。

▲ 可以在提交历史中找到每份代码的不同版本。

文件目录结构

文件夹 测评系统 账号 说明
AcWing AcWing 在线题库 宝硕 部分题目为权限题,需购买对应课程。
AtCoder AtCoder baoshuo 题目为比赛题。
BZOJ Hydro BZOJ 域DarkBZOJ - 原 BZOJ 已经停止运营。
Codeforces Codeforces baoshuo
Gym Codeforces::Gym baoshuo
HDU Hangzhou Dianzi University Online Judge renbaoshuo 需要实名认证。
LibreOJ LibreOJ baoshuo
Luogu 洛谷 宝硕
NowCoder 牛客竞赛 OJ 宝硕
POJ Peking University JudgeOnline renbaoshuo
S2OJ 石家庄二中信息学在线测评系统 baoshuo 校内 OJ需要访问权限。存在登录墙。
tk.hustoj.com HUSTOJ TK 题库 renbaoshuo
USACO USACO -
USACO-Training USACO Training -
Vijos Vijos renbaoshuo
XJOI XJOI renbaoshuo 存在登录墙。
ybt 信息学奥赛一本通C++ 版)在线评测系统 baoshuo

语言环境信息

本仓库中代码本地编译环境如下:

语言 编译器版本 编译命令
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

运行环境如下:

CPU Intel(R) Core(TM) i7-9750H @ 2.60GHz
内存 32GiB
系统版本 Ubuntu 20.04.4 LTS on Windows 10 x86_64
内核版本 5.10.102.1-microsoft-standard-WSL2

代码运行时长均以此环境为准。

Author

OI Codes © Baoshuo, Released under the GPL-3.0 License.
Authored and maintained by Baoshuo.

Personal Website · Blog · GitHub @renbaoshuo · Twitter @renbaoshuo