-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathCF_template.cpp
56 lines (42 loc) · 1.4 KB
/
CF_template.cpp
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
#include<bits/stdc++.h>
using namespace std;
// #include <ext/pb_ds/assoc_container.hpp> // Common file
// #include <ext/pb_ds/tree_policy.hpp> // Including tree_order_statistics_node_update
// #include <ext/pb_ds/detail/standard_policies.hpp>
// using namespace __gnu_pbds;
// typedef tree<pair<int,int>,null_type,less<pair<int,int>>,rb_tree_tag,
// tree_order_statistics_node_update> ordered_set;
typedef long long ll;
#define all(a) a.begin(), a.end()
#define pb push_back
#define ff first
#define ss second
#define inf (1000000000)
#define infl (1000000000000000000LL)
#define MAX 200007
#define MOD 1000000007
#define eps 1e-6
#define FIN freopen("input.txt","r",stdin);
#define FOUT freopen("output.txt","w",stdout);
#define SET(a) memset((a), -1, sizeof(a))
#define CLR(a) memset((a), 0, sizeof(a))
#define dbg(x) cout << #x << " = " << x << endl
//pos is 0 based
inline bool checkBit(ll mask, int pos) { return (bool)(mask & (1ll << pos));}
inline ll setBit(ll mask, int pos) { return (mask | (1ll << pos));}
inline ll resetBit(ll mask, int pos) { return (mask & ~(1ll << pos));}
inline ll toggleBit(ll mask, int pos) { return (mask ^ (1ll << pos));}
void solve()
{
}
int main()
{
ios_base::sync_with_stdio(0);
cin.tie(0);
int tc;
cin>>tc;
while(tc--)
{
solve();
}
}