Created
November 30, 2019 09:02
-
-
Save gbougakov/ca67b57e10a5a513c3f7da5785a26cc4 to your computer and use it in GitHub Desktop.
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
Show hidden characters
{ | |
"For loop from 0 to var": { | |
"prefix": ["forn"], | |
"body": [ | |
"for (int i = 0; i < ${1:var}; i++)", | |
"{", | |
" $0", | |
"}" | |
] | |
}, | |
"Boilerplate": { | |
"prefix": ["boiler"], | |
"body": ["#include <iostream>", "using namespace std;", "", "int main()", "{", " $0", "}"] | |
}, | |
"Create variable and read stdin": { | |
"prefix": ["stdint"], | |
"body": ["int ${1:n};", "cin >> ${1:n};"] | |
}, | |
"Sort vector": { | |
"prefix": ["sortv"], | |
"body": ["sort(${1:v}.begin(), ${1:v}.end());"] | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment