QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#112571 | #6363. Card Game | 8BQube# | AC ✓ | 44ms | 7916kb | C++14 | 972b | 2023-06-12 13:23:16 | 2023-06-12 13:23:17 |
Judging History
answer
#include <bits/stdc++.h>
using namespace std;
typedef long long ll;
typedef pair<int, int> pii;
typedef pair<ll, ll> pll;
#define X first
#define Y second
#define pb push_back
#define ALL(v) v.begin(), v.end()
#define SZ(a) ((int)a.size())
int main() {
ios::sync_with_stdio(0), cin.tie(0);
int n, m;
cin >> n >> m;
vector<int> v;
for (int i = 1; i * i <= n; i++)
if (n % i == 0) {
v.pb(i);
if (n / i != i)
v.pb(n / i);
}
sort(ALL(v));
map<int, int> mp;
int mxs = 0;
for (int i = 1; i <= m; i++) {
int x;
cin >> x;
mp[x]++;
mxs = max(mxs, x);
}
int mxc = 0;
for (auto [s, c] : mp)
mxc = max(mxc, c);
ll c = 0;
for (int s : v) {
// cerr << s << " " << mxs << " " << mxc << endl;
if (s >= mxs && n / s >= mxc)
c++;
}
assert(c >= 1);
cout << (c == 1 ? "YES" : "NO") << "\n";
}
这程序好像有点Bug,我给组数据试试?
Details
Tip: Click on the bar to expand more detailed information
Test #1:
score: 100
Accepted
time: 1ms
memory: 3408kb
input:
36 11 1 4 2 4 4 2 4 1 4 4 4
output:
YES
result:
ok answer is YES
Test #2:
score: 0
Accepted
time: 1ms
memory: 3332kb
input:
4 2 1 1
output:
NO
result:
ok answer is NO
Test #3:
score: 0
Accepted
time: 0ms
memory: 3336kb
input:
8 5 8 5 4 2 7
output:
YES
result:
ok answer is YES
Test #4:
score: 0
Accepted
time: 2ms
memory: 3352kb
input:
2 1 1
output:
NO
result:
ok answer is NO
Test #5:
score: 0
Accepted
time: 2ms
memory: 3348kb
input:
6 3 1 2 1
output:
NO
result:
ok answer is NO
Test #6:
score: 0
Accepted
time: 0ms
memory: 3348kb
input:
8 2 1 2
output:
NO
result:
ok answer is NO
Test #7:
score: 0
Accepted
time: 2ms
memory: 3384kb
input:
8 3 1 1 1
output:
NO
result:
ok answer is NO
Test #8:
score: 0
Accepted
time: 0ms
memory: 3340kb
input:
10 10 1 1 1 1 1 1 1 1 1 1
output:
YES
result:
ok answer is YES
Test #9:
score: 0
Accepted
time: 1ms
memory: 3404kb
input:
15 1 1
output:
NO
result:
ok answer is NO
Test #10:
score: 0
Accepted
time: 0ms
memory: 3348kb
input:
23 11 1 1 1 1 1 1 1 1 1 1 1
output:
YES
result:
ok answer is YES
Test #11:
score: 0
Accepted
time: 0ms
memory: 3344kb
input:
29 27 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
output:
YES
result:
ok answer is YES
Test #12:
score: 0
Accepted
time: 1ms
memory: 3328kb
input:
31 12 1 1 1 1 1 1 1 1 1 1 1 1
output:
YES
result:
ok answer is YES
Test #13:
score: 0
Accepted
time: 2ms
memory: 3380kb
input:
37 33 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
output:
YES
result:
ok answer is YES
Test #14:
score: 0
Accepted
time: 2ms
memory: 3312kb
input:
38 11 1 1 1 1 1 1 1 1 1 1 1
output:
NO
result:
ok answer is NO
Test #15:
score: 0
Accepted
time: 1ms
memory: 3404kb
input:
91 34 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
output:
YES
result:
ok answer is YES
Test #16:
score: 0
Accepted
time: 2ms
memory: 3296kb
input:
93 42 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
output:
YES
result:
ok answer is YES
Test #17:
score: 0
Accepted
time: 2ms
memory: 3304kb
input:
101 66 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
output:
YES
result:
ok answer is YES
Test #18:
score: 0
Accepted
time: 0ms
memory: 3348kb
input:
103 60 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
output:
YES
result:
ok answer is YES
Test #19:
score: 0
Accepted
time: 1ms
memory: 3332kb
input:
105 94 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
output:
YES
result:
ok answer is YES
Test #20:
score: 0
Accepted
time: 2ms
memory: 3300kb
input:
107 22 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
output:
YES
result:
ok answer is YES
Test #21:
score: 0
Accepted
time: 1ms
memory: 3316kb
input:
109 93 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
output:
YES
result:
ok answer is YES
Test #22:
score: 0
Accepted
time: 2ms
memory: 3408kb
input:
111 40 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
output:
YES
result:
ok answer is YES
Test #23:
score: 0
Accepted
time: 2ms
memory: 3332kb
input:
113 5 1 1 1 1 1
output:
YES
result:
ok answer is YES
Test #24:
score: 0
Accepted
time: 2ms
memory: 3344kb
input:
233 146 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
output:
YES
result:
ok answer is YES
Test #25:
score: 0
Accepted
time: 2ms
memory: 3388kb
input:
1007 823 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1...
output:
YES
result:
ok answer is YES
Test #26:
score: 0
Accepted
time: 2ms
memory: 3400kb
input:
1009 995 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1...
output:
YES
result:
ok answer is YES
Test #27:
score: 0
Accepted
time: 0ms
memory: 3356kb
input:
5003 382 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1...
output:
YES
result:
ok answer is YES
Test #28:
score: 0
Accepted
time: 2ms
memory: 3348kb
input:
10005 5386 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1...
output:
YES
result:
ok answer is YES
Test #29:
score: 0
Accepted
time: 2ms
memory: 3304kb
input:
10007 9230 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1...
output:
YES
result:
ok answer is YES
Test #30:
score: 0
Accepted
time: 0ms
memory: 3400kb
input:
10009 4621 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1...
output:
YES
result:
ok answer is YES
Test #31:
score: 0
Accepted
time: 2ms
memory: 3412kb
input:
30011 14603 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 ...
output:
YES
result:
ok answer is YES
Test #32:
score: 0
Accepted
time: 0ms
memory: 3404kb
input:
50021 34858 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 ...
output:
YES
result:
ok answer is YES
Test #33:
score: 0
Accepted
time: 2ms
memory: 3356kb
input:
50023 15614 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 ...
output:
YES
result:
ok answer is YES
Test #34:
score: 0
Accepted
time: 0ms
memory: 3344kb
input:
50027 38342 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 ...
output:
YES
result:
ok answer is YES
Test #35:
score: 0
Accepted
time: 5ms
memory: 3316kb
input:
114514 74004 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1...
output:
YES
result:
ok answer is YES
Test #36:
score: 0
Accepted
time: 4ms
memory: 3340kb
input:
1919810 51607 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 ...
output:
NO
result:
ok answer is NO
Test #37:
score: 0
Accepted
time: 2ms
memory: 3360kb
input:
94 43 94 86 29 48 57 81 56 16 4 36 80 59 19 70 89 22 82 83 38 43 75 39 85 21 61 24 63 53 14 40 27 18 26 28 11 9 76 66 46 15 88 34 23
output:
YES
result:
ok answer is YES
Test #38:
score: 0
Accepted
time: 2ms
memory: 3340kb
input:
44 17 16 12 4 12 19 17 9 4 18 11 13 19 3 14 9 5 22
output:
YES
result:
ok answer is YES
Test #39:
score: 0
Accepted
time: 2ms
memory: 3328kb
input:
48 18 11 3 1 15 8 15 4 3 6 13 13 12 15 13 8 2 2 7
output:
YES
result:
ok answer is YES
Test #40:
score: 0
Accepted
time: 0ms
memory: 3316kb
input:
80 30 9 5 3 15 8 15 8 13 9 13 15 17 14 14 14 7 12 15 19 17 17 9 11 2 11 9 16 4 6 11
output:
YES
result:
ok answer is YES
Test #41:
score: 0
Accepted
time: 2ms
memory: 3344kb
input:
24 24 1 3 1 2 2 2 3 1 3 2 2 1 2 3 2 2 3 1 3 3 1 1 1 3
output:
YES
result:
ok answer is YES
Test #42:
score: 0
Accepted
time: 0ms
memory: 3336kb
input:
80 63 7 2 5 1 6 5 8 1 2 2 7 6 1 4 6 3 7 5 1 5 3 7 3 8 2 7 7 3 4 4 2 7 2 5 7 3 6 8 1 3 3 4 5 5 1 8 5 2 3 1 6 3 8 8 2 2 5 2 8 4 1 6 7
output:
YES
result:
ok answer is YES
Test #43:
score: 0
Accepted
time: 2ms
memory: 3336kb
input:
90 19 1 4 1 1 5 5 5 3 6 1 3 1 4 1 2 4 1 1 4
output:
NO
result:
ok answer is NO
Test #44:
score: 0
Accepted
time: 2ms
memory: 3352kb
input:
23 22 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
output:
YES
result:
ok answer is YES
Test #45:
score: 0
Accepted
time: 2ms
memory: 3348kb
input:
29 1 1
output:
NO
result:
ok answer is NO
Test #46:
score: 0
Accepted
time: 0ms
memory: 3328kb
input:
31 3 1 1 1
output:
YES
result:
ok answer is YES
Test #47:
score: 0
Accepted
time: 2ms
memory: 3352kb
input:
74 53 1 2 1 2 1 1 1 2 1 2 1 1 1 2 2 2 1 2 2 2 2 1 2 2 2 2 1 2 2 2 2 1 2 1 1 2 2 1 2 2 1 1 2 2 1 1 1 2 2 1 2 1 1
output:
YES
result:
ok answer is YES
Test #48:
score: 0
Accepted
time: 2ms
memory: 3332kb
input:
76 73 1 2 1 1 2 1 2 2 1 2 2 1 2 1 2 2 2 1 1 2 2 2 1 2 1 1 1 2 2 1 1 1 1 1 2 1 2 2 1 2 2 1 1 1 2 1 1 2 2 1 2 1 1 1 2 1 2 2 2 1 2 1 1 2 1 2 1 1 2 2 1 2 2
output:
YES
result:
ok answer is YES
Test #49:
score: 0
Accepted
time: 2ms
memory: 3348kb
input:
91 72 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
output:
YES
result:
ok answer is YES
Test #50:
score: 0
Accepted
time: 2ms
memory: 3404kb
input:
93 1 1
output:
NO
result:
ok answer is NO
Test #51:
score: 0
Accepted
time: 1ms
memory: 3344kb
input:
101 85 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
output:
YES
result:
ok answer is YES
Test #52:
score: 0
Accepted
time: 2ms
memory: 3404kb
input:
103 70 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
output:
YES
result:
ok answer is YES
Test #53:
score: 0
Accepted
time: 0ms
memory: 3336kb
input:
105 9 1 1 1 1 1 1 1 1 1
output:
NO
result:
ok answer is NO
Test #54:
score: 0
Accepted
time: 2ms
memory: 3388kb
input:
107 84 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
output:
YES
result:
ok answer is YES
Test #55:
score: 0
Accepted
time: 0ms
memory: 3332kb
input:
109 98 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
output:
YES
result:
ok answer is YES
Test #56:
score: 0
Accepted
time: 0ms
memory: 3400kb
input:
111 108 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
output:
YES
result:
ok answer is YES
Test #57:
score: 0
Accepted
time: 2ms
memory: 3336kb
input:
113 57 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
output:
YES
result:
ok answer is YES
Test #58:
score: 0
Accepted
time: 0ms
memory: 3348kb
input:
233 52 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
output:
YES
result:
ok answer is YES
Test #59:
score: 0
Accepted
time: 2ms
memory: 3380kb
input:
1007 60 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
output:
YES
result:
ok answer is YES
Test #60:
score: 0
Accepted
time: 2ms
memory: 3408kb
input:
1009 718 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1...
output:
YES
result:
ok answer is YES
Test #61:
score: 0
Accepted
time: 2ms
memory: 3328kb
input:
5003 4757 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 ...
output:
YES
result:
ok answer is YES
Test #62:
score: 0
Accepted
time: 0ms
memory: 3332kb
input:
10005 3177 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1...
output:
NO
result:
ok answer is NO
Test #63:
score: 0
Accepted
time: 2ms
memory: 3340kb
input:
10007 3797 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1...
output:
YES
result:
ok answer is YES
Test #64:
score: 0
Accepted
time: 2ms
memory: 3404kb
input:
10009 9524 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1...
output:
YES
result:
ok answer is YES
Test #65:
score: 0
Accepted
time: 2ms
memory: 3340kb
input:
30011 13141 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 ...
output:
YES
result:
ok answer is YES
Test #66:
score: 0
Accepted
time: 2ms
memory: 3348kb
input:
50021 43670 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 ...
output:
YES
result:
ok answer is YES
Test #67:
score: 0
Accepted
time: 2ms
memory: 3332kb
input:
50023 40184 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 ...
output:
YES
result:
ok answer is YES
Test #68:
score: 0
Accepted
time: 0ms
memory: 3412kb
input:
50027 19686 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 ...
output:
YES
result:
ok answer is YES
Test #69:
score: 0
Accepted
time: 4ms
memory: 3404kb
input:
114514 42316 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1...
output:
NO
result:
ok answer is NO
Test #70:
score: 0
Accepted
time: 2ms
memory: 3408kb
input:
1919810 29105 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 ...
output:
NO
result:
ok answer is NO
Test #71:
score: 0
Accepted
time: 2ms
memory: 3368kb
input:
888 397 599 776 805 594 16 785 351 673 552 352 609 197 375 289 780 591 229 193 107 396 286 773 653 627 186 783 437 865 236 831 791 374 366 810 726 582 664 742 299 340 844 515 485 584 680 462 786 511 273 409 666 184 754 605 397 581 247 6 322 710 152 28 538 344 325 738 95 841 421 767 569 469 592 565 7...
output:
YES
result:
ok answer is YES
Test #72:
score: 0
Accepted
time: 2ms
memory: 3404kb
input:
32 18 1 6 10 11 7 5 2 15 8 15 12 14 10 6 13 7 2 14
output:
YES
result:
ok answer is YES
Test #73:
score: 0
Accepted
time: 1ms
memory: 3412kb
input:
627 355 154 204 79 107 43 20 7 85 4 99 135 160 195 64 184 199 40 41 154 206 111 169 9 18 180 188 209 160 12 22 83 136 11 202 23 24 114 134 49 141 99 59 58 79 167 47 134 128 148 6 192 31 157 123 26 40 163 32 12 149 126 12 23 134 19 62 130 71 74 166 165 171 1 206 106 191 101 7 75 9 150 205 66 31 179 8...
output:
YES
result:
ok answer is YES
Test #74:
score: 0
Accepted
time: 2ms
memory: 3360kb
input:
456 250 22 67 61 23 72 15 101 110 81 65 26 104 32 91 2 10 43 85 103 103 114 99 46 9 106 60 78 114 58 89 88 54 102 111 95 33 19 92 69 85 95 79 15 12 30 70 20 90 25 104 94 22 40 61 94 100 2 34 71 47 51 39 29 22 5 97 101 111 99 77 47 72 25 86 14 68 67 61 3 20 46 20 112 80 6 81 100 23 111 82 34 92 69 10...
output:
YES
result:
ok answer is YES
Test #75:
score: 0
Accepted
time: 1ms
memory: 3352kb
input:
112 44 5 13 1 2 3 3 11 1 3 5 9 1 12 5 9 6 12 1 11 14 2 8 2 2 5 14 5 14 2 1 11 8 12 1 4 13 7 3 10 11 9 3 14 10
output:
NO
result:
ok answer is NO
Test #76:
score: 0
Accepted
time: 2ms
memory: 3364kb
input:
940 811 34 32 82 67 85 39 67 24 16 88 9 60 38 5 54 6 25 57 16 24 30 48 48 69 26 70 3 26 15 30 2 72 23 62 84 62 78 49 23 17 29 61 63 45 94 51 82 94 81 66 7 36 27 85 90 60 63 22 94 58 94 7 10 87 87 14 41 89 35 9 17 11 30 91 66 87 7 79 67 59 48 78 46 44 15 79 49 11 83 75 17 81 92 68 19 73 28 19 64 38 2...
output:
YES
result:
ok answer is YES
Test #77:
score: 0
Accepted
time: 3ms
memory: 3336kb
input:
60 1 3
output:
NO
result:
ok answer is NO
Test #78:
score: 0
Accepted
time: 2ms
memory: 3340kb
input:
138 90 2 4 3 2 5 4 5 3 5 1 5 2 5 4 4 3 2 4 1 4 2 2 5 2 6 4 5 3 1 1 6 6 2 5 1 2 5 2 2 3 3 4 5 5 3 2 1 4 3 3 3 5 3 5 4 4 1 2 3 1 2 4 6 2 3 1 6 2 3 1 4 2 5 4 5 3 2 2 5 5 6 4 2 6 1 4 2 2 3 1
output:
YES
result:
ok answer is YES
Test #79:
score: 0
Accepted
time: 2ms
memory: 3328kb
input:
203 5 1 6 6 4 1
output:
NO
result:
ok answer is NO
Test #80:
score: 0
Accepted
time: 2ms
memory: 3408kb
input:
124 63 4 3 3 3 3 2 1 1 3 4 3 1 2 2 1 2 3 2 4 1 1 1 4 3 2 2 2 3 1 4 3 2 4 4 3 1 2 4 4 3 2 1 4 1 3 3 2 3 2 4 2 1 3 4 4 4 1 4 1 1 1 2 2
output:
YES
result:
ok answer is YES
Test #81:
score: 0
Accepted
time: 2ms
memory: 3408kb
input:
740 609 10 20 8 4 3 18 18 6 17 14 1 16 12 16 4 3 8 11 19 19 9 8 2 1 1 19 4 9 10 14 14 4 9 5 14 11 12 20 12 6 8 20 5 14 20 3 10 16 13 7 1 19 4 14 9 14 15 13 13 8 8 13 13 18 16 8 13 1 17 14 4 5 17 9 18 7 1 8 2 19 11 2 5 3 16 20 5 11 2 6 11 7 7 6 18 8 5 7 13 2 12 15 5 3 15 10 20 7 7 13 15 15 6 8 17 18 ...
output:
YES
result:
ok answer is YES
Test #82:
score: 0
Accepted
time: 1ms
memory: 3336kb
input:
988 929 18 4 22 5 15 22 23 25 24 16 5 20 7 13 10 19 26 3 8 5 20 1 25 25 12 26 19 13 24 3 11 10 5 19 4 18 7 23 11 13 23 7 1 18 20 25 6 4 8 24 20 26 6 3 4 7 18 9 10 3 11 14 18 19 3 26 8 15 4 7 17 25 6 6 26 6 8 6 13 26 9 7 8 13 16 20 17 5 22 24 24 6 10 22 16 11 9 3 4 6 7 18 21 25 16 7 23 22 15 8 19 25 ...
output:
YES
result:
ok answer is YES
Test #83:
score: 0
Accepted
time: 2ms
memory: 3404kb
input:
728 57 6 5 4 7 4 6 1 6 1 2 5 8 8 3 3 8 6 2 1 7 4 7 5 2 1 2 5 2 6 6 5 3 8 8 5 5 1 4 1 6 6 1 7 7 2 8 4 2 2 8 8 3 8 5 5 4 1
output:
NO
result:
ok answer is NO
Test #84:
score: 0
Accepted
time: 2ms
memory: 3364kb
input:
558 224 3 4 3 3 6 6 6 3 6 5 6 4 6 2 2 6 6 3 6 4 5 4 1 6 1 2 4 4 2 4 3 1 1 6 1 1 4 2 6 3 6 5 3 2 1 6 6 2 2 4 6 1 2 4 4 4 3 5 4 3 3 5 2 6 6 6 2 1 6 1 1 1 1 3 1 5 6 5 4 5 3 2 3 3 2 4 5 4 1 3 2 4 3 5 1 1 3 4 5 5 2 1 6 6 4 6 6 3 4 2 6 5 3 5 3 1 6 2 1 5 3 1 1 5 2 6 2 2 3 6 6 5 1 4 2 4 3 4 5 4 6 5 2 1 2 6 ...
output:
NO
result:
ok answer is NO
Test #85:
score: 0
Accepted
time: 0ms
memory: 3300kb
input:
202 142 1 1 1 2 1 1 2 1 2 2 1 2 1 1 1 1 2 1 1 1 1 1 1 1 1 1 1 2 2 1 2 1 2 2 1 2 2 2 1 2 2 1 1 1 2 1 2 1 1 1 1 2 1 2 1 1 2 1 2 1 1 2 1 1 2 2 1 2 1 2 2 2 1 2 1 2 1 1 1 2 1 1 1 1 1 2 1 2 2 2 2 1 2 1 2 1 2 1 1 2 2 1 2 1 1 2 2 2 1 1 2 1 1 1 2 1 2 1 2 2 2 2 1 2 1 1 1 1 2 1 1 1 2 1 2 1 1 2 2 2 2 1
output:
YES
result:
ok answer is YES
Test #86:
score: 0
Accepted
time: 2ms
memory: 3308kb
input:
927 492 2 6 3 3 5 9 9 1 7 5 8 5 5 7 6 2 8 6 1 3 9 7 5 5 6 8 2 5 9 4 7 4 4 8 1 3 8 3 8 7 4 2 4 7 3 1 9 6 5 9 7 5 4 9 9 5 2 9 8 1 8 8 2 6 7 4 5 3 8 1 8 2 9 7 1 5 8 4 7 9 8 1 5 4 5 8 5 7 3 7 5 7 1 1 5 5 5 4 9 1 5 1 4 9 4 2 8 2 6 9 7 1 9 4 7 6 1 3 2 1 9 7 1 4 4 8 5 7 4 6 2 2 7 3 2 7 2 1 7 4 6 8 4 6 8 3 ...
output:
YES
result:
ok answer is YES
Test #87:
score: 0
Accepted
time: 2ms
memory: 3360kb
input:
315 258 1 3 3 2 3 2 2 3 1 2 3 3 3 1 3 2 2 1 2 3 1 2 2 1 1 2 3 1 1 1 1 3 2 1 3 2 2 2 3 1 1 1 3 1 2 2 3 1 2 1 3 2 2 3 2 2 2 3 2 3 2 3 3 3 1 2 2 3 3 3 2 3 2 1 1 2 1 3 1 1 3 3 1 2 2 2 2 3 3 2 3 2 3 1 3 1 2 2 2 2 1 3 1 1 2 1 2 3 3 1 2 2 3 3 3 2 3 1 3 1 1 3 3 1 3 2 1 2 1 1 1 2 3 3 2 3 2 3 2 3 2 2 1 1 1 3 ...
output:
YES
result:
ok answer is YES
Test #88:
score: 0
Accepted
time: 0ms
memory: 3352kb
input:
642 84 5 1 2 5 1 1 2 1 2 4 4 3 4 5 1 2 6 4 4 4 4 3 1 5 6 1 6 6 5 4 4 3 1 5 1 3 5 2 4 1 1 4 2 6 5 6 4 6 1 1 6 2 4 6 2 1 6 5 2 2 4 5 2 1 1 2 6 4 4 6 2 4 5 2 1 2 3 4 6 5 1 6 3 5
output:
YES
result:
ok answer is YES
Test #89:
score: 0
Accepted
time: 2ms
memory: 3332kb
input:
981 704 3 4 9 9 5 2 9 6 4 6 2 6 1 4 3 5 6 4 2 1 5 6 6 4 5 3 9 3 7 4 7 1 5 1 7 1 7 8 9 2 1 4 2 1 2 4 7 1 4 9 1 4 2 4 8 1 3 9 1 7 9 5 8 9 1 2 5 8 1 6 6 7 1 4 6 1 9 6 3 5 5 3 7 8 3 3 5 6 1 3 4 5 6 6 3 5 8 8 9 6 2 3 6 6 1 8 9 1 4 3 3 5 7 3 8 4 3 2 8 2 8 3 3 5 8 5 9 1 9 9 8 1 8 4 6 7 3 6 2 3 1 4 9 7 4 7 ...
output:
YES
result:
ok answer is YES
Test #90:
score: 0
Accepted
time: 0ms
memory: 3404kb
input:
555 298 2 2 4 5 1 3 3 4 1 2 4 3 2 2 1 3 1 4 4 5 4 1 4 5 5 5 1 5 4 1 2 1 4 4 2 5 1 1 2 1 4 1 1 2 1 4 3 3 1 2 5 2 4 4 3 5 1 5 5 5 1 1 4 4 3 5 5 1 1 4 5 3 4 1 4 2 4 1 3 4 5 4 3 3 1 4 4 5 1 3 3 3 3 3 3 3 2 3 4 4 5 4 3 1 4 2 2 3 4 1 4 3 5 5 1 1 5 1 4 4 3 1 1 3 2 2 3 5 5 4 3 1 2 2 2 1 3 3 1 5 4 4 1 3 4 2 ...
output:
YES
result:
ok answer is YES
Test #91:
score: 0
Accepted
time: 2ms
memory: 3340kb
input:
904 468 1 5 5 2 5 8 2 2 1 2 4 1 3 1 4 1 7 1 6 7 3 1 2 5 2 7 7 1 2 8 3 5 5 1 4 5 4 1 2 4 7 4 2 7 6 1 5 8 3 5 6 4 6 7 8 6 8 1 6 2 8 5 1 2 1 6 6 5 2 3 5 3 4 7 3 2 8 3 1 4 7 3 2 7 7 5 1 3 5 5 1 8 6 4 3 5 4 4 4 2 7 6 4 7 1 4 7 3 1 7 8 6 1 2 2 6 8 5 5 6 1 3 7 3 2 4 8 6 6 4 4 4 4 2 5 1 5 2 7 8 1 3 2 5 3 2 ...
output:
YES
result:
ok answer is YES
Test #92:
score: 0
Accepted
time: 2ms
memory: 3300kb
input:
466 429 1 1 1 1 2 2 1 2 2 2 1 2 2 2 1 2 2 1 1 1 2 2 2 2 2 2 2 2 1 2 1 1 2 2 2 1 1 2 2 2 2 2 2 1 1 1 1 2 2 2 1 1 2 2 2 2 1 2 1 1 2 1 1 1 1 1 1 2 2 2 1 2 2 2 2 1 1 2 2 2 1 1 1 2 1 2 2 2 2 2 1 1 2 2 1 1 1 2 2 2 2 2 1 2 2 1 1 2 1 1 2 2 2 2 1 1 1 2 1 2 1 2 1 2 2 2 1 1 1 2 2 1 1 1 1 2 2 1 1 1 1 1 1 1 1 2 ...
output:
YES
result:
ok answer is YES
Test #93:
score: 0
Accepted
time: 0ms
memory: 3352kb
input:
1007 588 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1...
output:
YES
result:
ok answer is YES
Test #94:
score: 0
Accepted
time: 2ms
memory: 3416kb
input:
1009 817 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1...
output:
YES
result:
ok answer is YES
Test #95:
score: 0
Accepted
time: 2ms
memory: 3404kb
input:
5003 2852 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 ...
output:
YES
result:
ok answer is YES
Test #96:
score: 0
Accepted
time: 2ms
memory: 3348kb
input:
10005 3766 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1...
output:
YES
result:
ok answer is YES
Test #97:
score: 0
Accepted
time: 2ms
memory: 3328kb
input:
10007 2334 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1...
output:
YES
result:
ok answer is YES
Test #98:
score: 0
Accepted
time: 1ms
memory: 3308kb
input:
10009 1196 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1...
output:
YES
result:
ok answer is YES
Test #99:
score: 0
Accepted
time: 2ms
memory: 3404kb
input:
30011 10284 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 ...
output:
YES
result:
ok answer is YES
Test #100:
score: 0
Accepted
time: 0ms
memory: 3312kb
input:
50021 12754 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 ...
output:
YES
result:
ok answer is YES
Test #101:
score: 0
Accepted
time: 3ms
memory: 3348kb
input:
50023 32738 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 ...
output:
YES
result:
ok answer is YES
Test #102:
score: 0
Accepted
time: 0ms
memory: 3328kb
input:
50027 46909 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 ...
output:
YES
result:
ok answer is YES
Test #103:
score: 0
Accepted
time: 6ms
memory: 3400kb
input:
114514 87110 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1...
output:
YES
result:
ok answer is YES
Test #104:
score: 0
Accepted
time: 5ms
memory: 3308kb
input:
1919810 70399 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 ...
output:
NO
result:
ok answer is NO
Test #105:
score: 0
Accepted
time: 9ms
memory: 5056kb
input:
87584 36685 80451 57353 28933 14185 86130 43053 4245 7015 38634 87246 77911 25106 5629 77232 73770 57415 4146 22507 72574 41049 35779 40298 24822 13451 78431 77485 15596 3737 4809 49895 85869 30319 32887 58496 61849 46416 60659 23443 49508 70768 77502 84561 36824 86139 85800 13213 29233 57068 52825 ...
output:
YES
result:
ok answer is YES
Test #106:
score: 0
Accepted
time: 8ms
memory: 4076kb
input:
76608 19705 25900 2158 37675 26017 30785 5313 8224 13213 26658 6190 26674 12083 28240 29917 35605 10190 25620 11676 4610 37946 26264 35353 13431 33067 14348 4970 13141 13079 9859 30917 13536 7383 4627 9448 16195 27339 7129 11698 4393 5651 19827 3304 18469 31446 24996 22161 12203 9343 23507 25563 189...
output:
YES
result:
ok answer is YES
Test #107:
score: 0
Accepted
time: 4ms
memory: 4140kb
input:
74544 24118 4870 20276 720 13162 11249 3717 1420 12900 18809 19182 12524 7333 15923 2747 3791 24692 3574 23389 16023 4828 17837 13912 16488 17820 4969 3063 15741 15957 5197 16836 17203 15088 9664 15088 1564 12294 5375 14865 19278 17893 8984 18222 4546 7634 12111 14069 24213 17921 21789 1974 9626 212...
output:
YES
result:
ok answer is YES
Test #108:
score: 0
Accepted
time: 9ms
memory: 3924kb
input:
51424 33490 5632 50 1638 10987 7512 4385 2471 1354 2001 9325 2270 4558 2278 9888 4554 11682 3392 1805 2387 4630 10859 9904 185 2372 254 11299 2613 9260 2007 2218 6382 880 6717 512 7134 1145 9940 11111 3307 9680 7173 293 12278 6741 8971 9481 12711 4732 12654 9098 10639 12179 9652 7536 4596 4654 3323 ...
output:
YES
result:
ok answer is YES
Test #109:
score: 0
Accepted
time: 3ms
memory: 3492kb
input:
34048 6404 2278 944 492 3254 4029 4121 869 899 2959 2732 1711 1659 2 3532 2099 2291 3712 3200 509 4229 216 21 925 3181 3483 439 2663 941 1280 892 3123 1866 3520 3257 2653 1804 1082 2058 1318 1346 209 3055 2353 2428 969 3401 2535 1167 4205 3425 500 1621 364 2722 4199 2858 2423 3514 2742 976 3269 3389...
output:
NO
result:
ok answer is NO
Test #110:
score: 0
Accepted
time: 4ms
memory: 3540kb
input:
28510 17642 1778 1866 465 2268 1064 991 645 1777 828 2713 614 1888 1535 24 801 998 1945 1569 2837 1017 1919 2471 470 2767 832 1410 307 466 1732 1935 2317 1753 420 1748 1580 2786 2247 1569 2364 1985 770 316 1644 2749 577 65 91 2688 1310 456 610 2180 2650 2448 873 2508 2744 2727 1663 1600 2595 53 2566...
output:
YES
result:
ok answer is YES
Test #111:
score: 0
Accepted
time: 0ms
memory: 3312kb
input:
1665 210 87 35 54 92 4 37 3 106 60 51 105 56 41 37 4 24 43 83 87 97 57 9 2 73 18 10 78 56 60 50 86 20 64 61 29 34 17 47 63 12 78 81 61 56 46 65 28 87 93 49 11 28 53 37 41 20 78 43 36 75 27 59 18 13 61 103 106 81 40 14 13 96 75 96 63 87 24 22 11 83 94 50 66 24 10 41 46 80 60 75 58 46 57 78 19 73 98 1...
output:
NO
result:
ok answer is NO
Test #112:
score: 0
Accepted
time: 4ms
memory: 3384kb
input:
27232 19049 116 519 95 915 1084 1047 358 121 1003 311 303 660 399 147 905 98 1083 250 298 548 869 1054 201 703 454 151 610 859 797 289 598 455 844 825 136 658 1145 739 800 756 591 391 844 963 826 336 698 766 527 44 512 198 673 399 533 672 1005 399 820 564 431 521 96 689 1067 1051 571 775 133 904 116...
output:
YES
result:
ok answer is YES
Test #113:
score: 0
Accepted
time: 9ms
memory: 3488kb
input:
82998 73377 2480 883 1348 87 1858 1767 2129 1004 1598 557 896 298 1073 138 74 1378 1922 4 1331 1448 1919 769 1381 1660 2483 1653 1224 1069 2110 169 2826 1869 279 2200 180 664 737 2723 2277 1213 2815 982 442 967 1354 1552 935 2728 1029 1371 2733 1230 1720 353 293 479 1461 1501 1756 173 2694 2584 291 ...
output:
YES
result:
ok answer is YES
Test #114:
score: 0
Accepted
time: 13ms
memory: 3484kb
input:
94798 74562 1957 2872 295 950 696 742 2106 1272 2145 1216 109 55 1779 2041 2105 1089 2038 1244 3054 469 2912 2683 992 2294 2236 1461 332 1345 498 1353 1540 589 344 863 1958 1858 2973 685 1380 1531 2832 394 2176 1505 574 2891 203 2308 2734 2517 1352 481 1813 2252 2018 1982 692 1990 2153 2263 64 1799 ...
output:
YES
result:
ok answer is YES
Test #115:
score: 0
Accepted
time: 0ms
memory: 3428kb
input:
17760 5140 173 166 14 222 84 126 189 96 260 426 435 6 117 113 111 83 177 463 104 219 342 179 388 105 151 96 2 347 123 48 81 321 61 300 278 193 330 469 202 278 70 447 378 300 231 49 229 326 472 230 226 89 120 238 375 110 280 430 451 4 193 252 117 395 300 100 434 202 199 325 179 281 407 117 420 40 112...
output:
NO
result:
ok answer is NO
Test #116:
score: 0
Accepted
time: 2ms
memory: 3420kb
input:
10412 2252 10 248 45 209 105 96 52 204 50 60 199 51 12 182 208 169 117 68 56 101 175 224 131 134 2 103 52 109 39 56 70 115 29 194 234 172 119 218 135 119 185 177 7 142 3 265 91 149 250 24 93 169 190 69 206 199 31 214 264 177 68 209 150 152 139 39 137 180 44 10 108 155 78 25 77 155 29 77 55 81 125 58...
output:
NO
result:
ok answer is NO
Test #117:
score: 0
Accepted
time: 10ms
memory: 3372kb
input:
81627 64880 686 53 111 407 85 507 304 762 133 454 875 342 831 284 128 677 633 416 414 667 131 323 322 671 39 166 172 393 378 137 370 894 462 249 196 365 836 365 452 692 544 796 739 383 69 86 711 421 156 718 681 746 806 539 99 361 541 556 692 251 150 823 763 663 276 681 578 578 21 467 725 534 112 892...
output:
YES
result:
ok answer is YES
Test #118:
score: 0
Accepted
time: 3ms
memory: 3440kb
input:
93279 24720 637 512 10 669 86 1002 440 669 729 236 770 82 593 335 211 527 357 501 656 811 253 827 53 781 295 295 624 516 230 949 86 984 596 56 112 731 770 212 924 76 613 921 552 581 98 482 912 619 360 841 339 324 715 516 42 865 677 976 490 134 870 540 419 93 869 756 698 475 287 463 524 612 111 443 3...
output:
NO
result:
ok answer is NO
Test #119:
score: 0
Accepted
time: 6ms
memory: 3348kb
input:
88375 33869 130 590 334 434 742 564 357 450 470 505 806 716 635 846 304 790 70 63 384 27 553 501 638 331 91 330 497 391 475 356 339 182 571 54 391 430 65 393 243 255 771 465 631 108 226 21 653 761 92 566 513 65 569 117 632 729 459 523 621 850 844 667 139 773 424 179 277 707 730 175 109 398 296 223 3...
output:
YES
result:
ok answer is YES
Test #120:
score: 0
Accepted
time: 0ms
memory: 3344kb
input:
18849 1970 161 177 130 77 10 28 133 99 29 8 125 97 117 107 9 35 114 109 88 119 68 124 139 145 13 157 159 89 69 119 98 141 153 90 67 60 63 94 114 71 6 97 181 20 49 64 61 165 30 147 22 13 138 78 87 134 67 177 136 58 123 120 172 81 7 78 115 168 178 140 123 40 168 21 178 29 86 51 133 155 103 81 65 4 8 4...
output:
NO
result:
ok answer is NO
Test #121:
score: 0
Accepted
time: 1ms
memory: 3356kb
input:
30765 29314 136 225 77 259 30 187 46 207 36 141 15 137 93 149 289 293 74 29 201 116 114 261 216 38 219 112 93 48 171 218 68 74 183 71 214 229 179 246 280 97 39 68 278 41 182 253 122 34 56 118 166 272 269 149 269 161 33 277 7 33 202 142 168 210 147 277 154 195 162 173 48 159 163 288 172 166 290 3 89 ...
output:
YES
result:
ok answer is YES
Test #122:
score: 0
Accepted
time: 6ms
memory: 3444kb
input:
97477 31607 387 171 743 326 598 570 443 760 800 313 308 627 7 170 663 651 99 140 20 418 202 814 367 893 851 81 666 85 147 674 408 720 104 886 757 807 583 529 633 425 847 232 132 273 204 586 181 357 580 439 747 777 619 804 883 131 891 381 46 837 325 619 580 566 154 832 318 635 124 71 134 863 435 595 ...
output:
YES
result:
ok answer is YES
Test #123:
score: 0
Accepted
time: 2ms
memory: 3300kb
input:
3052 888 21 11 27 17 13 11 20 11 6 14 16 26 7 3 7 27 5 18 6 16 27 10 7 5 27 16 10 28 4 19 22 15 2 26 28 24 26 4 21 4 27 12 2 21 6 1 3 2 11 4 6 11 13 12 20 26 6 1 3 15 21 3 22 25 10 2 23 7 13 4 12 21 27 3 7 4 28 19 14 21 3 18 24 18 21 12 18 11 15 6 27 19 7 7 20 16 23 18 28 7 22 2 18 14 9 14 26 4 3 13...
output:
YES
result:
ok answer is YES
Test #124:
score: 0
Accepted
time: 2ms
memory: 3412kb
input:
15429 4391 100 43 124 128 20 137 87 40 25 85 28 85 132 51 72 120 18 136 60 15 35 113 35 110 23 12 100 103 9 11 28 17 102 114 125 113 81 22 32 81 25 4 53 108 23 11 29 34 75 10 116 134 16 1 50 51 88 8 110 15 86 77 23 51 58 62 107 26 126 58 58 89 21 134 108 137 103 98 125 2 58 2 115 57 40 134 75 56 28 ...
output:
YES
result:
ok answer is YES
Test #125:
score: 0
Accepted
time: 6ms
memory: 3364kb
input:
69947 38923 87 427 595 377 156 226 556 127 334 308 154 286 122 363 404 254 182 212 173 357 527 11 20 484 78 18 22 165 36 496 193 160 619 42 602 524 602 261 560 287 539 617 308 591 317 539 496 84 385 123 26 498 572 562 570 151 477 299 480 88 259 53 298 161 55 209 150 271 120 247 426 428 171 575 468 2...
output:
YES
result:
ok answer is YES
Test #126:
score: 0
Accepted
time: 3ms
memory: 3372kb
input:
87608 32901 100 156 29 374 362 104 105 96 165 147 361 157 331 308 179 151 332 156 179 360 238 163 280 50 123 311 205 40 6 132 281 28 234 263 183 6 82 266 335 275 130 356 43 180 173 38 67 187 308 22 130 57 46 352 350 43 354 288 188 336 310 217 233 197 140 321 146 65 96 226 277 113 3 163 70 325 107 23...
output:
NO
result:
ok answer is NO
Test #127:
score: 0
Accepted
time: 3ms
memory: 3360kb
input:
43301 16501 30 37 25 29 6 9 7 26 2 21 35 33 25 24 25 2 4 30 10 28 1 35 18 30 30 39 39 26 15 28 16 10 43 19 26 31 28 1 25 6 9 21 10 10 11 4 37 21 36 36 25 17 25 37 12 8 35 10 34 20 23 5 42 17 38 41 35 42 17 1 19 37 30 7 26 25 31 35 35 17 31 36 4 16 33 26 22 20 10 9 33 24 9 3 35 1 1 22 20 39 33 27 28 ...
output:
NO
result:
ok answer is NO
Test #128:
score: 0
Accepted
time: 1ms
memory: 3316kb
input:
10090 8162 2 1 6 6 6 8 4 4 10 5 5 5 1 5 1 1 3 1 6 8 8 8 10 10 8 10 7 7 3 1 4 1 4 6 7 7 1 8 8 5 10 9 1 8 8 6 10 1 8 4 7 2 7 6 1 2 8 4 5 3 7 7 8 10 3 10 1 3 4 2 5 4 1 10 4 10 4 10 7 3 1 8 7 8 4 6 4 8 6 5 1 2 5 3 5 1 2 8 4 10 3 8 1 5 8 2 7 7 5 9 8 9 10 3 9 5 1 5 3 6 8 7 2 1 3 4 9 3 5 3 6 9 8 10 1 5 4 1...
output:
YES
result:
ok answer is YES
Test #129:
score: 0
Accepted
time: 2ms
memory: 3332kb
input:
15009 10232 1 2 1 2 2 1 3 2 1 3 3 3 1 3 2 2 2 1 3 3 3 1 2 1 1 3 3 2 1 1 3 3 1 1 1 2 2 3 2 3 1 3 2 1 1 3 1 1 2 3 2 2 1 2 2 3 3 3 1 3 1 3 2 3 2 2 2 1 3 1 2 1 2 2 3 1 2 3 2 3 1 3 2 2 1 2 3 3 3 2 1 3 3 1 1 2 3 2 3 1 3 1 2 1 3 3 3 1 3 2 3 2 3 2 1 3 1 3 1 2 1 2 1 1 1 1 1 3 1 2 2 3 1 3 3 1 1 3 2 3 3 1 3 2 ...
output:
YES
result:
ok answer is YES
Test #130:
score: 0
Accepted
time: 0ms
memory: 3348kb
input:
20010 1828 2 2 2 1 2 1 2 1 2 1 1 1 2 2 1 2 2 2 1 1 1 1 1 2 2 1 1 1 2 2 2 2 2 1 1 1 2 2 1 1 2 2 1 2 2 2 1 1 2 2 2 2 1 2 1 2 2 1 1 2 2 1 1 2 1 2 2 1 2 2 2 2 1 2 2 2 2 2 1 2 1 2 2 2 1 2 2 1 1 1 1 2 2 1 1 2 2 1 2 2 2 2 1 2 2 1 2 2 2 2 2 1 2 2 1 1 2 1 2 2 2 2 2 1 1 2 2 2 1 2 2 2 1 2 1 1 1 1 1 2 1 1 1 1 1...
output:
NO
result:
ok answer is NO
Test #131:
score: 0
Accepted
time: 2ms
memory: 3404kb
input:
10007 6619 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1...
output:
YES
result:
ok answer is YES
Test #132:
score: 0
Accepted
time: 0ms
memory: 3336kb
input:
40036 38412 4 3 1 2 3 3 3 2 4 2 4 4 4 2 3 3 4 1 1 4 2 2 3 3 2 2 4 4 2 4 3 3 3 2 2 1 2 1 2 1 4 4 4 3 2 2 1 4 1 3 3 4 3 3 2 2 4 4 4 4 3 3 1 1 2 3 4 1 1 1 4 1 4 1 4 4 4 3 4 3 2 3 1 1 4 3 4 4 3 3 4 2 3 4 4 1 2 2 2 4 1 4 3 3 4 4 4 3 3 4 2 4 4 2 4 1 2 4 3 3 1 1 1 3 3 3 3 3 1 3 1 1 4 4 2 4 1 1 1 1 1 2 1 3 ...
output:
YES
result:
ok answer is YES
Test #133:
score: 0
Accepted
time: 5ms
memory: 3404kb
input:
60022 57068 1 2 1 1 2 1 2 2 1 1 1 1 2 1 2 1 2 1 1 1 2 1 1 1 2 1 2 1 1 1 1 2 2 1 1 2 2 2 2 2 1 2 1 1 2 2 1 1 1 2 2 1 2 2 1 2 2 2 1 1 1 2 2 1 2 1 2 1 2 2 1 1 2 1 1 2 2 2 2 1 1 1 1 1 2 1 2 1 1 2 1 1 1 2 1 1 2 1 2 1 2 2 2 2 1 2 1 2 2 1 1 2 2 1 1 1 2 2 2 1 1 1 1 2 1 2 2 2 1 1 1 2 2 1 2 2 2 2 2 2 2 1 2 2 ...
output:
YES
result:
ok answer is YES
Test #134:
score: 0
Accepted
time: 3ms
memory: 3256kb
input:
50021 30496 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 ...
output:
YES
result:
ok answer is YES
Test #135:
score: 0
Accepted
time: 4ms
memory: 3336kb
input:
50023 43998 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 ...
output:
YES
result:
ok answer is YES
Test #136:
score: 0
Accepted
time: 1ms
memory: 3328kb
input:
50027 38727 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 ...
output:
YES
result:
ok answer is YES
Test #137:
score: 0
Accepted
time: 6ms
memory: 3412kb
input:
114514 60031 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1...
output:
YES
result:
ok answer is YES
Test #138:
score: 0
Accepted
time: 0ms
memory: 3332kb
input:
1919810 79104 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 ...
output:
NO
result:
ok answer is NO
Test #139:
score: 0
Accepted
time: 5ms
memory: 3968kb
input:
2797288 12328 130380 1915457 2598787 2365115 2603806 1042955 1211227 758465 1178361 45172 701845 2194408 964500 2652062 337563 666364 342860 1271190 685642 2647819 492391 1786459 78437 1696711 1360746 1313122 1333520 1208184 934012 1938397 2472301 1438944 898736 1599727 365003 379565 548351 67002 11...
output:
YES
result:
ok answer is YES
Test #140:
score: 0
Accepted
time: 21ms
memory: 6176kb
input:
1761424 61173 625989 583351 758353 44724 464861 610607 750894 775431 575376 478804 672367 104642 768415 36484 534165 775130 178374 384319 251935 741717 725196 511618 696134 97856 786831 442751 241584 20838 583366 597323 557848 40456 777813 146655 451692 869824 852092 447920 200814 328036 121817 5155...
output:
YES
result:
ok answer is YES
Test #141:
score: 0
Accepted
time: 5ms
memory: 3784kb
input:
590550 10017 27579 129428 47286 26157 192406 64579 72812 44867 181196 47716 68354 90113 132270 99505 126944 12921 24758 170379 47277 108456 193744 43357 141495 107836 53576 70788 77220 82929 11688 141934 144969 66136 39860 182851 118984 27865 46324 3831 12027 128143 4045 139618 43899 20705 133625 43...
output:
YES
result:
ok answer is YES
Test #142:
score: 0
Accepted
time: 15ms
memory: 5012kb
input:
8321056 34670 1867481 920962 328580 874198 542588 459183 1231389 1120764 244503 462819 415564 613468 556565 1736222 1741010 1845063 409170 789088 1045016 978480 112599 638968 480176 49344 1935209 648409 1744649 328451 1054754 325864 804366 153665 1853079 1536520 1706808 146725 1233992 795478 315968 ...
output:
YES
result:
ok answer is YES
Test #143:
score: 0
Accepted
time: 42ms
memory: 7596kb
input:
5573312 97343 695791 186113 187474 294041 87785 541935 241851 263301 136918 11730 272893 378153 552017 328202 151116 362504 261722 631219 497346 107687 461292 183525 262924 303521 372086 14125 415514 312932 37187 12418 622339 350146 555130 46088 63295 551297 429750 150752 21059 434019 164134 185614 ...
output:
NO
result:
ok answer is NO
Test #144:
score: 0
Accepted
time: 2ms
memory: 3512kb
input:
6924220 2684 207878 616925 170058 392540 426236 209639 402322 680661 217689 434048 156465 590112 535878 664472 387413 59011 101550 492538 452433 576601 293698 383285 128565 113486 338433 568707 365366 157947 618154 391705 75766 361657 303222 127304 136415 551627 631921 85510 445671 658321 241507 628...
output:
NO
result:
ok answer is NO
Test #145:
score: 0
Accepted
time: 3ms
memory: 3944kb
input:
7972470 14202 168620 11459 191678 384958 303512 317711 269273 189156 228853 495595 228652 371828 45039 301887 305223 472572 149499 22604 167250 65638 431000 500139 236828 197382 349759 448773 152914 84079 409185 511371 451612 486365 465262 45961 497340 101329 456785 159895 116017 510884 141644 32966...
output:
NO
result:
ok answer is NO
Test #146:
score: 0
Accepted
time: 12ms
memory: 3512kb
input:
80638 67307 2369 1667 1671 1803 378 1454 1368 804 1437 233 3010 1733 302 765 677 387 1985 1929 1192 2895 1307 740 1985 3031 427 2781 1850 1887 2438 1174 2504 653 422 3307 2434 2717 2580 1095 3358 2309 3143 2125 1690 1684 3348 3289 2317 324 2090 1642 3243 3498 523 1979 531 2797 518 103 174 1581 1638 ...
output:
YES
result:
ok answer is YES
Test #147:
score: 0
Accepted
time: 30ms
memory: 6244kb
input:
4604852 77573 45319 93446 142171 31384 130164 152994 96928 123882 148881 643 33534 60396 61347 7421 94876 32636 52996 128227 114365 61187 82091 154108 114599 68714 45562 97270 27118 49414 34771 135174 67121 8557 43492 45382 152169 23670 113752 98997 4761 27860 141615 98395 133147 65624 57017 49383 1...
output:
NO
result:
ok answer is NO
Test #148:
score: 0
Accepted
time: 15ms
memory: 5860kb
input:
8320989 60092 245850 109898 32326 109455 146041 73759 95845 219336 231080 176628 130390 267232 62059 128303 40904 208411 243905 8959 48795 188879 1388 218524 33705 19733 94209 238878 104207 147459 25597 33136 208183 235561 127828 217978 89878 127772 179230 89496 51255 3696 98838 152920 221474 250979...
output:
YES
result:
ok answer is YES
Test #149:
score: 0
Accepted
time: 10ms
memory: 4572kb
input:
4683497 28966 43500 98930 49127 32693 55616 58431 63247 103258 120081 38274 80257 77452 78826 21824 51031 67929 121393 12981 106076 52652 118373 110859 52385 101534 123619 125304 13096 79321 66439 65545 70371 90983 89985 73339 21378 45516 62076 113479 100773 110535 92665 30338 100745 98919 14783 110...
output:
NO
result:
ok answer is NO
Test #150:
score: 0
Accepted
time: 6ms
memory: 4156kb
input:
2311958 20915 5939 1096 56676 46855 47162 46817 30881 32484 38544 33802 5143 15581 31388 49515 12255 40607 34569 26262 46245 35572 52372 59851 12321 56853 28631 29746 51405 16958 19179 26285 53099 57275 13848 57447 52953 39172 42945 52955 18612 54199 18965 47834 5043 50974 42321 9079 24548 47600 538...
output:
NO
result:
ok answer is NO
Test #151:
score: 0
Accepted
time: 2ms
memory: 3488kb
input:
8920002 2807 62396 27574 72774 37632 73371 40146 18524 37490 43155 62682 85357 57864 25684 15736 25628 90816 61461 63291 97374 17206 62352 60500 45136 57011 55197 23021 68602 53611 24785 75876 31407 75763 96673 31430 22354 87098 1508 93205 33987 40290 4775 87289 90535 25072 53551 57767 91128 95932 6...
output:
NO
result:
ok answer is NO
Test #152:
score: 0
Accepted
time: 15ms
memory: 4800kb
input:
6186546 43599 20993 7423 48105 54496 12963 4090 4685 37284 36314 5235 12563 30499 21862 29220 66475 29613 56729 24570 19711 52566 36247 24732 28034 63043 54225 23935 54633 42750 64521 56859 63391 12776 41507 3136 55554 46482 18057 54623 34992 42343 61361 13060 60492 15973 26248 28335 37390 5352 3389...
output:
NO
result:
ok answer is NO
Test #153:
score: 0
Accepted
time: 18ms
memory: 5420kb
input:
8874668 61958 29269 54200 21077 79378 17145 7305 18918 17988 14583 72466 18148 61835 52045 75611 40656 27863 3890 62460 5980 45634 13774 50443 67424 58242 26819 52112 46518 73221 55509 70811 64406 25297 35947 85654 86251 18884 66860 40971 26524 62374 12403 12420 27444 84910 7038 68575 52386 13496 80...
output:
NO
result:
ok answer is NO
Test #154:
score: 0
Accepted
time: 10ms
memory: 4332kb
input:
2398355 59647 7017 8063 16467 18974 18529 14964 4372 13372 21351 14288 2529 21991 21553 7789 19151 218 9455 13718 12882 21724 954 21584 16145 13353 6858 16412 13754 9885 4132 14119 1735 22386 3053 21811 14226 12465 4473 6561 7103 8637 14341 7721 7303 14011 22366 14813 20149 20809 722 10367 17021 207...
output:
YES
result:
ok answer is YES
Test #155:
score: 0
Accepted
time: 2ms
memory: 4140kb
input:
2625420 24631 12943 17722 16896 5057 23690 24637 20236 11237 21309 23472 23225 10688 15285 7092 2938 13420 15995 12551 6334 17817 15687 6643 17848 3447 1096 15200 15059 19058 23686 10181 6243 1851 7554 16767 20142 9624 2058 10182 1731 22180 23587 5678 21663 7180 24893 13895 19014 17195 3122 18565 24...
output:
NO
result:
ok answer is NO
Test #156:
score: 0
Accepted
time: 29ms
memory: 5440kb
input:
8617138 65424 66760 10733 27519 21547 30263 37207 32940 14629 73239 18416 34306 9892 36795 766 76531 41347 17697 52527 56775 71798 1182 30514 27118 33238 51032 28520 15380 39937 26052 75538 48081 15460 26398 53511 32542 41494 77861 37889 21141 66911 55979 33375 44198 9671 47912 62687 78364 24108 300...
output:
NO
result:
ok answer is NO
Test #157:
score: 0
Accepted
time: 17ms
memory: 3996kb
input:
1521858 95817 12270 12999 6572 3051 7793 759 8287 13170 7664 4473 9480 11655 2395 10906 1552 3341 10183 6594 2568 12016 7928 8946 4050 13032 12975 1916 1677 5231 3336 6381 12775 8224 5076 1750 10909 1104 6626 2021 12930 11118 12907 5792 10174 4134 12043 6699 12088 8882 5359 13273 8402 10678 2599 931...
output:
NO
result:
ok answer is NO
Test #158:
score: 0
Accepted
time: 15ms
memory: 5232kb
input:
9426897 54144 46242 13165 64954 3969 68710 29818 73102 17098 712 6036 7906 22678 70042 57980 16800 25110 76416 32539 75054 72054 20883 68023 33954 5150 23321 2507 56261 75367 79703 34767 28312 33198 67282 23261 74059 16276 42658 57819 32886 72754 76856 29367 17140 68837 30680 68646 75959 2528 40593 ...
output:
NO
result:
ok answer is NO
Test #159:
score: 0
Accepted
time: 17ms
memory: 4564kb
input:
3828440 51832 12874 24011 3837 22256 27038 20693 12818 32442 10997 8717 1664 11062 14368 29567 14873 31912 10220 1248 30885 29374 16712 681 8693 845 28826 1951 19121 27548 5331 27438 10091 15727 26222 23186 24690 25509 15069 9180 14136 32035 7092 21435 33821 12872 15468 27704 18689 6279 1129 32617 3...
output:
NO
result:
ok answer is NO
Test #160:
score: 0
Accepted
time: 5ms
memory: 4496kb
input:
8603059 40950 3221 35750 7595 34401 23619 19244 23783 13375 2657 21658 28403 33131 8010 7712 34625 34540 32017 20928 14864 22133 2194 15490 1768 486 13441 5638 15699 28563 4580 27810 4627 16998 19086 24291 6308 27029 25444 17416 11878 5356 6889 6141 12029 35579 20192 17639 22555 20108 3620 7769 3794...
output:
YES
result:
ok answer is YES
Test #161:
score: 0
Accepted
time: 13ms
memory: 3392kb
input:
1035196 98403 180 790 347 797 240 50 913 2 934 913 77 568 58 328 647 393 520 728 732 769 386 440 1001 221 509 58 791 125 812 727 598 123 547 842 174 262 473 233 212 536 395 928 487 373 420 636 772 841 43 981 77 541 824 133 39 623 46 331 828 958 822 444 501 519 295 866 445 454 516 835 860 778 321 454...
output:
NO
result:
ok answer is NO
Test #162:
score: 0
Accepted
time: 12ms
memory: 3484kb
input:
3561770 63388 478 471 2522 831 2903 3334 522 1003 2366 2173 86 2878 2520 1812 192 794 3524 1411 1019 198 2584 2627 3121 1528 2255 1118 2864 2602 300 2030 2230 292 1836 2109 2805 2018 3221 1842 2208 2203 179 2389 3124 2724 1679 2736 704 1957 908 1031 1155 3266 334 1996 3436 1531 3504 2871 2884 2602 1...
output:
NO
result:
ok answer is NO
Test #163:
score: 0
Accepted
time: 11ms
memory: 3436kb
input:
5308183 69690 547 463 606 74 988 899 937 916 907 713 652 8 907 733 192 776 902 1027 539 18 618 415 589 283 179 621 898 517 422 6 691 589 788 410 387 681 166 710 3 95 61 664 271 42 722 609 687 605 458 933 872 453 208 363 589 597 21 1026 522 19 457 510 341 734 978 638 1023 1025 424 72 963 529 164 17 2...
output:
NO
result:
ok answer is NO
Test #164:
score: 0
Accepted
time: 4ms
memory: 3440kb
input:
5912955 52687 401 533 250 34 487 159 70 296 588 224 314 476 515 327 200 151 99 420 331 205 176 263 158 520 202 62 281 484 484 210 555 341 507 483 80 582 41 417 272 334 538 334 460 19 516 416 351 20 225 132 242 475 344 378 404 345 3 45 172 169 396 246 59 347 148 399 302 134 360 505 303 542 530 136 10...
output:
NO
result:
ok answer is NO
Test #165:
score: 0
Accepted
time: 10ms
memory: 3340kb
input:
1030721 93480 7 63 12 1 47 1 81 8 6 8 26 42 13 94 62 19 31 39 8 72 72 93 73 92 4 91 12 43 25 86 67 22 63 20 82 16 62 58 33 48 2 24 101 25 4 84 68 41 103 91 102 2 90 56 54 70 19 30 4 71 76 51 4 7 20 75 51 2 40 23 84 33 75 46 81 11 83 36 27 48 61 31 70 81 37 58 87 89 73 32 101 48 19 21 6 56 4 18 100 8...
output:
YES
result:
ok answer is YES
Test #166:
score: 0
Accepted
time: 4ms
memory: 3440kb
input:
6145526 23872 259 609 68 454 54 349 140 113 552 494 217 196 319 25 105 52 25 452 134 99 539 400 558 397 410 486 147 500 80 69 462 509 113 394 284 153 567 408 585 526 75 69 344 144 44 7 447 182 352 497 390 426 281 520 165 294 563 393 197 558 401 539 138 65 507 610 154 461 317 166 113 42 561 423 576 3...
output:
NO
result:
ok answer is NO
Test #167:
score: 0
Accepted
time: 7ms
memory: 3356kb
input:
810297 65346 1 9 11 15 20 1 6 20 24 1 24 3 5 7 13 22 17 20 9 4 21 4 20 16 8 8 27 18 3 24 8 24 19 20 23 22 7 19 25 22 14 16 5 3 13 27 18 2 14 2 25 6 20 4 6 15 25 4 19 13 14 15 20 2 17 16 9 20 22 27 11 26 12 18 18 18 15 15 22 3 13 22 27 16 6 16 10 18 26 7 13 26 24 16 9 4 8 19 24 19 10 1 20 11 8 27 26 ...
output:
YES
result:
ok answer is YES
Test #168:
score: 0
Accepted
time: 2ms
memory: 3364kb
input:
7353087 6087 101 100 88 33 39 104 23 143 62 80 118 3 30 140 70 32 48 86 135 127 128 113 142 81 80 77 120 138 141 143 30 106 100 108 146 38 34 3 127 141 132 107 120 57 115 42 81 99 59 18 40 144 124 29 108 136 91 81 105 62 118 70 44 105 14 77 8 147 59 71 45 21 81 46 17 115 77 134 58 106 11 27 110 83 1...
output:
NO
result:
ok answer is NO
Test #169:
score: 0
Accepted
time: 5ms
memory: 3392kb
input:
3801748 46880 11 44 5 53 13 64 42 62 27 60 8 49 44 40 39 27 73 26 47 20 25 72 28 47 1 40 15 27 37 3 55 63 34 43 41 23 70 55 52 44 43 63 38 60 52 29 50 12 18 57 7 28 36 50 67 46 4 59 6 16 44 48 19 66 26 58 62 9 45 14 13 66 65 38 46 63 6 70 2 61 74 73 10 60 70 29 9 23 62 71 19 33 14 57 25 33 45 29 2 3...
output:
YES
result:
ok answer is YES
Test #170:
score: 0
Accepted
time: 3ms
memory: 3340kb
input:
9004860 9554 150 94 96 60 98 20 28 55 30 34 161 70 8 157 97 152 117 117 133 59 42 108 28 88 14 28 32 148 130 76 91 96 149 143 60 106 44 114 116 50 47 92 141 134 130 13 38 94 25 152 116 17 161 20 99 98 136 144 87 20 105 27 83 147 38 33 130 125 112 31 121 125 123 27 107 159 50 166 21 57 15 172 10 8 74...
output:
NO
result:
ok answer is NO
Test #171:
score: 0
Accepted
time: 3ms
memory: 3332kb
input:
6527298 12637 7 6 27 25 21 53 53 25 21 23 5 16 50 54 51 38 30 52 8 12 8 16 39 45 1 3 2 20 2 4 51 39 44 25 37 39 2 7 19 4 52 7 40 53 40 15 3 33 15 49 11 3 43 35 18 47 57 42 34 31 39 26 9 18 17 4 12 14 48 34 7 37 33 18 42 20 50 49 56 32 51 40 13 51 24 29 51 31 37 52 17 54 4 56 33 29 48 36 48 51 57 31 ...
output:
NO
result:
ok answer is NO
Test #172:
score: 0
Accepted
time: 1ms
memory: 3392kb
input:
5759430 15990 3 1 3 3 1 1 3 2 1 3 1 2 2 3 2 3 3 3 2 2 3 2 2 3 3 1 1 2 1 1 2 3 1 3 1 3 2 3 3 1 2 2 3 2 2 2 3 1 3 2 2 2 1 3 2 3 1 1 1 2 1 2 1 3 2 3 3 2 3 3 3 1 2 3 1 2 2 2 2 1 2 2 1 1 2 3 1 2 1 1 1 1 3 1 1 2 3 3 3 1 3 2 1 2 3 3 3 3 3 2 1 2 3 1 1 1 1 2 2 3 1 2 3 1 2 3 2 2 1 3 1 1 3 2 1 2 1 2 3 2 1 2 3 ...
output:
NO
result:
ok answer is NO
Test #173:
score: 0
Accepted
time: 14ms
memory: 4764kb
input:
61850787 31121 15907880 19185413 8493404 61171606 57392985 57696810 60328107 27217815 18328157 30803983 35154635 14582398 60173631 16011647 48940141 20490942 1723171 6166579 44261838 9449977 37733082 14586578 30016326 35914997 30106465 16900367 16641108 13848068 618977 19465297 50777371 16368663 580...
output:
YES
result:
ok answer is YES
Test #174:
score: 0
Accepted
time: 39ms
memory: 7144kb
input:
69803014 79966 14935676 16342612 32710111 16490369 32588241 26998008 4574236 32794842 23691733 17415455 25124121 21421947 31109727 6113371 19667985 30721739 25659792 8829607 1530741 20517741 25463960 3921021 21854819 14561131 34090717 29525945 33131062 12878451 25600729 28546982 17486099 22904224 19...
output:
YES
result:
ok answer is YES
Test #175:
score: 0
Accepted
time: 35ms
memory: 7916kb
input:
489053775 96106 6785324 97888161 7414021 110492076 118176777 134253042 67126238 85773898 27306401 114181211 88352048 78414213 45057033 957082 150885233 98459421 152439077 62924116 147308947 3937971 154528168 93352118 68860784 13911265 102336422 95131660 98994750 18285230 151339161 138069428 15581741...
output:
YES
result:
ok answer is YES
Test #176:
score: 0
Accepted
time: 18ms
memory: 5912kb
input:
204535052 53462 22825443 35864192 38745207 39339989 9857429 32028691 802166 46229337 16763970 20508995 5121883 4263291 8684760 7273401 26056685 16567629 6100585 48192084 14844795 19956287 19591528 13676190 47097911 17083830 19410253 44982572 33028426 31793602 37383506 7074207 17140723 50863069 11757...
output:
NO
result:
ok answer is NO
Test #177:
score: 0
Accepted
time: 35ms
memory: 7272kb
input:
748001312 83432 92056972 28396115 6100113 16120776 39702883 75097613 11707053 59739295 68132920 74564084 38054779 92817036 19669347 17307679 3141257 74284050 19987253 61998636 66306452 21749599 74124801 65333492 41039452 45953412 74140804 77271748 34506926 45477247 67061673 92029442 16631975 4992212...
output:
NO
result:
ok answer is NO
Test #178:
score: 0
Accepted
time: 34ms
memory: 6956kb
input:
660728240 75606 32573884 38291818 9905168 26535369 745567 833436 19193251 51533107 45122383 51863380 20901607 25571369 22346005 54038846 43828654 25731257 4501981 15699291 18114734 37123590 16795374 17957776 27336961 54092128 11787933 50277894 33701902 5038825 19646521 6132156 18023622 44113360 4358...
output:
NO
result:
ok answer is NO
Test #179:
score: 0
Accepted
time: 44ms
memory: 7812kb
input:
774758280 95636 20181124 44221030 46336372 4795957 10150555 3546552 41045757 40902579 4980301 39803586 44776187 42817623 34544180 51529023 49581242 6077176 34796743 720102 18728661 31342087 4157184 25482244 42002798 47086561 19334222 9490303 30501360 33379384 20401004 42661460 30342486 19019842 2858...
output:
NO
result:
ok answer is NO
Test #180:
score: 0
Accepted
time: 4ms
memory: 4064kb
input:
348672709 14325 10719480 13004086 724346 2821280 9111566 7652566 9118652 9740423 7562212 4971943 2055619 14093974 4342646 8539708 2318984 457569 9998147 12185363 11235833 3353028 11540521 8589986 1070074 8716738 9978934 2010851 3401535 12590900 1128559 14352617 14519779 8693590 12934533 11504800 105...
output:
NO
result:
ok answer is NO
Test #181:
score: 0
Accepted
time: 37ms
memory: 7260kb
input:
156229293 83199 2438193 3375204 1684161 4922641 1774858 2006266 2440603 1738494 1207508 5030437 921449 2246956 4287278 1942972 1932625 4049284 1713599 3751754 2023528 4770275 3886579 240475 4235555 5168545 2312554 3704808 4701650 1837863 2228840 3674709 2186799 1569672 807656 2897023 5137251 2228661...
output:
NO
result:
ok answer is NO
Test #182:
score: 0
Accepted
time: 18ms
memory: 5280kb
input:
431195027 41526 13388220 11165472 2263731 10733815 4161819 12520497 13869384 1798023 12320096 11959931 11211972 7800621 5949157 10838383 12204231 356291 7025225 10105134 598666 1689678 13289149 1714584 468144 12225159 9679056 4062207 10404219 12556478 6931236 7899590 10789773 12482026 11736825 63478...
output:
YES
result:
ok answer is YES
Test #183:
score: 0
Accepted
time: 29ms
memory: 6992kb
input:
855374251 77696 23055897 12285536 11007674 979388 5234456 10650079 2487061 17516087 438098 14477653 17522492 6882511 16675553 21793576 22898890 3194016 18934796 10155218 2537632 17646517 18292495 4290628 2570904 12007642 2156624 13247594 7361457 3950084 12530533 16127878 17665087 1210798 329135 1692...
output:
YES
result:
ok answer is YES
Test #184:
score: 0
Accepted
time: 11ms
memory: 4596kb
input:
219488076 26540 2946893 3948825 1780980 2120842 1194107 1881013 4785778 5265744 2685358 5287742 3320315 5669091 3994385 501338 2903354 3021094 1950244 1560255 4016426 434617 5073830 2515481 142836 1202331 5193651 4227833 2128318 3725702 3073444 2864138 132635 4356945 3375837 5163099 4270231 4016948 ...
output:
NO
result:
ok answer is NO
Test #185:
score: 0
Accepted
time: 2ms
memory: 3704kb
input:
53835964 8432 489551 566491 246732 25031 583192 64619 174306 74452 386515 272478 28818 191107 58798 360304 58763 177036 461408 71999 480955 496187 290415 395145 37510 388626 211678 241411 581486 410902 449936 246019 524245 581035 582007 473154 98266 110831 510494 507243 337421 563219 482676 10419 22...
output:
NO
result:
ok answer is NO
Test #186:
score: 0
Accepted
time: 21ms
memory: 5708kb
input:
893479830 49225 532788 7624710 6498983 7776778 8987258 2499225 7389939 7163640 3677078 2982909 5670324 3994586 8159380 5408316 2361386 1693429 8087384 9549672 8526154 8779682 4755447 1262375 5200944 3215395 5845185 2632091 7782389 2452157 1434404 7936546 6447721 9530842 2729685 5647085 1630478 93080...
output:
NO
result:
ok answer is NO
Test #187:
score: 0
Accepted
time: 3ms
memory: 3492kb
input:
292131693 3366 2376928 1719256 1721547 2544338 2859013 2080286 1902892 1149200 2700570 445352 684194 577122 1110821 856787 1136855 2570019 73719 24375 1920658 854382 1674147 2642473 2057985 2317383 1494671 935715 812098 1224829 1122480 545062 2459806 1552970 335017 1360122 2159896 1212252 2212585 12...
output:
NO
result:
ok answer is NO
Test #188:
score: 0
Accepted
time: 25ms
memory: 6508kb
input:
687098683 68351 561945 3493748 3093098 5796010 2924744 4547222 3359037 3061665 2021124 4758812 5817117 3595798 6555209 5544789 925707 1615670 4089644 6096167 2092320 5038776 3214772 789737 3864059 220706 6309176 4357158 5803472 242525 4008780 5685995 6260362 1942735 4009427 6000043 1990897 3636324 4...
output:
YES
result:
ok answer is YES
Test #189:
score: 0
Accepted
time: 19ms
memory: 6480kb
input:
441483840 66040 3581129 1872137 2869475 420903 392256 1289111 2374982 3440711 2725375 103831 2990336 1772250 969101 3319388 192892 584487 3375959 2429314 2957190 547258 1062765 4048740 4098643 1341089 1563395 1109475 2800247 510832 2594098 2731750 4176876 3847230 3398260 669780 162066 727526 2362347...
output:
NO
result:
ok answer is NO
Test #190:
score: 0
Accepted
time: 11ms
memory: 5260kb
input:
403808691 39537 547525 1100591 2438476 737521 1261816 3321912 296485 1323582 309346 1003011 70679 3590448 3039287 2910781 1516714 683312 513754 3271855 2633826 2732015 2602981 956898 2048338 1777011 1428980 2752137 975653 1840960 73162 3317346 2615158 681208 3449581 2796584 1419119 2719721 100746 24...
output:
NO
result:
ok answer is NO
Test #191:
score: 0
Accepted
time: 16ms
memory: 5088kb
input:
892019158 37225 76140 2121609 5588835 3510743 1729168 2854633 1864404 4075298 6287605 4109437 4314263 3510949 2425501 7677105 5261566 314260 8009250 6960497 4572999 6043939 1038367 2947603 215587 5248212 1562052 7472931 901058 735505 437752 7034107 2964855 3586048 2357673 8131409 6678341 382822 8625...
output:
YES
result:
ok answer is YES
Test #192:
score: 0
Accepted
time: 43ms
memory: 7696kb
input:
190534941 95552 1026057 983268 1461583 851988 238406 10006 427330 1328817 1541533 1317950 1338168 1591031 505505 1459158 422725 1099025 1368542 577888 714032 480158 788485 406880 697981 316712 739676 967786 1361010 290187 959602 835636 1463809 1316705 272396 1267313 53922 1252912 1635281 556867 4868...
output:
NO
result:
ok answer is NO
Test #193:
score: 0
Accepted
time: 38ms
memory: 7676kb
input:
762505581 93241 6351777 2038455 852109 2878614 5808032 2093299 1484059 3232853 6057276 1032413 6041210 4200496 608303 2119414 3096103 1598308 4228046 6095345 2508810 5990559 1360323 3267872 6375193 483244 5635784 2974372 4775267 845014 4493248 922114 2827837 1913100 2123401 3140911 2870633 4610805 4...
output:
NO
result:
ok answer is NO
Test #194:
score: 0
Accepted
time: 7ms
memory: 4044kb
input:
289819846 15062 614082 770926 493 614617 939658 25153 1053574 700317 1053203 231000 687414 692216 909919 577776 1164014 337364 1125343 369677 608566 1213245 198308 551391 787679 737061 592180 694992 492277 1056535 46078 422773 286795 384735 419740 281278 545568 1177608 63284 432447 869282 1151927 55...
output:
YES
result:
ok answer is YES
Test #195:
score: 0
Accepted
time: 4ms
memory: 4232kb
input:
476187139 18304 400666 260017 130278 119003 118915 122000 2611 183442 426356 262395 431745 170749 21126 83407 433407 418067 266439 311008 365091 275368 155168 82479 421058 356275 86277 187870 286047 380051 448187 463292 174093 384659 449767 471815 77228 84586 354625 433389 202179 57353 78212 219494 ...
output:
NO
result:
ok answer is NO
Test #196:
score: 0
Accepted
time: 30ms
memory: 7384kb
input:
755035709 91801 1126 177671 187666 122341 275758 307155 360222 204617 114349 105014 551874 274953 77047 424253 723833 652628 354689 12988 116599 184715 314301 726114 6021 376393 705217 39586 113413 564322 164601 531298 117464 67291 651656 649809 563284 726319 271500 465854 385698 264353 223690 34709...
output:
YES
result:
ok answer is YES
Test #197:
score: 0
Accepted
time: 31ms
memory: 6820kb
input:
840844204 98104 38446 75643 3349 136288 3434 27955 8040 77451 36007 9423 9658 96065 25872 119530 84948 75333 2255 101288 101010 160476 153724 62884 160701 120516 82484 49570 159229 26729 89834 68093 96340 103287 133705 132854 110141 16330 147713 88036 39586 6709 4897 75278 57526 127400 122599 75628 ...
output:
YES
result:
ok answer is YES
Test #198:
score: 0
Accepted
time: 10ms
memory: 4336kb
input:
610445070 24165 3290 142 1824 55220 21914 13689 22966 7163 5615 55430 43255 9462 51129 13068 6129 50424 45827 27011 57118 18475 3678 30727 29500 35359 35794 51755 38256 58103 45196 60713 17839 16677 38361 50065 9645 5110 24246 49593 32532 908 18531 565 24794 12327 35363 27644 23245 5393 2803 8827 50...
output:
NO
result:
ok answer is NO
Test #199:
score: 0
Accepted
time: 11ms
memory: 4576kb
input:
972740442 30366 89700 77653 11681 2273 18307 53181 95453 84030 30581 2348 73903 75438 1155 10009 73126 55124 88907 26337 4689 30596 608 16753 52792 53470 65863 43839 23455 94364 45583 70085 56193 24045 72908 78100 6898 69150 50953 84153 78451 43873 90865 27244 21079 19404 70796 81480 85375 28638 816...
output:
NO
result:
ok answer is NO
Test #200:
score: 0
Accepted
time: 17ms
memory: 3592kb
input:
55289716 95350 2769 5217 594 1983 4915 5187 4144 3226 2724 1695 898 5331 41 5069 3799 1622 3811 728 3274 2760 685 3861 660 976 2381 4777 785 2398 387 138 3772 2104 286 2862 2264 2580 5369 2116 4747 448 2787 4729 1794 1117 671 5212 863 291 1572 610 266 756 2526 888 1861 3233 60 4448 3577 1536 3640 16...
output:
NO
result:
ok answer is NO
Test #201:
score: 0
Accepted
time: 12ms
memory: 3924kb
input:
399086278 69528 6631 12730 4661 7161 219 6113 4477 4316 859 3571 6005 1466 372 10394 1558 164 7109 3219 1742 4482 2058 8204 13126 13292 1805 4777 7467 7817 11984 12181 1487 5352 1780 8019 4715 4311 1992 829 2344 2689 10441 116 2135 12310 971 6795 10954 5504 9358 7604 11728 6847 11234 3877 4726 8336 ...
output:
NO
result:
ok answer is NO
Test #202:
score: 0
Accepted
time: 13ms
memory: 3796kb
input:
495608068 77565 3823 352 1628 2186 2816 8015 5326 3711 2678 1843 4494 6103 5046 432 8853 739 6311 8957 6375 5203 4378 2392 592 3829 4838 3601 1744 4134 2245 976 4636 7256 4009 8714 1147 310 4864 5695 726 5595 5364 5707 8057 6979 8120 4869 7868 819 297 5755 1379 5418 17 2897 4714 9191 3076 7346 5061 ...
output:
NO
result:
ok answer is NO
Test #203:
score: 0
Accepted
time: 10ms
memory: 3576kb
input:
262420658 51062 2802 2951 2599 4943 3707 2303 514 5246 535 3355 3910 660 382 618 2925 1955 1645 2052 984 3857 4491 2547 2000 1974 843 2081 663 5091 3634 6 2872 2648 3513 2128 381 3902 3361 1293 3064 4247 2086 542 1573 3144 4939 1725 588 2933 3668 2503 1745 5120 4203 2144 991 27 3966 4450 3149 488 28...
output:
NO
result:
ok answer is NO
Test #204:
score: 0
Accepted
time: 5ms
memory: 3788kb
input:
937906196 13736 8032 7562 3774 5903 17144 7331 16458 11293 2640 2201 4723 5555 10900 4379 1851 9124 5360 4421 2194 10738 7854 775 7974 7471 16929 15127 7590 16412 2758 14066 919 8518 5382 1347 11218 12767 16445 611 3955 10109 4382 13582 7333 5936 13293 6237 12792 719 7235 14654 4862 17708 17818 4371...
output:
NO
result:
ok answer is NO
Test #205:
score: 0
Accepted
time: 10ms
memory: 3620kb
input:
692008102 71243 2712 2751 2874 1855 4337 1744 3644 3478 4140 2270 3721 3137 1617 3254 714 530 3131 1499 4795 5639 617 3278 1657 1385 1255 3251 210 4922 3673 3180 1799 3484 3265 5702 4003 3916 3831 4068 4862 315 1384 4540 910 2890 2644 48 5740 3428 816 2593 4695 4586 4708 4640 120 2605 4260 5028 5034...
output:
NO
result:
ok answer is NO
Test #206:
score: 0
Accepted
time: 4ms
memory: 3340kb
input:
172782900 62225 5 28 89 19 44 63 72 18 11 59 46 20 22 7 59 3 11 4 14 15 89 21 25 1 48 8 46 68 72 56 19 7 68 18 78 81 37 26 25 53 4 16 66 71 80 16 41 9 60 51 59 45 56 53 59 21 87 79 78 26 43 87 74 89 66 70 76 90 14 14 79 42 30 83 6 34 60 21 31 20 23 78 10 73 36 79 49 50 18 50 44 2 8 5 58 16 69 73 77 ...
output:
NO
result:
ok answer is NO