Created
July 4, 2023 00:51
-
-
Save luoboQAQ/f4ff5507766cd4a0e1c00a3e1b53d48a to your computer and use it in GitHub Desktop.
snippets
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"CPP-default":{ | |
"prefix":"d1", | |
"body": [ | |
"#include <iostream>\n", | |
"int main()", | |
"{", | |
"\t$0\n", | |
"\tsystem(\"pause\");", | |
"\treturn 0;", | |
"}" | |
], | |
"description": "快速创建默认的C++模板" | |
}, | |
"C2CPP":{ | |
"prefix":"c2cpp", | |
"body": [ | |
"#include <cstdio>\n", | |
"int main()", | |
"{", | |
"\t$0", | |
//"\tsystem(\"pause\");", | |
"\treturn 0;", | |
"}" | |
], | |
"description": "在C++环境下进行C程序编写" | |
}, | |
"ACM":{ | |
"prefix":"c1", | |
"body": [ | |
"#include <iostream>", | |
"#include <vector>", | |
"#include <string>", | |
"#include <algorithm>", | |
"#include <set>", | |
"#include <sstream>", | |
"#include <map>", | |
"using namespace std;\n", | |
"int main()", | |
"{", | |
"\t$0", | |
"\treturn 0;", | |
"}" | |
], | |
"description": "快速创建ACM模板" | |
}, | |
"pause":{ | |
"prefix": "pau", | |
"body": "system(\"pause\");", | |
"description": "快速输入暂停" | |
}, | |
"letcode":{ | |
"prefix": "letc", | |
"body": [ | |
"#include <iostream>", | |
"#include <vector>", | |
"#include <string>", | |
"#include <algorithm>", | |
"#include <set>", | |
"#include <sstream>", | |
"#include <map>", | |
"using namespace std;\n", | |
"$0\n", | |
"int main()", | |
"{", | |
"\tSolution solution;", | |
"\t", | |
"\tsystem(\"pause\");", | |
"\treturn 0;", | |
"}" | |
], | |
"description": "快速创建LetCode模板" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment