QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#447169#8651. Table Tennisegypt_ioi2024_0927 1ms3884kbC++201.5kb2024-06-18 01:25:482024-06-18 01:25:49

Details

Tip: Click on the bar to expand more detailed information

Subtask #1:

score: 0
Time Limit Exceeded

Test #1:

score: 0
Time Limit Exceeded

input:

97
3 0
4 0
5 0
6 0
7 0
8 0
9 0
10 0
11 0
12 0
13 0
14 0
15 0
16 0
17 0
18 0
19 0
20 0
21 0
22 0
23 0
24 0
25 0
26 0
27 0
28 0
29 0
30 0
31 0
32 0
33 0
34 0
35 0
36 0
37 0
38 0
39 0
40 0
41 0
42 0
43 0
44 0
45 0
46 0
47 0
48 0
49 0
50 0
51 0
52 0
53 0
54 0
55 0
56 0
57 0
58 0
59 0
60 0
61 0
62 0
63 0...

output:

Yes
0
00
Yes
0
00
000
Yes
0
00
000
0000
Yes
0
00
000
0000
00000
Yes
0
00
000
0000
00000
000000
Yes
0
00
000
0000
00000
000000
0000000
Yes
0
00
000
0000
00000
000000
0000000
00000000
Yes
0
00
000
0000
00000
000000
0000000
00000000
000000000
Yes
0
00
000
0000
00000
000000
0000000
00000000
000000000
00...

result:


Subtask #2:

score: 4
Accepted

Test #58:

score: 4
Accepted
time: 0ms
memory: 3592kb

input:

1
4 4

output:

No

result:

ok good job! (1 test case)

Test #59:

score: 0
Accepted
time: 0ms
memory: 3628kb

input:

1
5 10

output:

No

result:

ok good job! (1 test case)

Test #60:

score: 0
Accepted
time: 0ms
memory: 3564kb

input:

1
6 20

output:

No

result:

ok good job! (1 test case)

Test #61:

score: 0
Accepted
time: 0ms
memory: 3656kb

input:

1
7 35

output:

No

result:

ok good job! (1 test case)

Test #62:

score: 0
Accepted
time: 0ms
memory: 3884kb

input:

1
5 10

output:

No

result:

ok good job! (1 test case)

Test #63:

score: 0
Accepted
time: 0ms
memory: 3628kb

input:

1
6 19

output:

No

result:

ok good job! (1 test case)

Test #64:

score: 0
Accepted
time: 0ms
memory: 3560kb

input:

1
6 20

output:

No

result:

ok good job! (1 test case)

Test #65:

score: 0
Accepted
time: 0ms
memory: 3864kb

input:

1
7 33

output:

No

result:

ok good job! (1 test case)

Test #66:

score: 0
Accepted
time: 0ms
memory: 3856kb

input:

1
7 33

output:

No

result:

ok good job! (1 test case)

Test #67:

score: 0
Accepted
time: 0ms
memory: 3564kb

input:

1
4 3

output:

No

result:

ok good job! (1 test case)

Test #68:

score: 0
Accepted
time: 0ms
memory: 3788kb

input:

1
5 8

output:

No

result:

ok good job! (1 test case)

Test #69:

score: 0
Accepted
time: 0ms
memory: 3552kb

input:

1
6 17

output:

No

result:

ok good job! (1 test case)

Test #70:

score: 0
Accepted
time: 0ms
memory: 3856kb

input:

1
7 30

output:

No

result:

ok good job! (1 test case)

Test #71:

score: 0
Accepted
time: 0ms
memory: 3788kb

input:

2
3 0
3 1

output:

Yes
0
00
Yes
0
10

result:

ok good job! (2 test cases)

Test #72:

score: 0
Accepted
time: 0ms
memory: 3560kb

input:

2
3 0
3 1

output:

Yes
0
00
Yes
0
10

result:

ok good job! (2 test cases)

Test #73:

score: 0
Accepted
time: 0ms
memory: 3788kb

input:

1
4 2

output:

Yes
0
00
100

result:

ok good job! (1 test case)

Test #74:

score: 0
Accepted
time: 0ms
memory: 3556kb

input:

1
5 5

output:

Yes
0
00
100
1100

result:

ok good job! (1 test case)

Test #75:

score: 0
Accepted
time: 0ms
memory: 3556kb

input:

1
6 8

output:

Yes
0
00
000
1000
11000

result:

ok good job! (1 test case)

Test #76:

score: 0
Accepted
time: 0ms
memory: 3848kb

input:

1
7 14

output:

Yes
0
00
000
1000
11000
111000

result:

ok good job! (1 test case)

Test #77:

score: 0
Accepted
time: 0ms
memory: 3556kb

input:

1
6 5

output:

Yes
0
00
000
0000
10100

result:

ok good job! (1 test case)

Test #78:

score: 0
Accepted
time: 0ms
memory: 3852kb

input:

1
6 4

output:

Yes
0
00
000
0000
10000

result:

ok good job! (1 test case)

Test #79:

score: 0
Accepted
time: 0ms
memory: 3592kb

input:

1
7 7

output:

Yes
0
00
000
0000
00000
101000

result:

ok good job! (1 test case)

Test #80:

score: 0
Accepted
time: 0ms
memory: 3652kb

input:

1
7 6

output:

Yes
0
00
000
0000
00000
100100

result:

ok good job! (1 test case)

Test #81:

score: 0
Accepted
time: 0ms
memory: 3868kb

input:

1
7 8

output:

Yes
0
00
000
0000
00000
110000

result:

ok good job! (1 test case)

Test #82:

score: 0
Accepted
time: 0ms
memory: 3504kb

input:

1
6 7

output:

Yes
0
00
000
0100
11000

result:

ok good job! (1 test case)

Test #83:

score: 0
Accepted
time: 0ms
memory: 3552kb

input:

1
6 6

output:

Yes
0
00
000
0000
11000

result:

ok good job! (1 test case)

Test #84:

score: 0
Accepted
time: 0ms
memory: 3624kb

input:

1
7 11

output:

Yes
0
00
000
0000
01000
111000

result:

ok good job! (1 test case)

Test #85:

score: 0
Accepted
time: 0ms
memory: 3788kb

input:

1
7 11

output:

Yes
0
00
000
0000
01000
111000

result:

ok good job! (1 test case)

Test #86:

score: 0
Accepted
time: 0ms
memory: 3484kb

input:

1
7 13

output:

Yes
0
00
000
0000
11000
111000

result:

ok good job! (1 test case)

Test #87:

score: 0
Accepted
time: 0ms
memory: 3820kb

input:

1
6 6

output:

Yes
0
00
000
0000
11000

result:

ok good job! (1 test case)

Test #88:

score: 0
Accepted
time: 0ms
memory: 3560kb

input:

1
7 9

output:

Yes
0
00
000
0000
00000
111000

result:

ok good job! (1 test case)

Test #89:

score: 0
Accepted
time: 0ms
memory: 3556kb

input:

1
4 3

output:

No

result:

ok good job! (1 test case)

Test #90:

score: 0
Accepted
time: 0ms
memory: 3788kb

input:

1
5 10

output:

No

result:

ok good job! (1 test case)

Test #91:

score: 0
Accepted
time: 0ms
memory: 3864kb

input:

1
6 13

output:

No

result:

ok good job! (1 test case)

Test #92:

score: 0
Accepted
time: 0ms
memory: 3628kb

input:

1
7 23

output:

No

result:

ok good job! (1 test case)

Test #93:

score: 0
Accepted
time: 0ms
memory: 3552kb

input:

1
6 5

output:

Yes
0
00
000
0000
10100

result:

ok good job! (1 test case)

Test #94:

score: 0
Accepted
time: 0ms
memory: 3564kb

input:

1
6 2

output:

Yes
0
00
000
0000
00100

result:

ok good job! (1 test case)

Test #95:

