mirror of
https://git.sb/baoshuo/OI-codes.git
synced 2024-11-23 20:28:48 +00:00
Compare commits
5 Commits
1d93a5dcf2
...
7bb4dfdc6e
Author | SHA1 | Date | |
---|---|---|---|
7bb4dfdc6e | |||
3e184ddc4a | |||
7150fc3215 | |||
e66bdfda1e | |||
a8428c3c64 |
6
.gitmodules
vendored
Normal file
6
.gitmodules
vendored
Normal 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
|
3
.vscode/c_cpp_properties.json
vendored
3
.vscode/c_cpp_properties.json
vendored
@ -42,7 +42,8 @@
|
||||
{
|
||||
"name": "Linux",
|
||||
"includePath": [
|
||||
"${workspaceFolder}/**"
|
||||
"${workspaceFolder}/includes/testlib/**",
|
||||
"${workspaceFolder}/includes/ac-library/**"
|
||||
],
|
||||
"defines": [
|
||||
"_DEBUG",
|
||||
|
91
.vscode/settings.json
vendored
91
.vscode/settings.json
vendored
@ -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.formatFlags": ["-style", "indent=4"],
|
||||
"code-runner.fileDirectoryAsCwd": true,
|
||||
"code-runner.runInTerminal": true,
|
||||
"code-runner.executorMap": {
|
||||
"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",
|
||||
"go": "go run $fileName",
|
||||
"javascript": "node $fileName",
|
||||
"typescript": "ts-node $fileName",
|
||||
"rust": "rustc $fileName -o $fileNameWithoutExt.exe && ./$fileNameWithoutExt.exe"
|
||||
},
|
||||
"git.ignoredRepositories": [
|
||||
"./includes/testlib",
|
||||
"./includes/ac-library",
|
||||
"./includes/ac-library/*"
|
||||
],
|
||||
}
|
||||
|
13
README.md
13
README.md
@ -62,6 +62,19 @@ GIT_LFS_SKIP_SMUDGE=1 git clone https://git.sb/baoshuo/OI-codes.git
|
||||
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
1
includes/ac-library
Submodule
@ -0,0 +1 @@
|
||||
Subproject commit f669803f78c3acc72671ca6e41b4eeb0469364a8
|
1
includes/testlib
Submodule
1
includes/testlib
Submodule
@ -0,0 +1 @@
|
||||
Subproject commit 6daa79fdc9c2b113be8d40f828e3dc81e67ce33d
|
5063
includes/testlib.h
5063
includes/testlib.h
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user