Step1 解控
Step1.1 下载
Link【密码:7hkb】
Step1.2 使用
如图所示,呼出窗口后,选择【取消永远最上】,设置宽为【1920】、高为【1040】,然后隐藏到托盘。
控屏后,Alt+S 然后 Alt+N 即可。
Step2 解放 Windows 键
右键 Windows 菜单,点击【运行 (R)】。输入 regedit 然后回车。
接下来依次选择 HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Keyboard Layout 文件夹。
红圈位置会有一个多出的文件,删掉。
然后注销电脑即可。
Step3 释放内存
在 Windows 菜单中搜索【控制面板】,回车。
然后选择【程序 > 卸载程序】。
删掉没用的软件即可。
回到桌面,进入 Oracle VM VirtualBox,删掉 NOI Linux 虚拟机即可。
Step4 配置环境
Step4.1 Visual Studio Code
下载:link
一路确定安装到 C 盘即可。注意过程中要勾选【创建桌面快捷方式】。
- C/C++
- Chinese (Simplified) (简体中文) Language Pack for Visual Studio Code
- Code Runner
- Competitive Programming Helper (cph)
- Error Lens
- Markdown All in One
- Markdown PDF
- Microsoft Edge Tools for VS Code
- One Dark Pro
- vscode-pdf
- Zip & Archive Viewer
- GCC 【选择 Release versions 中标有 LATEST 的 win64 版本的 zip 包】
安装拓展(C++ 和中文请手动)
$newPaths = @("C:\mingw64\bin", "C:\Microsoft VS Code\bin")
$currentPath = [Environment]::GetEnvironmentVariable("Path", "Machine")
foreach ($p in $newPaths) {
if (($currentPath -split ';' | Where-Object { $_.TrimEnd('\') -ieq $p.TrimEnd('\') }) -eq $null) {
$currentPath += ";$p"
}
}
[Environment]::SetEnvironmentVariable("Path", $currentPath, "Machine")
$env:Path = [Environment]::GetEnvironmentVariable("Path", "Machine")
$plugins = @(
"formulahendry.code-runner",
"DivyanshuAgrawal.competitive-programming-helper",
"usernamehw.errorlens",
"yzhang.markdown-all-in-one",
"yzane.markdown-pdf",
"ms-edgedevtools.vscode-edge-devtools",
"zhuangtongfa.material-theme",
"tomoki1207.vscode-pdf",
"Takeshi-Fuchi.zip-viewer-fuchi",
"vscode-icons-team.vscode-icons"
); foreach ($p in $plugins) { code --install-extension $p --force }$newPaths = @("D:\mingw64\bin", "D:\Microsoft VS Code\bin")
$currentPath = [Environment]::GetEnvironmentVariable("Path", "Machine")
foreach ($p in $newPaths) {
if (($currentPath -split ';' | Where-Object { $_.TrimEnd('\') -ieq $p.TrimEnd('\') }) -eq $null) {
$currentPath += ";$p"
}
}
[Environment]::SetEnvironmentVariable("Path", $currentPath, "Machine")
$env:Path = [Environment]::GetEnvironmentVariable("Path", "Machine")
$plugins = @(
"formulahendry.code-runner",
"DivyanshuAgrawal.competitive-programming-helper",
"usernamehw.errorlens",
"yzhang.markdown-all-in-one",
"yzane.markdown-pdf",
"ms-edgedevtools.vscode-edge-devtools",
"zhuangtongfa.material-theme",
"tomoki1207.vscode-pdf",
"Takeshi-Fuchi.zip-viewer-fuchi",
"vscode-icons-team.vscode-icons"
); foreach ($p in $plugins) { code --install-extension $p --force }setting.json(Ctrl+Shift+P Open User Settings (JSON))
{
"workbench.startupEditor": "none",
"editor.mouseWheelZoom": true,
"workbench.editor.empty.hint": "hidden",
"C_Cpp.default.compilerPath": "C:/mingw64/bin/g++.exe",
"debug.onTaskErrors": "debugAnyway",
"explorer.confirmDelete": false,
"workbench.colorTheme": "One Dark Pro",
"code-runner.executorMap": {
"cpp": "g++ $fileName -o $fileNameWithoutExt -std=c++14 -O2 -static && .\\$fileNameWithoutExt"
},
"code-runner.saveFileBeforeRun": true,
"code-runner.fileDirectoryAsCwd": true,
"code-runner.ignoreSelection": true,
"code-runner.runInTerminal": true,
"cph.language.cpp.Args": "-std=c++14 -O2 -static",
"cph.general.autoShowJudge": false,
"zipViewer.previewLineCount": 1000,
"workbench.editorAssociations": {
"*.md": "default",
"*.html": "workbench.editor.browser",
"*.zip": "zipViewer.viewer"
},
"markdown-pdf.executablePath": "C:\\Program Files (x86)\\Microsoft\\Edge\\Application\\msedge.exe",
"markdown-pdf.displayHeaderFooter": false,
"cph.general.useShortAtCoderName": true,
"cph.general.useShortCodeForcesName": true,
"cph.general.useShortLuoguName": true,
"cph.general.timeOut": 1000
"workbench.iconTheme": "vscode-icons"
}{
"terminal.integrated.enableMultiLinePasteWarning": "never",
"workbench.startupEditor": "none",
"editor.mouseWheelZoom": true,
"workbench.editor.empty.hint": "hidden",
"C_Cpp.default.compilerPath": "D:/mingw64/bin/g++.exe",
"debug.onTaskErrors": "debugAnyway",
"explorer.confirmDelete": false,
"workbench.colorTheme": "One Dark Pro",
"code-runner.executorMap": {
"cpp": "g++ $fileName -o $fileNameWithoutExt -std=c++14 -O2 -static && .\\$fileNameWithoutExt"
},
"code-runner.saveFileBeforeRun": true,
"code-runner.fileDirectoryAsCwd": true,
"code-runner.ignoreSelection": true,
"code-runner.runInTerminal": true,
"cph.language.cpp.Args": "-std=c++14 -O2 -static",
"cph.general.autoShowJudge": false,
"zipViewer.previewLineCount": 1000,
"workbench.editorAssociations": {
"*.md": "default",
"*.html": "workbench.editor.browser",
"*.zip": "zipViewer.viewer"
},
"markdown-pdf.executablePath": "D:\\Microsoft\\Edge\\Application\\msedge.exe",
"markdown-pdf.displayHeaderFooter": false,
"cph.general.useShortAtCoderName": true,
"cph.general.useShortCodeForcesName": true,
"cph.general.useShortLuoguName": true,
"cph.general.timeOut": 1000,
"workbench.iconTheme": "vscode-icons"
}



