-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtemplate.cpp
More file actions
50 lines (44 loc) · 1.44 KB
/
template.cpp
File metadata and controls
50 lines (44 loc) · 1.44 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
48
49
50
#include <bits/stdc++.h>
using namespace std;
#define all(x) (x).begin(), (x).end()
#define umap unordered_map
#define pb push_back
#define nline "\n"
#define rep(i, a, b) for(int i = a; i < b; ++i)
#define fun(ret, ...) std::function<ret(__VA_ARGS__)>
#define int long long
#ifdef WOOF_
#include <bits/debug.h>
#else
#define dbg(...) 25
#endif
mt19937_64 RNG(chrono::steady_clock::now().time_since_epoch().count());
int rand(int l, int r) { return uniform_int_distribution<int>(l, r)(RNG); }
void apv(int a = 1, int c = 1) {
cout << (a == -1 ? "-1" : a ? (c ? "YES" : "Yes") : (c ? "NO" : "No")) << '\n';
}
void USACO(const string& file) {
freopen((file + ".in").c_str(), "r", stdin), freopen((file + ".out").c_str(), "w", stdout);
}
void chmin(int &a, int b) { a = min(a, b); }
void chmax(int &a, int b) { a = max(a, b); }
const int mod = 1000000007; // 998244353;
const int N = 1000006, maxN = 3005, inf = 1e9+5;
int a[N], pre[N];
void solve() {
}
int32_t main() {
auto start = std::chrono::high_resolution_clock::now();
ios_base::sync_with_stdio(0); cin.tie(0);
// USACO("code");
int tc = 1;
// cin >> tc;
for(int i = 1; i <= tc; ++i) {
// cerr << "\nCase #" << i << " :\n";
solve();
}
auto end = std::chrono::high_resolution_clock::now();
std::chrono::duration<long double> elapsed = end - start;
cerr << "Time measured: " << fixed << setprecision(7) << elapsed.count() << " sec";
return 0;
}