跳到正文

剪贴板

剪贴板 9j21r8gz

原文
剪贴板信息

剪贴板信息

收录
更新
代码
{
	"version": "2.0.0",
	"tasks": [
		{
			"type": "shell",
			"label": "C++ Compile & Run",
			"command": "g++ '${fileBasename}' -o ${fileBasenameNoExtension} -O2 -Wall && gnome-terminal -- bash -c 'ulimit -v 512000;ulimit -s 512000;time './${fileBasenameNoExtension}';read;'",
			"options": {
				"cwd": "${fileDirname}"
			},
			"problemMatcher": [
				"$gcc"
			],
			"group": "build",
		}
	]
}


{
	"version": "2.0.0",
	"tasks": [
		{
			"type": "shell",
			"label": "C++ Compile & Run",
			"command": "g++ ${fileBasename} -o ${fileBasenameNoExtension} -O2 -Wall '-Wl,--stack=2048000000' \n ./${fileBasenameNoExtension}.exe",
			"options": {
				"cwd": "${fileDirname}"
			},
			"problemMatcher": [],
			"group": {
				"kind": "build",
				"isDefault": true
			}
		}
	]
}