Repository navigation
Expand file tree
/
Copy pathtemplate.json.code-snippets
More file actions
67 lines (67 loc) · 1.74 KB
/
Copy pathtemplate.json.code-snippets
File metadata and controls
67 lines (67 loc) · 1.74 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
{
"C++ Snippet": {
"prefix": "lfg",
"body": [
"//#pragma GCC optimize(\"Ofast\")",
"//#pragma GCC target(\"sse,sse2,sse3,ssse3,sse4,popcnt,abm,mmx,avx,avx2,fma\")",
"//#pragma GCC optimize(\"unroll-loops\")",
"#include <bits/stdc++.h> ",
// "#include <complex>",
// "#include <queue>",
// "#include <set>",
// "#include <unordered_set>",
// "#include <list>",
// "#include <chrono>",
// "#include <random>",
// "#include <iostream>",
// "#include <algorithm>",
// "#include <cmath>",
// "#include <string>",
// "#include <vector>",
// "#include <map>",
// "#include <unordered_map>",
// "#include <stack>",
// "#include <iomanip>",
// "#include <fstream>",
"",
"using namespace std;",
"",
"typedef long long ll;",
"typedef long double ld;",
"typedef pair<int,int> pii;",
"typedef pair<ll,ll> pll;",
"typedef pair<double,double> pdd;",
"typedef vector<ll> vlong;",
"typedef vector<int> vint;",
"typedef vector<double> vdouble;",
"typedef vector<vector<int>> vvint;",
"typedef vector<vector<ll>> vvlong;",
"typedef vector<vector<double>> vvdouble;",
"ll MOD = 0;",
"#define INF 2e18",
"#define fast_cin() ios_base::sync_with_stdio(false); cin.tie(NULL); cout.tie(NULL)",
"#define all(x) (x).begin(), (x).end()",
"#define sz(x) ((ll)(x).size())",
"#define pb push_back",
"string ln = \"\\n\";",
"",
"",
"void solve()",
"{",
" ",
"}",
"int main()",
"{",
" fast_cin();",
" #ifndef ONLINE_JUDGE",
" freopen(\"../../data/input.txt\",\"r\", stdin);",
" freopen(\"../../data/output.txt\",\"w\", stdout);",
" #endif",
" ll t; cin >> t;",
" while(t--) solve();",
" return 0;",
"}"
],
"description": "C++ Snippet"
}
}