-
Notifications
You must be signed in to change notification settings - Fork 0
/
common.h
55 lines (52 loc) · 1.01 KB
/
common.h
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
#pragma once
#include <cstdint>
#include <cstddef>
#include <map>
#include <set>
#include <algorithm>
#include <stdexcept>
#include <optional>
#include <list>
#include <string>
#include <functional>
#include <iostream>
#include <vector>
#include <unordered_set>
#include <cmath>
#include <utility>
#include <memory>
#include <iomanip>
using std::size_t;
using std::int64_t;
using std::map;
using std::min;
using std::max;
using std::set;
using std::find_if;
using std::domain_error;
using std::swap;
using std::optional;
using std::nullopt;
using std::make_optional;
using std::list;
using std::string;
using std::invalid_argument;
using std::copy_if;
using std::back_inserter;
using std::function;
using std::stoll;
using std::copy_n;
using std::printf;
using std::cout;
using std::endl;
using std::vector;
using std::unordered_set;
using std::sqrt;
using std::pair;
using std::shared_ptr;
using std::make_shared;
using std::setw;
using std::forward;
using std::transform;
using std::lexicographical_compare;
typedef int64_t integer;