0
1
mirror of https://git.sb/baoshuo/OI-codes.git synced 2024-11-27 18:16:26 +00:00

Compare commits

..

5 Commits

Author SHA1 Message Date
7bb4dfdc6e
fix: git submodules 2022-07-23 22:27:19 +08:00
3e184ddc4a
chore: git submodules 2022-07-23 22:21:53 +08:00
7150fc3215
fix: ignore submodules 2022-07-23 22:18:45 +08:00
e66bdfda1e
feat: add ac-library 2022-07-23 22:15:20 +08:00
a8428c3c64
feat: bring up submodules 2022-07-23 22:09:52 +08:00
7 changed files with 29 additions and 5149 deletions

6
.gitmodules vendored Normal file
View File

@ -0,0 +1,6 @@
[submodule "includes/testlib"]
path = includes/testlib
url = https://github.com/MikeMirzayanov/testlib.git
[submodule "includes/ac-library"]
path = includes/ac-library
url = https://github.com/atcoder/ac-library.git

View File

@ -42,7 +42,8 @@
{ {
"name": "Linux", "name": "Linux",
"includePath": [ "includePath": [
"${workspaceFolder}/**" "${workspaceFolder}/includes/testlib/**",
"${workspaceFolder}/includes/ac-library/**"
], ],
"defines": [ "defines": [
"_DEBUG", "_DEBUG",

91
.vscode/settings.json vendored
View File

@ -1,99 +1,20 @@
{ {
"files.associations": {
"iostream": "cpp",
"chrono": "cpp",
"random": "cpp",
"limits": "cpp",
"valarray": "cpp",
"cmath": "cpp",
"array": "cpp",
"atomic": "cpp",
"*.tcc": "cpp",
"bitset": "cpp",
"cctype": "cpp",
"cfenv": "cpp",
"charconv": "cpp",
"cinttypes": "cpp",
"clocale": "cpp",
"codecvt": "cpp",
"complex": "cpp",
"condition_variable": "cpp",
"csetjmp": "cpp",
"csignal": "cpp",
"cstdarg": "cpp",
"cstddef": "cpp",
"cstdint": "cpp",
"cstdio": "cpp",
"cstdlib": "cpp",
"cstring": "cpp",
"ctime": "cpp",
"cuchar": "cpp",
"cwchar": "cpp",
"cwctype": "cpp",
"deque": "cpp",
"forward_list": "cpp",
"list": "cpp",
"unordered_map": "cpp",
"unordered_set": "cpp",
"vector": "cpp",
"exception": "cpp",
"algorithm": "cpp",
"functional": "cpp",
"iterator": "cpp",
"map": "cpp",
"memory": "cpp",
"memory_resource": "cpp",
"numeric": "cpp",
"optional": "cpp",
"ratio": "cpp",
"regex": "cpp",
"set": "cpp",
"string": "cpp",
"string_view": "cpp",
"system_error": "cpp",
"tuple": "cpp",
"type_traits": "cpp",
"utility": "cpp",
"fstream": "cpp",
"future": "cpp",
"initializer_list": "cpp",
"iomanip": "cpp",
"iosfwd": "cpp",
"istream": "cpp",
"mutex": "cpp",
"new": "cpp",
"ostream": "cpp",
"scoped_allocator": "cpp",
"shared_mutex": "cpp",
"sstream": "cpp",
"stdexcept": "cpp",
"streambuf": "cpp",
"thread": "cpp",
"typeindex": "cpp",
"typeinfo": "cpp",
"any": "cpp",
"bit": "cpp",
"variant": "cpp",
"rope": "cpp",
"compare": "cpp",
"concepts": "cpp",
"coroutine": "cpp",
"numbers": "cpp",
"ranges": "cpp",
"span": "cpp",
"stop_token": "cpp"
},
"go.formatTool": "goformat", "go.formatTool": "goformat",
"go.formatFlags": ["-style", "indent=4"], "go.formatFlags": ["-style", "indent=4"],
"code-runner.fileDirectoryAsCwd": true, "code-runner.fileDirectoryAsCwd": true,
"code-runner.runInTerminal": true, "code-runner.runInTerminal": true,
"code-runner.executorMap": { "code-runner.executorMap": {
"c": "gcc $fileName -o $fileNameWithoutExt.exe -O2 -lm && ./$fileNameWithoutExt.exe", "c": "gcc $fileName -o $fileNameWithoutExt.exe -O2 -lm && ./$fileNameWithoutExt.exe",
"cpp": "g++ --std=c++14 $fileName -o $fileNameWithoutExt.exe -O2 -lm -fsanitize=address,undefined -fno-ms-extensions -Wall && ./$fileNameWithoutExt.exe", "cpp": "g++ --std=c++14 $fileName -o $fileNameWithoutExt.exe -O2 -lm -I \"$(git rev-parse --show-toplevel)/includes/testlib\" -I \"$(git rev-parse --show-toplevel)/includes/ac-library\" -fsanitize=address,undefined -fno-ms-extensions -Wall && ./$fileNameWithoutExt.exe",
"python": "python -u $fileName", "python": "python -u $fileName",
"go": "go run $fileName", "go": "go run $fileName",
"javascript": "node $fileName", "javascript": "node $fileName",
"typescript": "ts-node $fileName", "typescript": "ts-node $fileName",
"rust": "rustc $fileName -o $fileNameWithoutExt.exe && ./$fileNameWithoutExt.exe" "rust": "rustc $fileName -o $fileNameWithoutExt.exe && ./$fileNameWithoutExt.exe"
}, },
"git.ignoredRepositories": [
"./includes/testlib",
"./includes/ac-library",
"./includes/ac-library/*"
],
} }

View File

@ -62,6 +62,19 @@ GIT_LFS_SKIP_SMUDGE=1 git clone https://git.sb/baoshuo/OI-codes.git
git lfs pull git lfs pull
``` ```
## 子模块
本仓库包含了以下子模块:
- [MikeMirzayanov/testlib](https://github.com/MikeMirzayanov/testlib)
- [atcoder/ac-library](https://github.com/atcoder/ac-library)
在克隆仓库后需要运行以下命令检出子模块:
```bash
git submodule update --init --recursive
```
## 文件目录结构 ## 文件目录结构
| 文件夹 | 测评系统 | 账号 | 说明 | | 文件夹 | 测评系统 | 账号 | 说明 |

1
includes/ac-library Submodule

@ -0,0 +1 @@
Subproject commit f669803f78c3acc72671ca6e41b4eeb0469364a8

1
includes/testlib Submodule

@ -0,0 +1 @@
Subproject commit 6daa79fdc9c2b113be8d40f828e3dc81e67ce33d

File diff suppressed because it is too large Load Diff