QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#105913 | #6363. Card Game | DitaMirika | RE | 8ms | 3680kb | C++14 | 525b | 2023-05-15 22:30:35 | 2023-05-15 22:30:38 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
详细
Test #1:
score: 100
Accepted
time: 2ms
memory: 3332kb
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: 0ms
memory: 3472kb
input:
4 2 1 1
output:
NO
result:
ok answer is NO
Test #3:
score: 0
Accepted
time: 2ms
memory: 3260kb
input:
8 5 8 5 4 2 7
output:
YES
result:
ok answer is YES
Test #4:
score: 0
Accepted
time: 2ms
memory: 3332kb
input:
2 1 1
output:
NO
result:
ok answer is NO
Test #5:
score: 0
Accepted
time: 0ms
memory: 3316kb
input:
6 3 1 2 1
output:
NO
result:
ok answer is NO
Test #6:
score: 0
Accepted
time: 0ms
memory: 3328kb
input:
8 2 1 2
output:
NO
result:
ok answer is NO
Test #7:
score: 0
Accepted
time: 0ms
memory: 3472kb
input:
8 3 1 1 1
output:
NO
result:
ok answer is NO
Test #8:
score: 0
Accepted
time: 2ms
memory: 3260kb
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: 2ms
memory: 3308kb
input:
15 1 1
output:
NO
result:
ok answer is NO
Test #10:
score: 0
Accepted
time: 2ms
memory: 3328kb
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: 2ms
memory: 3256kb
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: 3ms
memory: 3476kb
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: 3336kb
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: 3328kb
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: 2ms
memory: 3260kb
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: 3252kb
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: 3492kb
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: 2ms
memory: 3332kb
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: 3336kb
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: 3336kb
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: 2ms
memory: 3312kb
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: 3492kb
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: 0ms
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: 3440kb
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: 3268kb
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: 3384kb
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: 2ms
memory: 3260kb
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: 0ms
memory: 3332kb
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: 0ms
memory: 3340kb
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: 3496kb
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: 3272kb
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: 3ms
memory: 3340kb
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: 1ms
memory: 3320kb
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: 4ms
memory: 3336kb
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: 3268kb
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: 5ms
memory: 3260kb
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: 0ms
memory: 3264kb
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: 0ms
memory: 3380kb
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: 3376kb
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: 1ms
memory: 3336kb
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: 0ms
memory: 3264kb
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: 2ms
memory: 3420kb
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: 0ms
memory: 3444kb
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: 3264kb
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: 3468kb
input:
29 1 1
output:
NO
result:
ok answer is NO
Test #46:
score: 0
Accepted
time: 2ms
memory: 3372kb
input:
31 3 1 1 1
output:
YES
result:
ok answer is YES
Test #47:
score: 0
Accepted
time: 2ms
memory: 3264kb
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: 1ms
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: 3476kb
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: 3304kb
input:
93 1 1
output:
NO
result:
ok answer is NO
Test #51:
score: 0
Accepted
time: 2ms
memory: 3476kb
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: 3308kb
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: 3304kb
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: 1ms
memory: 3324kb
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: 2ms
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: 2ms
memory: 3472kb
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: 3328kb
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: 2ms
memory: 3336kb
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: 3264kb
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: 3272kb
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: 4ms
memory: 3452kb
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: 2ms
memory: 3340kb
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: 3296kb
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: 3336kb
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: 1ms
memory: 3448kb
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: 4ms
memory: 3492kb
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: 1ms
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: 3ms
memory: 3264kb
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: 3496kb
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: 3ms
memory: 3400kb
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: 3300kb
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: 3268kb
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: 3296kb
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: 3340kb
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: 2ms
memory: 3332kb
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: 3320kb
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: 2ms
memory: 3340kb
input:
60 1 3
output:
NO
result:
ok answer is NO
Test #78:
score: 0
Accepted
time: 2ms
memory: 3272kb
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: 3440kb
input:
203 5 1 6 6 4 1
output:
NO
result:
ok answer is NO
Test #80:
score: 0
Accepted
time: 0ms
memory: 3496kb
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: 3268kb
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: 2ms
memory: 3376kb
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: 1ms
memory: 3332kb
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: 3380kb
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: 2ms
memory: 3312kb
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: 1ms
memory: 3500kb
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: 3336kb
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: 2ms
memory: 3308kb
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: 1ms
memory: 3268kb
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: 2ms
memory: 3380kb
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: 0ms
memory: 3264kb
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: 3288kb
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: 2ms
memory: 3380kb
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: 1ms
memory: 3272kb
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: 3264kb
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: 3264kb
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: 3324kb
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: 3312kb
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: 1ms
memory: 3480kb
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: 2ms
memory: 3496kb
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: 4ms
memory: 3268kb
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: 5ms
memory: 3344kb
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: 3328kb
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: 3264kb
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: 8ms
memory: 3680kb
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: 2ms
memory: 3524kb
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: 3388kb
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: 2ms
memory: 3356kb
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: 2ms
memory: 3408kb
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: 3ms
memory: 3276kb
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: 3340kb
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: 3ms
memory: 3392kb
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: 3ms
memory: 3384kb
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: 3ms
memory: 3488kb
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: 2ms
memory: 3340kb
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: 0ms
memory: 3344kb
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: 6ms
memory: 3500kb
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: 2ms
memory: 3500kb
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: 0ms
memory: 3268kb
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: 2ms
memory: 3384kb
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: 4ms
memory: 3444kb
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: 4ms
memory: 3268kb
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: 1ms
memory: 3336kb
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: 3272kb
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: 0ms
memory: 3296kb
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: 5ms
memory: 3268kb
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: 0ms
memory: 3336kb
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: 3452kb
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: 0ms
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: 1ms
memory: 3320kb
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: 0ms
memory: 3448kb
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: 4ms
memory: 3276kb
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: 3ms
memory: 3324kb
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: 4ms
memory: 3480kb
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: 2ms
memory: 3420kb
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: 3308kb
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: 3ms
memory: 3268kb
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: 6ms
memory: 3260kb
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: -100
Runtime Error
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...