score: 0
Accepted
time: 0ms
memory: 3556kb

input:

1
7 7

output:

Yes
0
00
000
0000
00000
101000

result:

ok good job! (1 test case)

Test #96:

score: 0
Accepted
time: 0ms
memory: 3792kb

input:

1
7 6

output:

Yes
0
00
000
0000
00000
100100

result:

ok good job! (1 test case)

Test #97:

score: 0
Accepted
time: 0ms
memory: 3564kb

input:

1
7 8

output:

Yes
0
00
000
0000
00000
110000

result:

ok good job! (1 test case)

Test #98:

score: 0
Accepted
time: 0ms
memory: 3616kb

input:

1
6 5

output:

Yes
0
00
000
0000
10100

result:

ok good job! (1 test case)

Test #99:

score: 0
Accepted
time: 0ms
memory: 3620kb

input:

1
6 4

output:

Yes
0
00
000
0000
10000

result:

ok good job! (1 test case)

Test #100:

score: 0
Accepted
time: 0ms
memory: 3556kb

input:

1
7 7

output:

Yes
0
00
000
0000
00000
101000

result:

ok good job! (1 test case)

Test #101:

score: 0
Accepted
time: 0ms
memory: 3596kb

input:

1
7 6

output:

Yes
0
00
000
0000
00000
100100

result:

ok good job! (1 test case)

Test #102:

score: 0
Accepted
time: 0ms
memory: 3628kb

input:

1
7 8

output:

Yes
0
00
000
0000
00000
110000

result:

ok good job! (1 test case)

Test #103:

score: 0
Accepted
time: 0ms
memory: 3552kb

input:

1
6 1

output:

Yes
0
00
000
0000
00010

result:

ok good job! (1 test case)

Test #104:

score: 0
Accepted
time: 0ms
memory: 3660kb

input:

1
6 1

output:

Yes
0
00
000
0000
00010

result:

ok good job! (1 test case)

Test #105:

score: 0
Accepted
time: 0ms
memory: 3632kb

input:

1
7 3

output:

Yes
0
00
000
0000
00000
001000

result:

ok good job! (1 test case)

Test #106:

score: 0
Accepted
time: 0ms
memory: 3620kb

input:

1
7 3

output:

Yes
0
00
000
0000
00000
001000

result:

ok good job! (1 test case)

Test #107:

score: 0
Accepted
time: 0ms
memory: 3864kb

input:

1
7 3

output:

Yes
0
00
000
0000
00000
001000

result:

ok good job! (1 test case)

Test #108:

score: 0
Accepted
time: 0ms
memory: 3508kb

input:

1
5 2

output:

Yes
0
00
000
0100

result:

ok good job! (1 test case)

Test #109:

score: 0
Accepted
time: 0ms
memory: 3848kb

input:

1
6 5

output:

Yes
0
00
000
0000
10100

result:

ok good job! (1 test case)

Test #110:

score: 0
Accepted
time: 0ms
memory: 3620kb

input:

2
4 1
3 0

output:

Yes
0
00
010
Yes
0
00

result:

ok good job! (2 test cases)

Test #111:

score: 0
Accepted
time: 0ms
memory: 3560kb

input:

1
6 1

output:

Yes
0
00
000
0000
00010

result:

ok good job! (1 test case)

Test #112:

score: 0
Accepted
time: 0ms
memory: 3620kb

input:

2
3 0
3 1

output:

Yes
0
00
Yes
0
10

result:

ok good job! (2 test cases)

Test #113:

score: 0
Accepted
time: 0ms
memory: 3624kb

input:

1
6 1

output:

Yes
0
00
000
0000
00010

result:

ok good job! (1 test case)

Test #114:

score: 0
Accepted
time: 0ms
memory: 3556kb

input:

1
6 4

output:

Yes
0
00
000
0000
10000

result:

ok good job! (1 test case)

Test #115:

score: 0
Accepted
time: 0ms
memory: 3788kb

input:

1
7 14

output:

