-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path1459B.cpp
More file actions
74 lines (60 loc) · 1.2 KB
/
1459B.cpp
File metadata and controls
74 lines (60 loc) · 1.2 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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
#include <bits/stdc++.h>
#define FOR(i, b, e, s) for(int i=(b); (s)>0?i<(e):i>(e); i+=(s))
#define FOR1(e) FOR(i, 0, e, 1)
#define FOR2(i, e) FOR(i, 0, e, 1)
#define FOR3(i, b, e) FOR(i, b, e, 1)
#define FOR4(i, b, e, s) FOR(i, b, e, s)
#define GET5(a, b, c, d, e, ...) e
#define FORC(...) GET5(__VA_ARGS__, FOR4, FOR3, FOR2, FOR1)
#define range(...) FORC(__VA_ARGS__)(__VA_ARGS__)
#define each(x, a) for (auto& x: a)
#define vk vector
#define st first
#define nd second
#define pb push_back
#define mp make_pair
using namespace std;
template<class T> void read(T& x) {
cin >> x;
}
void read(double& d) {
string t;
read(t);
d=stod(t);
}
void read(long double& d) {
string t;
read(t);
d=stold(t);
}
template<class H, class... T> void read(H& h, T&... t) {
read(h);
read(t...);
}
template<class A> void read(vk<A>& x) {
each(a, x)
read(a);
}
typedef long long ll;
typedef long double ld;
typedef vector<int> vi;
typedef vector<vi> vvi;
typedef pair<int, int> pii;
typedef vector<pii> vii;
const int MX = 1e9+7;
void solve() {
//
int n;
read(n);
if(n&1) {
int x = n / 2 + 1;
int v =
}
}
int main() {
ios::sync_with_stdio(false);
int tests = 1;
//read(tests);
range(tests)
solve();
}