-
Notifications
You must be signed in to change notification settings - Fork 2
/
main.cpp
63 lines (55 loc) · 1.83 KB
/
main.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
#include <iostream>
#include <iomanip>
#include <string>
#include <cstdio>
#include <cmath>
#include <cstring>
#include <algorithm>
#include <vector>
#include <queue>
#include <deque>
#include <list>
#include <map>
#include <unordered_map>
#include <unordered_set>
#include <set>
#include <bitset>
#include <fstream>
#include <ctime>
#include <stack>
#include <regex>
typedef long long ll;
typedef unsigned long long ull;
#define pi pair<int,int>
#define lowbit(x) (x)&(-(x))
#define mp make_pair
#define irange(i, arr) for(auto&i:arr)
#define range(i, a, b) for(auto i=a;i<=b;++i)
#define itrange(i, a, b) for(auto i=a;i!=b;++i)
#define rerange(i, a, b) for(auto i=a;i>=b;--i)
#define IOS ios::sync_with_stdio(false), cin.tie(0)
#define fill(arr, tmp) memset(arr,tmp,sizeof(arr))
using namespace std;
/**
* insert "__TMPM__" then use `tmpm` command to replace it with algorithm~
*
* if you want to add algorithm to template, you should insert "__TMPM_START__"
* before your algorithm, and insert "__TMPM_END__" after your algorithm, then
* use `tmpm -c <category> <algorithm>` to create `template/<category>.md` and
* insert <algorithm> to `template/<category>.md` or use `tmpm -a <category>
* <algorithm>` to just insert <algorithm> to `template/<category>.md`
*/
/// end_defines
/// here to write const value like: `const int mod = 1e9+7`
/// __TMPM__
/// here to write data structure
void init() { /// here to write init function
}
void solve() { /// here to write main algorithm
}
int main(int argc, char**args) {
IOS;
init();
solve();
return 0;
}