0
1
mirror of https://git.sb/baoshuo/OI-codes.git synced 2024-11-23 20:48:48 +00:00

feat: add ac-library

This commit is contained in:
Baoshuo Ren 2022-07-23 22:15:20 +08:00
parent a8428c3c64
commit e66bdfda1e
Signed by: baoshuo
GPG Key ID: 00CB9680AB29F51A
4 changed files with 7 additions and 86 deletions

3
.gitmodules vendored
View File

@ -1,3 +1,6 @@
[submodule "includes/testlib"] [submodule "includes/testlib"]
path = includes/testlib path = includes/testlib
url = https://github.com/MikeMirzayanov/testlib.git 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",

86
.vscode/settings.json vendored
View File

@ -1,95 +1,11 @@
{ {
"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",

1
includes/ac-library Submodule

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