{"id":298,"date":"2025-04-01T17:17:44","date_gmt":"2025-04-01T09:17:44","guid":{"rendered":"https:\/\/m.qzcy2.top\/?p=298"},"modified":"2025-04-01T17:21:54","modified_gmt":"2025-04-01T09:21:54","slug":"%e9%85%8d%e7%bd%ae%e7%8e%af%e5%a2%83%e8%84%9a%e6%9c%ac-setting-json-cpp-json","status":"publish","type":"post","link":"https:\/\/m.qzcy2.top\/index.php\/2025\/04\/01\/%e9%85%8d%e7%bd%ae%e7%8e%af%e5%a2%83%e8%84%9a%e6%9c%ac-setting-json-cpp-json\/","title":{"rendered":"\u914d\u7f6e\u73af\u5883\u811a\u672c + setting.json + cpp.json"},"content":{"rendered":"\n<h1 class=\"wp-block-heading\">\u811a\u672c<\/h1>\n\n\n\n<h2 class=\"wp-block-heading\">NJTC\u673a\u623f\u4e13\u7528<\/h2>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">setx PATH \"%PATH%;C:\\Program Files (x86)\\Dev-Cpp\\MinGW64\\bin\" \/M<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">\u901a\u7528(\u9ed8\u8ba4MinGW64\u5b89\u88c5\u5728C\u76d8)<\/h2>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">@echo off\nset \"MINGW_BIN=C:\\msys64\\mingw64\\bin\"\n\necho %PATH% | findstr \/I \/C:\"%MINGW_BIN%\" > nul\nif %errorlevel% equ 0 (echo MinGW-w64 bin\u76ee\u5f55\u5df2\u5728 PATH \u4e2d,\u65e0\u9700\u91cd\u590d\u6dfb\u52a0.)\nelse (setx PATH \"%PATH%;%MINGW_BIN%\" \/M\n    echo MinGW-w64 bin \u76ee\u5f55\u5df2\u6dfb\u52a0\u5230PATH\n)<\/pre>\n\n\n\n<h1 class=\"wp-block-heading\">setting.json<\/h1>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">    \"files.autoSave\": \"afterDelay\", \/\/\u6587\u4ef6\u81ea\u52a8\u4fdd\u5b58\n    \"files.autoGuessEncoding\": true, \n    \"editor.cursorBlinking\": \"smooth\",\/\/\u63a7\u5236\u5149\u6807\u6837\u5f0f,\u8fd9\u4e2a\u662f '|' \u95ea\u70c1\n    \"editor.mouseWheelZoom\": true, \/\/\u9f20\u6807\u6eda\u8f6e\u63a7\u5236\u5b57\u4f53\u5927\u5c0f\n    \"editor.wordWrap\": \"on\", \/\/\u4ee3\u7801\u8d85\u8fc7\u7f16\u8bd1\u5668\u8303\u56f4\u81ea\u52a8\u6298\u884c\n\n    \"workbench.list.smoothScrolling\": true, \/\/\u63a7\u5236\u5217\u8868\u548c\u6811\u7684\u5e73\u6ed1\u6eda\u52a8\u6548\u679c\n    \/\/ \"editor.cursorSmoothCaretAnimation\": \"on\", \/\/\u4e1d\u6ed1\u7684\u5149\u6807\u79fb\u52a8\u548c\u4ee3\u7801\u5f39\u51fa,\u4f46\u592a\u4e1d\u6ed1\n    \"editor.smoothScrolling\": true, \/\/\u4e0a\u4e0b\u6eda\u52a8\u8865\u5e27,\u66f4\u5e73\u6ed1\n    \"editor.bracketPairColorization.enabled\": true,\n\n    \"editor.suggestSelection\": \"recentlyUsed\", \n    \/\/\u4ee3\u7801\u63d0\u793a\u65f6\u4f18\u5148\u7b2c\u4e00\u4e2a\u9009\u62e9\u4e0a\u4e00\u6b21\u7528\u8fc7\u7684,\u6bd4\u5982q.push,\u4e0b\u6b21\u6253\u51faq.\u7684\u65f6\u5019\u7b2c\u4e00\u4e2a\u5019\u9009\u662fpush\n\n    \/\/ \"editor.formatOnPaste\": true,\n    \/\/ \/\/\u63a7\u5236\u7f16\u8f91\u5668\u662f\u5426\u81ea\u52a8\u683c\u5f0f\u5316\u7c98\u8d34\u7684\u5185\u5bb9\u3002\u683c\u5f0f\u5316\u7a0b\u5e8f\u5fc5\u987b\u53ef\u7528\uff0c\u5e76\u4e14\u80fd\u9488\u5bf9\u6587\u6863\u4e2d\u7684\u67d0\u4e00\u8303\u56f4\u8fdb\u884c\u683c\u5f0f\u5316\n    \/\/ \"editor.formatOnType\": true,\n    \/\/ \/\/\u63a7\u5236\u7f16\u8f91\u5668\u5728\u952e\u5165\u4e00\u884c\u540e\u662f\u5426\u81ea\u52a8\u683c\u5f0f\u5316\u8be5\u884c\u3002\n    \/\/ \"editor.formatOnSave\": true,\n    \/\/ \/\/\u5728\u4fdd\u5b58\u65f6\u683c\u5f0f\u5316\u6587\u4ef6\u3002\u683c\u5f0f\u5316\u7a0b\u5e8f\u5fc5\u987b\u53ef\u7528\uff0c\u5ef6\u8fdf\u540e\u6587\u4ef6\u4e0d\u80fd\u4fdd\u5b58\uff0c\u5e76\u4e14\u7f16\u8f91\u5668\u4e0d\u80fd\u5173\u95ed\u3002\n\n  \"cph.language.cpp.Args\": \"-Wmaybe-uninitialized -std=c++14 -O2\", \/\/ -O2\u4f18\u5316\n  \"cph.language.cpp.SubmissionCompiler\": \"GNU G++23 14.2 (64 bit, msys2)\", \/\/\u6bd4\u8f83\u9ad8\u7684g++\u6807\u51c6\n  \"c-cpp-compile-run.cpp-flags\": \"-Wmaybe-uninitialized -std=c++17 -O2\", \/\/\u540c\u4e0a\n  \"c-cpp-compile-run.run-in-external-terminal\": true, \/\/\u8fd0\u884c\u7ec8\u7aef\u65f6\u5f39\u51fa\u7a97\u53e3<\/pre>\n\n\n\n<h1 class=\"wp-block-heading\">\u4ee3\u7801\u7247\u6bb5<\/h1>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">    \"c++ older\u4ee3\u7801\u7247\u6bb5\": {\n        \"prefix\": \"`q\",\n        \"body\": [\n          \"#include &lt;bits\/stdc++.h>\",\n          \"#define int long long\",\n          \"#define INF 0x3f3f3f3f\",\n          \"#define PII pair&lt;int, int>\",\n          \"#define ULL unsigned long long\",\n          \"#define PIII tuple&lt;int, int, int>\",\n          \"#define all(v) v.begin(), v.end()\",\n          \"#define debug(a) cout &lt;&lt; #a &lt;&lt; \\\" = \\\" &lt;&lt; a &lt;&lt; endl;\",\n          \"using namespace std;\",\n          \"constexpr int N = 1 * 1e6 + 10, M = 5 * 1e3 + 10;\",\n          \"\",\n          \"\",\n          \"void solve() {\",\n          \"    $0\",\n          \"}\",\n          \"\",\n          \"signed main() {\",\n          \"    ios::sync_with_stdio(0); cin.tie(nullptr), cout.tie(nullptr);\",\n          \"    int _ = 1;\",\n          \"    \/\/ cin >> _;\",\n          \"    while (_--) {\",\n          \"        solve();\",\n          \"    }\",\n          \"    return 0;\",\n          \"}\",\n          \"\",\n          \"\/**\",\n          \" *    description: C++17 Algorithm Template for Competitive Programming\",\n          \" *\/\"\n        ],\n        \"description\": \"\"\n      }<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>\u811a\u672c NJTC\u673a\u623f\u4e13\u7528 \u901a\u7528(\u9ed8\u8ba4MinGW64\u5b89\u88c5\u5728C\u76d8) setting.json \u4ee3\u7801\u7247\u6bb5<\/p>\n","protected":false},"author":5,"featured_media":296,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"emotion":"","emotion_color":"","title_style":"font-weight:bold; background-color:#39C5BB; border-bottom:1px solid; padding: 5px 15px; border-left: 8px solid; margin:18px 0px 18px -20px; overflow: hidden;font-color: white;","license":"","footnotes":""},"categories":[1],"tags":[],"class_list":["post-298","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/m.qzcy2.top\/index.php\/wp-json\/wp\/v2\/posts\/298","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/m.qzcy2.top\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/m.qzcy2.top\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/m.qzcy2.top\/index.php\/wp-json\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/m.qzcy2.top\/index.php\/wp-json\/wp\/v2\/comments?post=298"}],"version-history":[{"count":1,"href":"https:\/\/m.qzcy2.top\/index.php\/wp-json\/wp\/v2\/posts\/298\/revisions"}],"predecessor-version":[{"id":299,"href":"https:\/\/m.qzcy2.top\/index.php\/wp-json\/wp\/v2\/posts\/298\/revisions\/299"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/m.qzcy2.top\/index.php\/wp-json\/wp\/v2\/media\/296"}],"wp:attachment":[{"href":"https:\/\/m.qzcy2.top\/index.php\/wp-json\/wp\/v2\/media?parent=298"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/m.qzcy2.top\/index.php\/wp-json\/wp\/v2\/categories?post=298"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/m.qzcy2.top\/index.php\/wp-json\/wp\/v2\/tags?post=298"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}