Yes
0
00
000
1000
11000
111000

result:

ok good job! (1 test case)

Test #116:

score: 0
Accepted
time: 0ms
memory: 3556kb

input:

1
7 8

output:

Yes
0
00
000
0000
00000
110000

result:

ok good job! (1 test case)

Test #117:

score: 0
Accepted
time: 0ms
memory: 3560kb

input:

1
7 10

output:

Yes
0
00
000
0000
00100
111000

result:

ok good job! (1 test case)

Subtask #3:

score: 23
Accepted

Dependency #2:

100%
Accepted

Test #118:

score: 23
Accepted
time: 1ms
memory: 3632kb

input:

1
19 969

output:

No

result:

ok good job! (1 test case)

Test #119:

score: 0
Accepted
time: 1ms
memory: 3664kb

input:

1
20 1140

output:

No

result:

ok good job! (1 test case)

Test #120:

score: 0
Accepted
time: 1ms
memory: 3856kb

input:

1
19 968

output:

No

result:

ok good job! (1 test case)

Test #121:

score: 0
Accepted
time: 1ms
memory: 3512kb

input:

1
19 969

output:

No

result:

ok good job! (1 test case)

Test #122:

score: 0
Accepted
time: 1ms
memory: 3564kb

input:

1
20 1138

output:

No

result:

ok good job! (1 test case)

Test #123:

score: 0
Accepted
time: 1ms
memory: 3508kb

input:

1
20 1138

output:

No

result:

ok good job! (1 test case)

Test #124:

score: 0
Accepted
time: 1ms
memory: 3856kb

input:

1
20 1140

output:

No

result:

ok good job! (1 test case)

Test #125:

score: 0
Accepted
time: 1ms
memory: 3556kb

input:

1
19 846

output:

No

result:

ok good job! (1 test case)

Test #126:

score: 0
Accepted
time: 1ms
memory: 3568kb

input:

1
20 1003

output:

No

result:

ok good job! (1 test case)

Test #127:

score: 0
Accepted
time: 0ms
memory: 3820kb

input:

5
3 0
3 1
4 0
4 1
4 2

output:

Yes
0
00
Yes
0
10
Yes
0
00
000
Yes
0
00
010
Yes
0
00
100

result:

ok good job! (5 test cases)

Test #128:

score: 0
Accepted
time: 0ms
memory: 3628kb

input:

5
3 0
3 1
4 0
4 1
4 2

output:

Yes
0
00
Yes
0
10
Yes
0
00
000
Yes
0
00
010
Yes
0
00
100

result:

ok good job! (5 test cases)

Test #129:

score: 0
Accepted
time: 1ms
memory: 3796kb

input:

1
19 285

output:

Yes
0
00
000
0000
00000
000000
0000000
00000000
000000000
1000000000
11000000000
111000000000
1111000000000
11111000000000
111111000000000
1111111000000000
11111111000000000
111111111000000000

result:

ok good job! (1 test case)

Test #130:

score: 0
Accepted
time: 1ms
memory: 3620kb

input:

1
20 330

output:

Yes
0
00
000
0000
00000
000000
0000000
00000000
000000000
0000000000
10000000000
110000000000
1110000000000
11110000000000
111110000000000
1111110000000000
11111110000000000
111111110000000000
1111111110000000000

result:

ok good job! (1 test case)

Test #131:

score: 0
Accepted
time: 1ms
memory: 3564kb

input:

1
19 274

output:

Yes
0
00
000
0000
00000
000000
0000000
00000000
000000000
0000000000
00000000000
001000000000
1111000000000
11111000000000
111111000000000
1111111000000000
11111111000000000
111111111000000000

result:

ok good job! (1 test case)

Test #132:

score: 0
Accepted
time: 0ms
memory: 3560kb

input:

1
19 271

output:

Yes
0
00
000
0000
00000
000000
0000000
00000000
000000000
0000000000
00000000000
000000000000
1111000000000
11111000000000
111111000000000
1111111000000000
11111111000000000
111111111000000000

