-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsample.cpp
78 lines (71 loc) · 1.28 KB
/
sample.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
#include <bits/stdc++.h>
#define FOR(x, y, n) for (int x = y; x < (n); x++)
#define endl '\n';
#define INF 2'147'483'647LL
#define ll long long
#define ld long double
#define pii pair<int, int>
#define pll pair<ll, ll>
#define pllp pair<ll, pll>
#define pff pair<float, float>
#define pdd pair<double, double>
#define pldd pair<ld, ld>
#define matrix vector<vector<ll>>
#define lcm(a, b) a *b / gcd(a, b)
#define all(v) v.begin(), v.end()
#define btw(x, a, b) a <= x &&x < b
ll gcd(ll a, ll b) { return (b ? gcd(b, a % b) : a); }
const ll mod = 10007LL;
int dx[4] = {1, 0, -1, 0};
int dy[4] = {0, -1, 0, 1};
int dx6[6] = {1, -1, 0, 0, 0, 0};
int dy6[6] = {0, 0, 1, -1, 0, 0};
int dz6[6] = {0, 0, 0, 0, 1, -1};
int dx8[8] = {0, -1, -1, -1, 0, 1, 1, 1};
int dy8[8] = {1, 1, 0, -1, -1, -1, 0, 1};
using namespace std;
struct EDGE
{
ll start;
ll end;
ll cost;
};
struct DOT3
{
ll x;
ll y;
ll z;
};
struct NODE
{
ll max_value;
int max_index;
ll now_value;
int now_node;
};
struct ITEM
{
bool isNum;
int num = 0;
char bracket = ' ';
};
struct MOVE
{
int x;
int y;
int time;
};
void solve()
{
int n;
cin >> n;
}
int main()
{
cin.tie(0)->sync_with_stdio(0);
ll tc = 1;
// cin >> tc;
while (tc--)
solve();
return 0;
}