网站关闭之歌

xfx你听我说
今天我来说说你
这个网站是你制作的
求求你把网站关闭

孩子不上课
大人不干活
整天到晚敲着个键盘
嘴里就笑呵呵

叫一声飞侠哥
今天我来编首歌
这个网站是你家的
求求你把网站关闭

孩子网上没事干啊
敲着键盘来刷题
整天到晚看着个代码
两个眼睛都盯破

1 条评论

  • @ 2025-3-12 17:28:03

    不破坏下面脚本的运行情况下给下面脚本新增配置Vscode的用户的setting.json和用户的cpp.json(c++的用户代码片段)的脚本用于快捷配置,如果无法解决注释的问题可以脚本换成python的,我版本是Python 3.8.6

    脚本 echo %PATH% | findstr /I /C:"%MINGW_BIN%" > nul if %errorlevel% equ 0 (echo MinGW-w64 bin目录已在 PATH 中,无需重复添加.) else (setx PATH "%PATH%;%MINGW_BIN%" /M echo MinGW-w64 bin 目录已添加到PATH )

    setting.json { "files.autoSave": "afterDelay", //文件自动保存 "files.autoGuessEncoding": true, "editor.cursorBlinking": "smooth",//控制光标样式,这个是 '|' 闪烁 "editor.mouseWheelZoom": true, //鼠标滚轮控制字体大小 "editor.wordWrap": "on", //代码超过编译器范围自动折行

    "workbench.list.smoothScrolling": true, //控制列表和树的平滑滚动效果
    // "editor.cursorSmoothCaretAnimation": "on", //丝滑的光标移动和代码弹出,但太丝滑
    "editor.smoothScrolling": true, //上下滚动补帧,更平滑
    "editor.bracketPairColorization.enabled": true,
    
    "editor.suggestSelection": "recentlyUsed", 
    //代码提示时优先第一个选择上一次用过的,比如q.push,下次打出q.的时候第一个候选是push
    
    // "editor.formatOnPaste": true,
    // //控制编辑器是否自动格式化粘贴的内容。格式化程序必须可用,并且能针对文档中的某一范围进行格式化
    // "editor.formatOnType": true,
    // //控制编辑器在键入一行后是否自动格式化该行。
    // "editor.formatOnSave": true,
    // //在保存时格式化文件。格式化程序必须可用,延迟后文件不能保存,并且编辑器不能关闭。
    

    "cph.language.cpp.Args": "-Wmaybe-uninitialized -std=c++14 -O2", // -O2优化 "cph.language.cpp.SubmissionCompiler": "GNU G++23 14.2 (64 bit, msys2)", //比较高的g++标准 "c-cpp-compile-run.cpp-flags": "-Wmaybe-uninitialized -std=c++17 -O2", //同上 "c-cpp-compile-run.run-in-external-terminal": true, //运行终端时弹出窗口 }

    cpp.json { "c++ older代码片段": { "prefix": "`q", "body": [ "#include <bits/stdc++.h>", "#define int long long // 仅在需要大整数时使用,memset 数组为 0x3f 时去掉", "#define INF 0x3f3f3f3f", "#define PII pair<int, int>", "#define ULL unsigned long long", "#define PIII tuple<int, int, int>", "#define all(v) v.begin(), v.end()", "#define debug(a) cout << #a << " = " << a << endl;", "using namespace std;", "constexpr int N = 1 * 1e6 + 10, M = 5 * 1e3 + 10;", "", "", "void solve() {", " $0", "}", "", "signed main() {", " ios::sync_with_stdio(0); cin.tie(nullptr), cout.tie(nullptr);", " int _ = 1;", " // cin >> ;", " while (--) {", " solve();", " }", " return 0;", "}", "", "/**", " * author: Nijika_jia", " * description: C++17 Algorithm Template for Competitive Programming", " */" ], "description": "" } }

    • 1