-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcf_template.cpp
More file actions
47 lines (42 loc) · 1.07 KB
/
cf_template.cpp
File metadata and controls
47 lines (42 loc) · 1.07 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
<snippet>
<content><![CDATA[
#include <bits/stdc++.h>
using namespace std;
using ld = long double;
const ld PI = acos((ld) - 1);
using ull = unsigned long long;
#define endl '\n'
#define int long long
#define sz(x) (int)x.size()
#define all(x) (x).begin(),(x).end()
#define prec(x) fixed<<setprecision(x)
#define rall(x) (x).rbegin(),(x).rend()
#define testcase cout << "Case " << cs++ << ":"
//to_string(x) sqrtl() stol(s);
template <typename T>
using minHeap = priority_queue<T, vector<T>, greater<T>>;
#ifdef LOCAL
#include "debug.h"
#else
#define debug(...)
#endif
void solve() {
$0
}
signed main() {
ios_base::sync_with_stdio(false);
cin.tie(nullptr);
int t = 1;
cin >> t;
//cin.ignore();
while (t--) {
solve();
}
return 0;
}
]]></content>
<!-- Optional: Set a tabTrigger to define how to trigger the snippet -->
<tabTrigger>#cf</tabTrigger>
<!-- Optional: Set a scope to limit where the snippet will trigger -->
<scope>source.c++</scope>
</snippet>