-
Notifications
You must be signed in to change notification settings - Fork 301
/
chef and brain speed
124 lines (71 loc) · 2.44 KB
/
chef and brain speed
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
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
/* J A I S H R E E R A M */
#ifdef LUCTIVUD
#include <mydebug.h>
pprint:: PrettyPrinter NonIterable;
#define cerr cout
#else
#include <bits/stdc++.h>
using namespace std;
#define _____error_____(...)
#endif
#pragma GCC optimize("O3,unroll-loops,trapv")
// #pragma GCC target("avx,avx2,fma,sse,sse2,sse3,sse4,popcnt,lzcnt")
// #pragma GCC optimize "trapv"
typedef long long lld; typedef unsigned long long llu;
#define forn(I7, E4) for(lld I7=0ll; I7 < E4; (I7)+=1ll)
#define forn1(I7, E4) for(lld I7=1ll; I7 < E4+1; (I7)+=1ll)
#define len(v) ((int)((v).size()))
#define all(x) (x).begin(), (x).end()
#define rall(x) (x).rbegin(), (x).rend()
#define f1 first
#define s2 second
struct custom_hash {
static uint64_t splitmix64(uint64_t x) {
// http://xorshift.di.unimi.it/splitmix64.c
x += 0x9e3779b97f4a7c15;
x = (x ^ (x >> 30)) * 0xbf58476d1ce4e5b9;
x = (x ^ (x >> 27)) * 0x94d049bb133111eb;
return x ^ (x >> 31);
}
size_t operator()(uint64_t x) const {
static const uint64_t FIXED_RANDOM =
chrono::steady_clock::now().time_since_epoch().count();
return splitmix64(x + FIXED_RANDOM);
}
};
const lld MOD = int(1e9) + 7;
const lld &mod = MOD;
const long double EPS = 1e-6;
const lld inf = 2e18;
/*:::::::::::::::::::::: LOGIC :::::::::::::::::::::::::*/
void solveEachTest(int _TestCase) {
// cout << "Case #" << _TestCase << ": ";
lld a, b; cin >> a >> b;
cout << (a >= b ? "NO" : "YES");
return;
}
/*:::::::::::::::::::::/LOGIC:::::::::::::::::::::::::*/
signed main() {
cin.tie(0)->sync_with_stdio(0);
cout.precision(10); cout << fixed;
#ifdef LUCTIVUD
// const auto start_time = std::chrono::high_resolution_clock::now();
freopen("/home/udit/CPPrc/zinput.txt", "r", stdin);
freopen("/home/udit/CPPrc/zoutput.txt", "w", stdout);
#endif
int __NTestCases = 1;
// cin >> __NTestCases;
for (int _TestCase = 1; _TestCase <= __NTestCases; _TestCase++) {
solveEachTest(_TestCase);
cout << "\n";
}
#ifdef LUCTIVUD
// auto end_time = std::chrono::high_resolution_clock::now();
// std::chrono::duration<double> diff = end_time - start_time;
// cerr << "Finished in : " << diff.count() << "\n";
#endif
return 0;
}
/* ~~
.?.?.?.
*/