Skip to content

Instantly share code, notes, and snippets.

@fumblehool
Created January 19, 2021 17:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save fumblehool/e0f3ab43acf8f19ebb38ddaeb873c348 to your computer and use it in GitHub Desktop.
Save fumblehool/e0f3ab43acf8f19ebb38ddaeb873c348 to your computer and use it in GitHub Desktop.
{
"C++ Snippet": {
"prefix": "cc",
"body": [
"#include <bits/stdc++.h> ",
"#include <iostream>",
"#include <algorithm>",
" ",
"using namespace std;",
" ",
"typedef long long ll;",
" ",
"",
"int main()",
"{",
" #ifndef ONLINE_JUDGE",
" freopen(\"input.txt\", \"r\", stdin);",
" freopen(\"output.txt\", \"w\", stdout);",
" #endif",
" ll tc;",
" cin >> tc;",
" while(tc--) {",
" //Do something,
" }",
" return 0;",
"}"
],
"description": "C++ Snippet"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment