互关
一般不会取关,想要壶关必须私信提醒我和你达到的要求,并使用如:“求壶关”、“你好”等文明问候语。
Link
模板
-std=c++14 -static -g (-O2)
#include <bits/stdc++.h>
using namespace std;
typedef long long ll;
typedef long double ld;
#define freop(s) freopen(s".in","r",stdin);freopen(s".out","w",stdout);
#define endl '\n'
#define inf 0x7f7f7f7f
#define lb(x) ((x)&-(x))
#define pii pair<int,int>
#define fir first
#define sec second
#define mkp make_pair
int main(){
cin.tie(0)->ios::sync_with_stdio(false);
cout.tie(0);
// freop();
//↑以上为初始化↑
//------------------------------
return 0;
}.vscode
c_cpp_properties.json
{
"configurations": [
{
"name": "Win64",
"includePath": [
""
],
"defines": [
"_DEBUG",
"UNICODE",
"_UNICODE"
],
"windowsSdkVersion": "10.0.18362.0",
"compilerPath": "D:\\mingw64\\bin\\g++.exe",
"cStandard": "c23",
"cppStandard": "c++20",
"intelliSenseMode": "gcc-x64"
}
],
"version": 4
}launch.json
{
"version": "0.2.0",
"configurations": [
{
"name": "(gdb) Launch",
"type": "cppdbg",
"request": "launch",
"program": "${fileDirname}\\${fileBasenameNoExtension}.exe",
"args": [],
"stopAtEntry": false,
"cwd": "${workspaceFolder}",
"environment": [],
"externalConsole": false,
"MIMode": "gdb",
"miDebuggerPath": "D:\\mingw64\\bin\\gdb.exe",
"preLaunchTask": "g++",
"setupCommands": [
{
"description": "Enable pretty-printing for gdb",
"text": "-enable-pretty-printing",
"ignoreFailures": true
}
]
}
]
}tasks.json
{
"version": "2.0.0",
"tasks": [
{
"type": "process",
"label": "g++",
"command": "D:\\mingw64\\bin\\g++.exe",
"args": [
"-fdiagnostics-color=always",
"-g",
"${file}",
"-o",
"${fileDirname}\\${fileBasenameNoExtension}.exe"
],
"options": {
"cwd": "${fileDirname}"
},
"problemMatcher": [
"$gcc"
],
"group": {
"kind": "build",
"isDefault": false
},
"detail": "Compiler: D:\\mingw64\\bin\\g++.exe"
},
{
"type": "cppbuild",
"label": "C/C++: g++.exe 生成活动文件",
"command": "D:\\mingw64\\bin\\g++.exe",
"args": [
"-fdiagnostics-color=always",
"-g",
"${file}",
"-o",
"${fileDirname}\\${fileBasenameNoExtension}.exe"
],
"options": {
"cwd": "${fileDirname}"
},
"problemMatcher": [
"$gcc"
],
"group": {
"kind": "build",
"isDefault": true
},
"detail": "调试器生成的任务。"
}
]
}setting.json
{
"editor.fontSize": 20,
"background.fullscreen": {
"images": ["https://cdn.luogu.com.cn/upload/image_hosting/nzvl76km.png"],
"opacity": 0.2,
"size": "cover",
"position": "center",
"interval": 0,
"random": false
},
"debug.onTaskErrors": "debugAnyway",
"terminal.integrated.enableMultiLinePasteWarning": "never",
"github.copilot.enable": {
"*": false,
"plaintext": false,
"markdown": false,
"scminput": false
},
"explorer.confirmDragAndDrop": false,
"editor.tabCompletion": "on",
"editor.acceptSuggestionOnCommitCharacter": false,
"editor.acceptSuggestionOnEnter": "off",
"editor.inlineSuggest.edits.allowCodeShifting": "horizontal",
"chat.tools.terminal.autoApprove": {
"&": true,
"g++": true,
".\\test_bug.exe": true,
"/^cd \"f:\\\\C - C\\+\\+\" ; Get-Content test_input\\.txt \\| \\.\\\\P4027\\.exe$/": {
"approve": true,
"matchCommandLine": true
},
"/^cd \"f:\\\\C - C\\+\\+\" ; D:\\\\mingw64\\\\bin\\\\g\\+\\+\\.exe -O0 -g \"P4027_debug2\\.cpp\" -std=c\\+\\+20 -lm -o \"P4027_debug2\\.exe\" 2>&1 ; Get-Content test_input\\.txt \\| \\.\\\\P4027_debug2\\.exe 2>&1 \\| Select-Object -First 150$/": {
"approve": true,
"matchCommandLine": true
},
"/^where\\.exe python$/": true,
"/^where\\.exe python3$/": true,
"/^where\\.exe py$/": true,
"/^Get-Command python -ErrorAction SilentlyContinue$/": true,
"/^Get-Command python3 -ErrorAction SilentlyContinue$/": true
},
"editor.inlineSuggest.edits.showLongDistanceHint": false,
"editor.inlineSuggest.experimental.emptyResponseInformation": false,
"editor.quickSuggestions": {
"other": "off"
},
"editor.snippetSuggestions": "top",
"editor.suggest.insertMode": "replace",
"emmet.showSuggestionsAsSnippets": true,
"editor.inlineSuggest.edits.showCollapsed": true,
"editor.suggest.localityBonus": true,
"editor.suggest.showFunctions": false,
"editor.suggest.showOperators": false,
"editor.suggest.showValues": false,
"editor.suggest.showVariables": false,
"editor.suggest.showClasses": false,
"editor.suggest.showConstants": false,
"editor.suggest.showConstructors": false,
"editor.suggest.showEnums": false,
"editor.suggest.showTypeParameters": false,
"security.workspace.trust.untrustedFiles": "open",
"diffEditor.maxComputationTime": 0,
"editor.suggest.showDeprecated": false,
"editor.suggest.showEnumMembers": false,
"editor.suggest.showCustomcolors": false,
"editor.suggest.showColors": false,
"editor.suggest.showEvents": false,
"editor.suggest.showFields": false,
"editor.suggest.showFiles": false,
"editor.suggest.showFolders": false,
"editor.suggest.showIcons": false,
"editor.suggest.showInlineDetails": false,
"editor.suggest.showInterfaces": false,
"editor.suggest.showIssues": false,
"editor.suggest.showKeywords": false,
"editor.suggest.showMethods": false,
"editor.suggest.showModules": false,
"editor.suggest.showProperties": false,
"editor.suggest.showReferences": false,
"editor.suggest.showStructs": false,
"editor.suggest.showUnits": false,
"editor.suggest.showWords": false,
"editor.quickSuggestionsDelay": 1000,
"workbench.colorTheme": "Tokyo Night",
"chat.tips.enabled": false,
"chat.tools.urls.autoApprove": {
"https://code.visualstudio.com": true,
"https://github.com/microsoft/vscode/wiki/*": true,
"https://www.luogu.com.cn": true
},
"viraTheme.accent": "Cyan",
"editor.suggest.showUsers": false,
"editor.inlineSuggest.enabled": false,
"cph-ng.languages.cppCompilerArgs": "-O2 -std=c++14 -Wall -DCPH -Wl,--stack=114514191981",
"cph-ng.sidebar.showOobe": false,
"workbench.iconTheme": "vira-icons-clay",
"editor.tokenColorCustomizations": {},
"editor.suggestOnTriggerCharacters": false,
"git.suggestSmartCommit": false,
"terminal.integrated.profiles.windows": {
"PowerShell": {
"source": "PowerShell",
"icon": "terminal-powershell"
},
"Command Prompt": {
"path": [
"${env:windir} \\Sysnative\\cmd.exe",
"${env:windir} \\System32\\cmd.exe"
],
"args": [],
"icon": "terminal-cmd"
},
"Git-Bash": {
"path":"C:\\Program Files\\Git\\git-bush.exe",
"args":[]
}
},
"git.enabled": false,
"network.meteredConnection": "off",
"chat.viewSessions.orientation": "stacked",
"workbench.startupEditor": "none",
"background.enabled": true
}基础信息
男;初三;
小学: 东山实验小学;
初中: 广州市铁一中学;
娱乐
活跃:
oicalss: 2023tyoi0420
kards:elon_giao#4322
discord: giao
已退游:
武神传说1:三区 神威无敌炮
hoyolab: giao
genshin: giao(uid:857543411)(亚服)
ZZZ: giao(uid:1303181973)(亚服)