result:

ok good job! (1 test case)

Test #133:

score: 0
Accepted
time: 1ms
memory: 3656kb

input:

1
20 289

output:

Yes
0
00
000
0000
00000
000000
0000000
00000000
000000000
0000000000
00000000000
000000000000
0000000000000
00000000000000
111101000000000
1111110000000000
11111110000000000
111111110000000000
1111111110000000000

result:

ok good job! (1 test case)

Test #134:

score: 0
Accepted
time: 1ms
memory: 3860kb

input:

1
20 328

output:

Yes
0
00
000
0000
00000
000000
0000000
00000000
000000000
0000000000
00000000000
110000000000
1110000000000
11110000000000
111110000000000
1111110000000000
11111110000000000
111111110000000000
1111111110000000000

result:

ok good job! (1 test case)

Test #135:

score: 0
Accepted
time: 1ms
memory: 3552kb

input:

1
20 313

output:

Yes
0
00
000
0000
00000
000000
0000000
00000000
000000000
0000000000
00000000000
000000000000
0001000000000
11110000000000
111110000000000
1111110000000000
11111110000000000
111111110000000000
1111111110000000000

result:

ok good job! (1 test case)

Test #136:

score: 0
Accepted
time: 1ms
memory: 3632kb

input:

1
19 114

output:

Yes
0
00
000
0000
00000
000000
0000000
00000000
000000000
0000000000
00000000000
000000000000
0000000000000
00000000000000
000000000000000
0000000000000000
11000000100000000
111111111000000000

result:

ok good job! (1 test case)

Test #137:

score: 0
Accepted
time: 1ms
memory: 3636kb

input:

1
19 96

output:

Yes
0
00
000
0000
00000
000000
0000000
00000000
000000000
0000000000
00000000000
000000000000
0000000000000
00000000000000
000000000000000
0000000000000000
10000000000000000
111111111000000000

result:

ok good job! (1 test case)

Test #138:

score: 0
Accepted
time: 1ms
memory: 3824kb

input:

1
20 152

output:

Yes
0
00
000
0000
00000
000000
0000000
00000000
000000000
0000000000
00000000000
000000000000
0000000000000
00000000000000
000000000000000
0000000000000000
00000000000000000
111110000010000000
1111111110000000000

result:

ok good job! (1 test case)

Test #139:

score: 0
Accepted
time: 1ms
memory: 3560kb

input:

1
20 250

output:

Yes
0
00
000
0000
00000
000000
0000000
00000000
000000000
0000000000
00000000000
000000000000
0000000000000
00000000000000
000000000000000
1110000000100000
11111110000000000
111111110000000000
1111111110000000000

result:

ok good job! (1 test case)

Test #140:

score: 0
Accepted
time: 1ms
memory: 3620kb

input:

1
20 28

output:

Yes
0
00
000
0000
00000
000000
0000000
00000000
000000000
0000000000
00000000000
000000000000
0000000000000
00000000000000
000000000000000
0000000000000000
00000000000000000
000000000000000000
1000000100000000000

result:

ok good job! (1 test case)

Test #141:

score: 0
Accepted
time: 1ms
memory: 3852kb

input:

1
19 231

output:

Yes
0
00
000
0000
00000
000000
0000000
00000000
000000000
0000000000
00000000000
000000000000
0000000000000
00000000000010
111111000000000
1111111000000000
11111111000000000
111111111000000000

result:

ok good job! (1 test case)

Test #142:

score: 0
Accepted
time: 1ms
memory: 3632kb

input:

1
19 270

output:

Yes
0
00
000
0000
00000
000000
0000000
00000000
000000000
0000000000
00000000000
000000000000
1110000000000
11111000000000
111111000000000
1111111000000000
11111111000000000
111111111000000000

result:

ok good job! (1 test case)

Test #143:

score: 0
Accepted
time: 1ms
memory: 3624kb

input:

1
20 258

output:

