-
Notifications
You must be signed in to change notification settings - Fork 0
/
Template.cpp
103 lines (72 loc) · 2.59 KB
/
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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
//#include <ext/pb_ds/assoc_container.hpp>
//#include <ext/pb_ds/tree_policy.hpp>
#include<bits/stdc++.h>
//using namespace __gnu_pbds;
using namespace std;
/*** Typedef ***/
typedef long long ll;
typedef unsigned long long ull;
/*** STLs ***/
typedef set <ll> sll;
typedef set <int> sii;
typedef queue <ll> qll;
typedef stack <ll> stll;
typedef vector <ll> vll;
typedef vector <int> vii;
typedef map <ll, ll> mll;
typedef map <int, int> mii;
typedef pair <ll, ll> pll;
typedef multiset <ll> msll;
typedef pair <int, int> pii;
typedef priority_queue<ll> pql;
typedef vector <pair <ll , ll> > vpll;
typedef vector <pair <int , int> > vpii;
typedef priority_queue<ll,vector<ll>,greater<ll> > npql;
/*** Values ***/
const int N = 100005;
const int MOD = 1000000007;
const int inf = 1234567890;
const ll INF = 1122334455667788990;
/*** Define Values ***/
#define F first
#define S second
#define re return
#define MP make_pair
#define pb push_back
#define SZ(x) ((ll) (x).size())
#define EPS 10E-10
#define iseq(a,b) (fabs(a-b)<EPS)
#define PI 3.141592653589793238462643
#define HAR 0.57721566490153286060651209
#define Ceil(a,b) (a+b-1)/b
#define gcd(a, b) __gcd(a,b)
#define lcm(a, b) ((a)/gcd(a,b))*(b)
#define input freopen("input.txt","rt", stdin)
#define output freopen("output.txt","wt", stdout)
#define all(v) v.begin(),v.end()
#define en cout << '\n';
#define no cout << "NO" << '\n'
#define yes cout << "YES" << '\n'
#define memz(u) memset(u, 0, sizeof u)
#define memn(u) memset(u, -1, sizeof u)
#define ps(x,y) fixed<<setprecision(y)<<x
#define foR0(num) for(ll i = 0; i < num; i++)
#define foR1(num) for(ll i = 1; i <= num; i++)
#define rep(i, x, n) for (ll i = x, _n = (n); i < _n; ++i)
#define forIn(arr, num) for(ll i = 0; i < num; i++) cin>>arr[i];
#define forIn1(arr, num) for(ll i = 1; i <= num; i++) cin>>arr[i];
#define Unique(X) (X).resize(unique(all(X))-(X).begin())
#define IOS ios_base::sync_with_stdio(false); cin.tie(NULL);
#define prnt(arr,x,num) for(ll i=x; i<num;i++)cout<<arr[i]<<(i + 1 < num ? ' ' : '\n');
//__uint128_t
int main()
{
IOS;
ll tst=1;
//cin>>tst;
for(ll tt=1; tt<=tst; tt++)
{
//code
}
return 0;
}