-
Notifications
You must be signed in to change notification settings - Fork 14
/
Copy pathtemplate.cpp
37 lines (33 loc) · 885 Bytes
/
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
#include <bits/stdc++.h>
using namespace std;
typedef vector<int> vi;
typedef vector<vi> vvi;
typedef pair<int,int> ii;
#define sz(a) int((a).size())
#define PB push_back
#define MP make_pair
#define F first
#define S second
#define all(c) (c).begin(),(c).end()
#define REP(i,a,b) for (int i = a; i < b; ++i)
#define REP2(i,a,b) for (int i = a; i <= b; ++i)
#define tr(c,i) for(decltype((c).begin()) i = (c).begin(); i != (c).end(); i++)
#define present(c,x) ((c).find(x) != (c).end())
#define cpresent(c,x) (find(all(c),x) != (c).end())
#define fill(a, v) memset(a, v, sizeof a)
typedef long long ll;
ll modpow(ll x, ll n, ll m)
{
if (n == 0) return 1 % m;
ll u = modpow(x, n/2, m);
u = (u * u) % m;
if (n % 2 == 1) u = (u * x) % m;
return u;
}
int main()
{
ios_base::sync_with_stdio(false);
cin.tie(0);
// start code here
return 0;
}