Yes
0
00
000
0000
00000
000000
0000000
00000000
000000000
0000000000
00000000000
000000000000
0000000000000
00000000000000
000000000000000
1111100000000000
11111110000000000
111111110000000000
1111111110000000000

result:

ok good job! (1 test case)

Test #144:

score: 0
Accepted
time: 1ms
memory: 3596kb

input:

1
20 263

output:

Yes
0
00
000
0000
00000
000000
0000000
00000000
000000000
0000000000
00000000000
000000000000
0000000000000
00000000000000
000000000001000
1111110000000000
11111110000000000
111111110000000000
1111111110000000000

result:

ok good job! (1 test case)

Test #145:

score: 0
Accepted
time: 1ms
memory: 3660kb

input:

1
20 286

output:

Yes
0
00
000
0000
00000
000000
0000000
00000000
000000000
0000000000
00000000000
000000000000
0000000000000
00000000000000
111001000000000
1111110000000000
11111110000000000
111111110000000000
1111111110000000000

result:

ok good job! (1 test case)

Test #146:

score: 0
Accepted
time: 1ms
memory: 3564kb

input:

1
19 241

output:

Yes
0
00
000
0000
00000
000000
0000000
00000000
000000000
0000000000
00000000000
000000000000
0000000000000
10000000001000
111111000000000
1111111000000000
11111111000000000
111111111000000000

result:

ok good job! (1 test case)

Test #147:

score: 0
Accepted
time: 1ms
memory: 3596kb

input:

1
20 286

output:

Yes
0
00
000
0000
00000
000000
0000000
00000000
000000000
0000000000
00000000000
000000000000
0000000000000
00000000000000
111001000000000
1111110000000000
11111110000000000
111111110000000000
1111111110000000000

result:

ok good job! (1 test case)

Test #148:

score: 0
Accepted
time: 1ms
memory: 3632kb

input:

1
19 294

output:

No

result:

ok good job! (1 test case)

Test #149:

score: 0
Accepted
time: 1ms
memory: 3564kb

input:

1
19 289

output:

No

result:

ok good job! (1 test case)

Test #150:

score: 0
Accepted
time: 0ms
memory: 3564kb

input:

1
20 338

output:

No

result:

ok good job! (1 test case)

Test #151:

score: 0
Accepted
time: 0ms
memory: 3560kb

input:

1
20 336

output:

No

result:

ok good job! (1 test case)

Test #152:

score: 0
Accepted
time: 1ms
memory: 3624kb

input:

1
20 335

output:

No

result:

ok good job! (1 test case)

Test #153:

score: 0
Accepted
time: 1ms
memory: 3556kb

input:

1
19 19

output:

Yes
0
00
000
0000
00000
000000
0000000
00000000
000000000
0000000000
00000000000
000000000000
0000000000000
00000000000000
000000000000000
0000000000000000
00000000000000000
100000000000001000

result:

ok good job! (1 test case)

Test #154:

score: 0
Accepted
time: 1ms
memory: 3560kb

input:

1
19 1

output:

Yes
0
00
000
0000
00000
000000
0000000
00000000
000000000
0000000000
00000000000
000000000000
0000000000000
00000000000000
000000000000000
0000000000000000
00000000000000000
000000000000000010

result:

ok good job! (1 test case)

Test #155:

score: 0
Accepted
time: 1ms
memory: 3572kb

input:

1
20 2

output:

Yes
0
00
000
0000
00000
000000
0000000
00000000
000000000
0000000000
00000000000
000000000000
0000000000000
00000000000000
000000000000000
0000000000000000
00000000000000000
000000000000000000
0000000000000000100

result:

ok good job! (1 test case)

Test #156:

score: 0
Accepted
time: 1ms
memory: 3596kb

input:

1
20 40

output:

Yes
0
00
000
0000
00000
000000
0000000
00000000
000000000
0000000000
00000000000
000000000000
0000000000000
00000000000000
000000000000000
0000000000000000
00000000000000000
000000000000000000
1100000000100000000

result:

ok good job! (1 test case)

Test #157:

