update:提交2023年408数据结构算法题代码

This commit is contained in:
xusun000
2023-02-27 18:31:21 +08:00
parent 6d234833a0
commit e00a3e7feb
7 changed files with 100 additions and 85 deletions

View File

@@ -1,14 +0,0 @@
{
"configurations": [
{
"cStandard": "c18",
"compilerPath": "C:\\Program Files\\mingw64\\mingw64\\bin\\gcc.exe",
"includePath": [
"${workspaceFolder}/**"
],
"intelliSenseMode": "windows-gcc-x64",
"name": "Win32"
}
],
"version": 4
}

41
.vscode/launch.json vendored
View File

@@ -1,26 +1,21 @@
{
"configurations": [
{
"MIMode": "gdb",
"args": [],
"cwd": "${fileDirname}",
"environment": [],
"externalConsole": false,
"internalConsoleOptions": "neverOpen",
"miDebuggerPath": "C:\\Program Files\\mingw64\\mingw64\\bin\\gdb.exe",
"name": "gcc single file debug",
"preLaunchTask": "gcc single file build",
"program": "${fileDirname}\\${fileBasenameNoExtension}.exe",
"request": "launch",
"setupCommands": [
// 使用 IntelliSense 了解相关属性。
// 悬停以查看现有属性的描述。
// 欲了解更多信息,请访问: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"ignoreFailures": true,
"text": "-enable-pretty-printing"
"name": "(lldb) 启动",
"preLaunchTask": "C/C++: clang++ 生成活动文件",//调试前执行的任务就是之前配置的tasks.json中的label字段
"type": "cppdbg",
"request": "launch",
"program": "${workspaceFolder}/.out/${fileBasenameNoExtension}.out",
"args": [],
"stopAtEntry": false,
"cwd": "${fileDirname}",
"environment": [],
"externalConsole": false,
"MIMode": "lldb"
}
],
"stopAtEntry": false,
"type": "cppdbg"
}
],
"version": "0.2.0"
}
]
}

View File

@@ -0,0 +1,2 @@
{
}

66
.vscode/tasks.json vendored
View File

@@ -1,41 +1,29 @@
{
"options": {
"env": {
"Path": "C:\\Program Files\\mingw64\\mingw64\\bin;${env:Path}"
},
"shell": {
"args": [
"/C"
],
"executable": "C:\\Windows\\System32\\cmd.exe"
}
},
"tasks": [
{
"args": [
"-std=c18",
"-g",
"${file}",
"-o",
"${fileDirname}\\${fileBasenameNoExtension}.exe"
],
"command": "C:\\Program Files\\mingw64\\mingw64\\bin\\gcc.exe",
"group": {
"isDefault": true,
"kind": "build"
},
"label": "gcc single file build",
"presentation": {
"clear": true,
"echo": false,
"focus": false,
"panel": "shared",
"reveal": "silent",
"showReuseMessage": false
},
"problemMatcher": "$gcc",
"type": "process"
}
],
"version": "2.0.0"
"tasks": [
{
"type": "cppbuild",
"label": "C/C++: clang++ 生成活动文件",
"command": "/usr/bin/clang++",
"args": [
"-fcolor-diagnostics",
"-fansi-escape-codes",
"-g",
"${file}",
"-o",
"${workspaceFolder}/.out/${fileBasenameNoExtension}.out"
],
"options": {
"cwd": "${fileDirname}"
},
"problemMatcher": [
"$gcc"
],
"group": {
"kind": "build",
"isDefault": true
},
"detail": "调试器生成的任务。"
}
],
"version": "2.0.0"
}