score: 0
Accepted
time: 1ms
memory: 3512kb

input:

1
20 18

output:

Yes
0
00
000
0000
00000
000000
0000000
00000000
000000000
0000000000
00000000000
000000000000
0000000000000
00000000000000
000000000000000
0000000000000000
00000000000000000
000000000000000000
1000000000000000000

result:

ok good job! (1 test case)

Test #158:

score: 0
Accepted
time: 1ms
memory: 3560kb

input:

1
19 114

output:

Yes
0
00
000
0000
00000
000000
0000000
00000000
000000000
0000000000
00000000000
000000000000
0000000000000
00000000000000
000000000000000
0000000000000000
11000000100000000
111111111000000000

result:

ok good job! (1 test case)

Test #159:

score: 0
Accepted
time: 1ms
memory: 3624kb

input:

1
19 96

output:

Yes
0
00
000
0000
00000
000000
0000000
00000000
000000000
0000000000
00000000000
000000000000
0000000000000
00000000000000
000000000000000
0000000000000000
10000000000000000
111111111000000000

result:

ok good job! (1 test case)

Test #160:

score: 0
Accepted
time: 1ms
memory: 3596kb

input:

1
20 152

output:

Yes
0
00
000
0000
00000
000000
0000000
00000000
000000000
0000000000
00000000000
000000000000
0000000000000
00000000000000
000000000000000
0000000000000000
00000000000000000
111110000010000000
1111111110000000000

result:

ok good job! (1 test case)

Test #161:

score: 0
Accepted
time: 1ms
memory: 3624kb

input:

1
20 250

output:

Yes
0
00
000
0000
00000
000000
0000000
00000000
000000000
0000000000
00000000000
000000000000
0000000000000
00000000000000
000000000000000
1110000000100000
11111110000000000
111111110000000000
1111111110000000000

result:

ok good job! (1 test case)

Test #162:

score: 0
Accepted
time: 1ms
memory: 3560kb

input:

1
20 28

output:

Yes
0
00
000
0000
00000
000000
0000000
00000000
000000000
0000000000
00000000000
000000000000
0000000000000
00000000000000
000000000000000
0000000000000000
00000000000000000
000000000000000000
1000000100000000000

result:

ok good job! (1 test case)

Test #163:

score: 0
Accepted
time: 1ms
memory: 3572kb

input:

1
19 68

output:

Yes
0
00
000
0000
00000
000000
0000000
00000000
000000000
0000000000
00000000000
000000000000
0000000000000
00000000000000
000000000000000
0000000000000000
00000000000000000
111110000100000000

result:

ok good job! (1 test case)

Test #164:

score: 0
Accepted
time: 1ms
memory: 3824kb

input:

1
19 49

output:

Yes
0
00
000
0000
00000
000000
0000000
00000000
000000000
0000000000
00000000000
000000000000
0000000000000
00000000000000
000000000000000
0000000000000000
00000000000000000
111000000010000000

result:

ok good job! (1 test case)

Test #165:

score: 0
Accepted
time: 1ms
memory: 3564kb

input:

1
20 21

output:

Yes
0
00
000
0000
00000
000000
0000000
00000000
000000000
0000000000
00000000000
000000000000
0000000000000
00000000000000
000000000000000
0000000000000000
00000000000000000
000000000000000000
1000000000000010000

result:

ok good job! (1 test case)

Test #166:

score: 0
Accepted
time: 1ms
memory: 3660kb

input:

1
20 34

output:

Yes
0
00
000
0000
00000
000000
0000000
00000000
000000000
0000000000
00000000000
000000000000
0000000000000
00000000000000
000000000000000
0000000000000000
00000000000000000
000000000000000000
1100000000000000000

result:

ok good job! (1 test case)

Test #167:

score: 0
Accepted
time: 1ms
memory: 3796kb

input:

1
20 34

output:

Yes
0
00
000
0000
00000
000000
0000000
00000000
000000000
0000000000
00000000000
000000000000
0000000000000
00000000000000
000000000000000
0000000000000000
00000000000000000
000000000000000000
1100000000000000000

result:

ok good job! (1 test case)

Test #168:

score: 0
Accepted
time: 0ms
memory: 3560kb

input:

2
13 8
7 3

output:

Yes
0
00
000
0000
00000
000000
0000000
00000000
000000000
0000000000
00000000000
000100000000
Yes
0
00
000
0000
00000
001000

result:

ok good job! (2 test cases)

Test #169:

score: 0
Accepted
time: 0ms
memory: 3820kb

input:

3
10 3
3 1
7 0

output:

Yes
0
00
000
0000
00000
000000
0000000
00000000
000001000
Yes
0
10
Yes
0
00
000
0000
00000
000000

result:

ok good job! (3 test cases)

Test #170:

score: 0
Accepted
time: 0ms
memory: 3596kb

input:

4
7 6
6 3
4 2
3 0

output:

Yes
0
00
000
0000
00000
100100
Yes
0
00
000
0000
01000
Yes
0
00
100
Yes
0
00

result:

ok good job! (4 test cases)

Test #171:

score: 0
Accepted
time: 0ms
memory: 3592kb

input:

2
17 120
3 0

output:

Yes
0
00
000
0000
00000
000000
0000000
00000000
000000000
0000000000
00000000000
000000000000
0000000000000
00001000000000
111111100000000
1111111100000000
Yes
0
00

result:

ok good job! (2 test cases)

Test #172:

score: 0
Accepted
time: 0ms
memory: 3792kb

input:

4
6 1
6 7
4 0
4 0

output:

Yes
0
00
000
0000
00010
Yes
0
00
000
0100
11000
Yes
0
00
000
Yes
0
00
000

result:

ok good job! (4 test cases)

Test #173:

score: 0
Accepted
time: 0ms
memory: 3592kb

input:

1
19 181

output:

Yes
0
00
000
0000
00000
000000
0000000
00000000
000000000
0000000000
00000000000
000000000000
0000000000000
00000000000000
000000000000000
1110000100000000
11111111000000000
111111111000000000

result:

ok good job! (1 test case)

Test #174:

score: 0
Accepted
time: 1ms
memory: 3632kb

input:

1
19 17

output:

Yes
0
00
000
0000
00000
000000
0000000
00000000
000000000
0000000000
00000000000
000000000000
0000000000000
00000000000000
000000000000000
0000000000000000
00000000000000000
100000000000000000

result:

ok good job! (1 test case)

Test #175:

score: 0
Accepted
time: 1ms
memory: 3556kb

input:

1
20 170

output:

Yes
0
00
000
0000
00000
000000
0000000
00000000
000000000
0000000000
00000000000
000000000000
0000000000000
00000000000000
000000000000000
0000000000000000
00000010000000000
111111110000000000
1111111110000000000

result:

ok good job! (1 test case)

Test #176:

score: 0
Accepted
time: 1ms
memory: 3508kb

input:

1
20 30

output:

Yes
0
00
000
0000
00000
000000
0000000
00000000
000000000
0000000000
00000000000
000000000000
0000000000000
00000000000000
000000000000000
0000000000000000
00000000000000000
000000000000000000
1000010000000000000

result:

ok good job! (1 test case)

Test #177:

score: 0
Accepted
time: 1ms
memory: 3556kb

input:

1
20 183

output:

Yes
0
00
000
0000
00000
000000
0000000
00000000
000000000
0000000000
00000000000
000000000000
0000000000000
00000000000000
000000000000000
0000000000000000
10000010000000000
111111110000000000
1111111110000000000

result:

ok good job! (1 test case)

Subtask #4:

score: 0
Time Limit Exceeded

Dependency #3:

100%
Accepted

Test #178:

score: 0
Time Limit Exceeded

input:

1
149 540274

output:


result:


Subtask #5:

score: 0
Skipped

Dependency #4:

0%

Subtask #6:

score: 0
Skipped

Dependency #1:

0%