QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#397806#5434. Binary SubstringsFantasy_BallAC ✓7ms8888kbC++141.0kb2024-04-24 17:08:192024-04-24 17:08:21

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 0ms
memory: 3728kb

input:

2

output:

01

result:

ok meet maximum 3

Test #2:

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

input:

5

output:

01100

result:

ok meet maximum 12

Test #3:

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

input:

1

output:

1

result:

ok meet maximum 1

Test #4:

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

input:

3

output:

010

result:

ok meet maximum 5

Test #5:

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

input:

4

output:

0010

result:

ok meet maximum 8

Test #6:

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

input:

6

output:

011000

result:

ok meet maximum 16

Test #7:

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

input:

7

output:

0001101

result:

ok meet maximum 21

Test #8:

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

input:

8

output:

00011010

result:

ok meet maximum 27

Test #9:

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

input:

9

output:

101000111

result:

ok meet maximum 34

Test #10:

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

input:

10

output:

0010111000

result:

ok meet maximum 42

Test #11:

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

input:

11

output:

00101110000

result:

ok meet maximum 50

Test #12:

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

input:

12

output:

000010111001

result:

ok meet maximum 59

Test #13:

score: 0
Accepted
time: 7ms
memory: 8508kb

input:

200000

output:

111011111111011111101000000001000000001111111001111111000000001011111101111111101000000100000000101111100111111110111110110000000010000001011111110011111100000000010111110111111111010000010000000001011110011111111101111011000000000100000101111111100111110000000000101111011111111110100001000000000010...

result:

ok meet maximum 19996962278

Test #14:

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

input:

24

output:

000001001101011110001110

result:

ok meet maximum 240

Test #15:

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

input:

35

output:

11100011101100101000001001101011111

result:

ok meet maximum 526

Test #16:

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

input:

30

output:

000001001101011110001110110010

result:

ok meet maximum 381

Test #17:

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

input:

45

output:

000000100011001010011101011011111000011110110

result:

ok meet maximum 882

Test #18:

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

input:

66

output:

100111010101101111110000111101100010111001101000000100011001010010

result:

ok meet maximum 1953

Test #19:

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

input:

50

output:

00000010001100101001110101101111100001111011000101

result:

ok meet maximum 1097

Test #20:

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

input:

80

output:

00000001000011000101000111001001011001101001111010101110110111111000001111101110

result:

ok meet maximum 2901

Test #21:

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

input:

107

output:

00000001000011000101000111001001011001101001111010101110110111111000001111101110001101100001011110011101000

result:

ok meet maximum 5277

Test #22:

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

input:

81

output:

000000010000110001010001110010010110011010011110101011101101111110000011111011100

result:

ok meet maximum 2976

Test #23:

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

input:

147

output:

000000001000001100001010000111000100100010110001101000111100100110010101001011100110110011101001111101010110101111011011101111111000000111111011100

result:

ok meet maximum 10124

Test #24:

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

input:

255

output:

011101111111100000011111101110000110111100011101100000101111100111101000000001000001100001010000111000100100010110001101000111100100110010101001011100110110011101001111101010110101111011011101011001000010011100101101101001001010011010100010001100110001010

result:

ok meet maximum 31130

Test #25:

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

input:

173

output:

00000000100000110000101000011100010010001011000110100011110010011001010100101110011011001110100111110101011010111101101110111111100000011111101110000110111100011101100000101

result:

ok meet maximum 14115

Test #26:

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

input:

288

output:

000000000100000011000001010000011100001001000010110000110100001111000100010011000101010001011100011001000110110001110100011111001001010010011100101011001011010010111100110011010100110111001110110011110100111111010101011101011011010111110110111101110111111110000000111111101111000011101110

result:

ok meet maximum 39850

Test #27:

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

input:

407

output:

011101111111110000000111111101111000011101110000011011111000111101100000010111111001111101000000000100000011000001010000011100001001000010110000110100001111000100010011000101010001011100011001000110110001110100011111001001010010011100101011001011010010111100110011010100110111001110110011110100111111...

result:

ok meet maximum 80310

Test #28:

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

input:

349

output:

011101111111110000000111111101111000011101110000011011111000111101100000010111111001111101000000000100000011000001010000011100001001000010110000110100001111000100010011000101010001011100011001000110110001110100011111001001010010011100101011001011010010111100110011010100110111001110110011110100111111...

result:

ok meet maximum 58821

Test #29:

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

input:

526

output:

000000000010000000110000001010000001110000010010000010110000011010000011110000100010000100110000101010000101110000110010000110110000111010000111110001000110001001010001001110001010010001010110001011010001011110001100110001101010001101110001110010001110110001111010001111110010010010110010011010010011...

result:

ok meet maximum 134925

Test #30:

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

input:

1018

output:

011010111111011011010100100100011010011100101011011011111011101111011010000100001110011100001011011110100100001010011110101000001000111100110111011001000100100110011010001100101100011000011010111000100110110011001001010100110101010001010001110001101101100010000011001111000101110111010001000101100111...

result:

ok meet maximum 510567

Test #31:

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

input:

1017

output:

011010111111011011010100100100011010011100101011011011111011101111011010000100001110011100001011011110100100001010011110101000001000111100110111011001000100100110011010001100101100011000011010111000100110110011001001010100110101010001010001110001101101100010000011001111000101110111010001000101100111...

result:

ok meet maximum 509558

Test #32:

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

input:

1209

output:

011110111111111110000000001111111110111110000011110111100000011101111110000111110111000000011011111110001111110110000000010111111110011111110100000000000100000000110000000101000000011100000010010000001011000000110100000011110000010001000001001100000101010000010111000001100100000110110000011101000001...

result:

ok meet maximum 721446

Test #33:

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

input:

1632

output:

011111011110110010000100100111001101000011000011101011100001001101110011001000110010011000110101011000101000011100011101101100001000101110011100000101101111101001000001010011111010100000010001111100110111101110100001000001110011110000101110111101000100001011001111011011100010000001100111110001011110...

result:

ok meet maximum 1318299

Test #34:

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

input:

1829

output:

011111011110110010000100100111001101000011000011101011100001001101110011001000110010011000110101011000101000011100011101101100001000101110011100000101101111101001000001010011111010100000010001111100110111101110100001000001110011110000101110111101000100001011001111011011100010000001100111110001011110...

result:

ok meet maximum 1657336

Test #35:

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

input:

3187

output:

101111101110100000100000111100111100000101110111110100010000010110011111011011110001000000011001111110001011111011111111111100000000001111111111011111000000111101111110000011111011110000000111011111110000111111011100000000110111111110001111111011000000000101111111110011111111010000000000001000000000...

result:

ok meet maximum 5049170

Test #36:

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

input:

2138

output:

000000000000100000000011000000001010000000011100000001001000000010110000000110100000001111000000100010000001001100000010101000000101110000001100100000011011000000111010000001111100000100001000001000110000010010100000100111000001010010000010101100000101101000001011110000011000100000110011000001101010...

result:

ok meet maximum 2267222

Test #37:

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

input:

4030

output:

110111011111101111011110100001000010111001111011101100001000000111001111100001011110111110110010000010010011110011010111011001010001001100011101010110000101001011110101101110010100111011010110001001000011101001111000101011101110101000100010001100110011000110010101100011010000111000011101101110000100...

result:

ok meet maximum 8082284

Test #38:

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

input:

6101

output:

011111011111111111110000000000011111111111011111100000011111011111000000011110111111100000111111011110000000011101111111100001111111011100000000011011111111100011111111011000000000010111111111100111111111010000000000000100000000001100000000010100000000011100000000100100000000101100000000110100000000...

result:

ok meet maximum 18549195

Test #39:

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

input:

5917

output:

011111011111111111110000000000011111111111011111100000011111011111000000011110111111100000111111011110000000011101111111100001111111011100000000011011111111100011111111011000000000010111111111100111111111010000000000000100000000001100000000010100000000011100000000100100000000101100000000110100000000...

result:

ok meet maximum 17445655

Test #40:

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

input:

6635

output:

011111011111111111110000000000011111111111011111100000011111011111000000011110111111100000111111011110000000011101111111100001111111011100000000011011111111100011111111011000000000010111111111100111111111010000000000000100000000001100000000010100000000011100000000100100000000101100000000110100000000...

result:

ok meet maximum 21943566

Test #41:

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

input:

9993

output:

011111101111111111111100000000000011111111111101111110000000111110111111100000011111101111100000000111101111111100000111111101111000000000111011111111100001111111101110000000000110111111111100011111111101100000000000101111111111100111111111101000000000000001000000000001100000000001010000000000111000...

result:

ok meet maximum 49821572

Test #42:

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

input:

14474

output:

101111110111101000000100000011111001111100000010111101111110100001000000101110011111101110110000001000010111110011110000000101110111111101000100000001011001111111011011111100010000000001100111111110001011111110111010000000100000111111001111011111011000010000010011100111100110001100001100110101110001...

result:

ok meet maximum 104583873

Test #43:

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

input:

11534

output:

011111101111111111111100000000000011111111111101111110000000111110111111100000011111101111100000000111101111111100000111111101111000000000111011111111100001111111101110000000000110111111111100011111111101100000000000101111111111100111111111101000000000000001000000000001100000000001010000000000111000...

result:

ok meet maximum 66388863

Test #44:

score: 0
Accepted
time: 2ms
memory: 7012kb

input:

19098

output:

011111101111111111111110000000000000111111111111101111111000000011111101111110000000011111011111111000000111111101111100000000011110111111111000001111111101111000000000011101111111111000011111111101110000000000011011111111111000111111111101100000000000010111111111111001111111111101000000000000000100...

result:

ok meet maximum 182141836

Test #45:

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

input:

31872

output:

101111111101111101111111011100100000001000100111111001110101111101110010100000100011000111100110101101110110010100100010011010100111011001010110001001101000011101100001111000110111011101110010001000100010011001100110011101000110011000101110010101110000011010011011111001011001111101101101111000100100...

result:

ok meet maximum 507514777

Test #46:

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

input:

27626

output:

101111111011110100000001000000111111001111101111101100000100000110111100111110010000110000011011101011111001000101000001101110001111100111011011110110001001000010011101001110011000101100010001110000111011011011100001001000110111101001110010000101100010011110000111010111011100001010000000111100011111...

result:

ok meet maximum 381257844

Test #47:

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

input:

43245

output:

101111111011111010000000100000001111110011111100000001011111011111110100000100000001011110011111110111101100000001000001011111100111110000000010111101111111101000010000000010111001111111101110110000000010000101111111001111000000000101110111111111010001000000000101100111111111011011111111000100000000...

result:

ok meet maximum 934503599

Test #48:

score: 0
Accepted
time: 2ms
memory: 7176kb

input:

34491

output:

011111110111111111111111100000000000000111111111111110111111100000000111111011111111000000011111110111111000000000111110111111111000000111111110111110000000000111101111111111000001111111110111100000000000111011111111111000011111111110111000000000000110111111111111000111111111110110000000000000101111...

result:

ok meet maximum 594380060

Test #49:

score: 0
Accepted
time: 2ms
memory: 7296kb

input:

64535

output:

101101110111011101101110111111101101111011111101101111101111101101111110111101101111111011101101111111111101110111011111101110111101111101110111110111101110111111111101111011110100010000100001011001110011110110100001100001001011101011100110100010100011001011100011100110000011100010101111011011101010...

result:

ok meet maximum 2081512994

Test #50:

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

input:

65746

output:

000000000000000001000000000000001100000000000001010000000000000111000000000000100100000000000010110000000000001101000000000000111100000000000100010000000000010011000000000001010100000000000101110000000000011001000000000001101100000000000111010000000000011111000000000010000100000000001000110000000000...

result:

ok meet maximum 2160380385

Test #51:

score: 0
Accepted
time: 3ms
memory: 7552kb

input:

65861

output:

000000000000000001000000000000001100000000000001010000000000000111000000000000100100000000000010110000000000001101000000000000111100000000000100010000000000010011000000000001010100000000000101110000000000011001000000000001101100000000000111010000000000011111000000000010000100000000001000110000000000...

result:

ok meet maximum 2167946005

Test #52:

score: 0
Accepted
time: 3ms
memory: 7560kb

input:

66725

output:

011111110111111111111111110000000000000001111111111111110111111110000000011111110111111100000000011111101111111110000000111111110111111000000000011111011111111110000001111111110111110000000000011110111111111110000011111111110111100000000000011101111111111110000111111111110111000000000000011011111111...

result:

ok meet maximum 2225209765

Test #53:

score: 0
Accepted
time: 3ms
memory: 7440kb

input:

86349

output:

011111110111111111111111110000000000000001111111111111110111111110000000011111110111111100000000011111101111111110000000111111110111111000000000011111011111111110000001111111110111110000000000011110111111111110000011111111110111100000000000011101111111111110000111111111110111000000000000011011111111...

result:

ok meet maximum 3726867681

Test #54:

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

input:

68454

output:

011111110111111111111111110000000000000001111111111111110111111110000000011111110111111100000000011111101111111110000000111111110111111000000000011111011111111110000001111111110111110000000000011110111111111110000011111111110111100000000000011101111111111110000111111111110111000000000000011011111111...

result:

ok meet maximum 2342045211

Test #55:

score: 0
Accepted
time: 3ms
memory: 7664kb

input:

112260

output:

011111110111111111111111110000000000000001111111111111110111111110000000011111110111111100000000011111101111111110000000111111110111111000000000011111011111111110000001111111110111110000000000011110111111111110000011111111110111100000000000011101111111111110000111111111110111000000000000011011111111...

result:

ok meet maximum 6299544960

Test #56:

score: 0
Accepted
time: 3ms
memory: 7780kb

input:

108023

output:

011111110111111111111111110000000000000001111111111111110111111110000000011111110111111100000000011111101111111110000000111111110111111000000000011111011111111110000001111111110111110000000000011110111111111110000011111111110111100000000000011101111111111110000111111111110111000000000000011011111111...

result:

ok meet maximum 5832941098

Test #57:

score: 0
Accepted
time: 3ms
memory: 7824kb

input:

103787

output:

011111110111111111111111110000000000000001111111111111110111111110000000011111110111111100000000011111101111111110000000111111110111111000000000011111011111111110000001111111110111110000000000011110111111111110000011111111110111100000000000011101111111111110000111111111110111000000000000011011111111...

result:

ok meet maximum 5384393176

Test #58:

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

input:

128710

output:

111011110101111111110111010111111111101101011111111111110110110110110111011011011011111101101101110111110110110111101111011011011111011101101101111111110110111011011111011011101110111101101110111101110110111011111111011011110110111101110100100100001000101101001110011101001011000110001011010011010111...

result:

ok meet maximum 8281268235

Test #59:

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

input:

129534

output:

011010110110111111101011011101011110101101110110111010110111011101101011011101111110101101111010111010110111101101101011011110111110101101111101111010110111111011101011011111110110101101111111111010111010111011101011101011110110101110101111111010111011010111101011101101101110101110110111011010111011...

result:

ok meet maximum 8387651991

Test #60:

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

input:

128670

output:

111011110101111111110111010111111111101101011111111111110110110110110111011011011011111101101101110111110110110111101111011011011111011101101101111111110110111011011111011011101110111101101110111101110110111011111111011011110110111101110100100100001000101101001110011101001011000110001011010011010111...

result:

ok meet maximum 8276121255

Test #61:

score: 0
Accepted
time: 2ms
memory: 8424kb

input:

154721

output:

011111111011111111111111111100000000000000001111111111111111011111111000000000111111101111111110000000011111111011111110000000000111111011111111110000000111111111011111100000000000111110111111111110000001111111111011111000000000000111101111111111110000011111111111011110000000000000111011111111111110...

result:

ok meet maximum 11967003302

Test #62:

score: 0
Accepted
time: 2ms
memory: 8496kb

input:

143149

output:

011111111011111111111111111100000000000000001111111111111111011111111000000000111111101111111110000000011111111011111110000000000111111011111111110000000111111111011111100000000000111110111111111110000001111111111011111000000000000111101111111111110000011111111111011110000000000000111011111111111110...

result:

ok meet maximum 10243718420

Test #63:

score: 0
Accepted
time: 5ms
memory: 8256kb

input:

134065

output:

011111111011111111111111111100000000000000001111111111111111011111111000000000111111101111111110000000011111111011111110000000000111111011111111110000000111111111011111100000000000111110111111111110000001111111111011111000000000000111101111111111110000011111111111011110000000000000111011111111111110...

result:

ok meet maximum 8984762318

Test #64:

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

input:

163454

output:

011111111011111111111111111100000000000000001111111111111111011111111000000000111111101111111110000000011111111011111110000000000111111011111111110000000111111111011111100000000000111110111111111110000001111111111011111000000000000111101111111111110000011111111111011110000000000000111011111111111110...

result:

ok meet maximum 13356170345

Test #65:

score: 0
Accepted
time: 3ms
memory: 8404kb

input:

139150

output:

011111111011111111111111111100000000000000001111111111111111011111111000000000111111101111111110000000011111111011111110000000000111111011111111110000000111111111011111100000000000111110111111111110000001111111111011111000000000000111101111111111110000011111111111011110000000000000111011111111111110...

result:

ok meet maximum 9679327553

Test #66:

score: 0
Accepted
time: 3ms
memory: 8304kb

input:

172380

output:

011111111011111111111111111100000000000000001111111111111111011111111000000000111111101111111110000000011111111011111110000000000111111011111111110000000111111111011111100000000000111110111111111110000001111111111011111000000000000111101111111111110000011111111111011110000000000000111011111111111110...

result:

ok meet maximum 14854850208

Test #67:

score: 0
Accepted
time: 3ms
memory: 8644kb

input:

178166

output:

011111111011111111111111111100000000000000001111111111111111011111111000000000111111101111111110000000011111111011111110000000000111111011111111110000000111111111011111100000000000111110111111111110000001111111111011111000000000000111101111111111110000011111111111011110000000000000111011111111111110...

result:

ok meet maximum 15868884317

Test #68:

score: 0
Accepted
time: 5ms
memory: 8380kb

input:

143651

output:

011111111011111111111111111100000000000000001111111111111111011111111000000000111111101111111110000000011111111011111110000000000111111011111111110000000111111111011111100000000000111110111111111110000001111111111011111000000000000111101111111111110000011111111111011110000000000000111011111111111110...

result:

ok meet maximum 10315696937

Test #69:

score: 0
Accepted
time: 7ms
memory: 8888kb

input:

198199

output:

111011111111011111101000000001000000001111111001111111000000001011111101111111101000000100000000101111100111111110111110110000000010000001011111110011111100000000010111110111111111010000010000000001011110011111111101111011000000000100000101111111100111110000000000101111011111111110100001000000000010...

result:

ok meet maximum 19638413795

Test #70:

score: 0
Accepted
time: 7ms
memory: 8476kb

input:

186272

output:

011111111011111111111111111100000000000000001111111111111111011111111000000000111111101111111110000000011111111011111110000000000111111011111111110000000111111111011111100000000000111110111111111110000001111111111011111000000000000111101111111111110000011111111111011110000000000000111011111111111110...

result:

ok meet maximum 17345817782

Test #71:

score: 0
Accepted
time: 6ms
memory: 8384kb

input:

198102

output:

111011111111011111101000000001000000001111111001111111000000001011111101111111101000000100000000101111100111111110111110110000000010000001011111110011111100000000010111110111111111010000010000000001011110011111111101111011000000000100000101111111100111110000000000101111011111111110100001000000000010...

result:

ok meet maximum 19619194797

Test #72:

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

input:

8201

output:

011010010111011110010111100110010111101010010111101110010111110110010111111010010111111110011001100110101001100110111001100111011001100111101001100111111001101001101001111001101010101001101010111001101011011001101011101001101011111001101100111001101101011001101101101001101101111001101110101001101110...

result:

ok meet maximum 33542145

Test #73:

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

input:

8202

output:

011010010111011110010111100110010111101010010111101110010111110110010111111010010111111110011001100110101001100110111001100111011001100111101001100111111001101001101001111001101010101001101010111001101011011001101011101001101011111001101100111001101101011001101101101001101101111001101110101001101110...

result:

ok meet maximum 33550335

Test #74:

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

input:

8203

output:

011010010111011110010111100110010111101010010111101110010111110110010111111010010111111110011001100110101001100110111001100111011001100111101001100111111001101001101001111001101010101001101010111001101011011001101011101001101011111001101100111001101101011001101101101001101101111001101110101001101110...

result:

ok meet maximum 33558526

Test #75:

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

input:

8204

output:

000000000000100000000000110000000000101000000000011100000000010010000000001011000000000110100000000011110000000010001000000001001100000000101010000000010111000000001100100000000110110000000011101000000001111100000001000010000000100011000000010010100000001001110000000101001000000010101100000001011010...

result:

ok meet maximum 33566718

Test #76:

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

input:

8205

output:

000000000000100000000000110000000000101000000000011100000000010010000000001011000000000110100000000011110000000010001000000001001100000000101010000000010111000000001100100000000110110000000011101000000001111100000001000010000000100011000000010010100000001001110000000101001000000010101100000001011010...

result:

ok meet maximum 33574910

Test #77:

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

input:

8206

output:

000000000000001000000000001100000000001010000000000111000000000100100000000010110000000001101000000000111100000000100010000000010011000000001010100000000101110000000011001000000001101100000000111010000000011111000000010000100000001000110000000100101000000010011100000001010010000000101011000000010110...

result:

ok meet maximum 33583103

Test #78:

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

input:

16394

output:

011011001011101110100101110111110010111100111001011110101100101111011010010111010010110100010110100101111011110010111110011001011111010100101111101110010111001000110100011011100101111110110010111111101001011111111100110011001110011001101011001100110110100110011011110011001110101001100111011100110011...

result:

ok meet maximum 134193153

Test #79:

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

input:

16395

output:

011011001011101110100101110111110010111100111001011110101100101111011010010111010010110100010110100101111011110010111110011001011111010100101111101110010111001000110100011011100101111110110010111111101001011111111100110011001110011001101011001100110110100110011011110011001110101001100111011100110011...

result:

ok meet maximum 134209535

Test #80:

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

input:

16396

output:

011011001011101110100101110111110010111100111001011110101100101111011010010111010010110100010110100101111011110010111110011001011111010100101111101110010111001000110100011011100101111110110010111111101001011111111100110011001110011001101011001100110110100110011011110011001110101001100111011100110011...

result:

ok meet maximum 134225918

Test #81:

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

input:

16397

output:

000000000000010000000000001100000000000101000000000001110000000000100100000000001011000000000011010000000000111100000000010001000000000100110000000001010100000000010111000000000110010000000001101100000000011101000000000111110000000010000100000000100011000000001001010000000010011100000000101001000000...

result:

ok meet maximum 134242302

Test #82:

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

input:

16398

output:

000000000000010000000000001100000000000101000000000001110000000000100100000000001011000000000011010000000000111100000000010001000000000100110000000001010100000000010111000000000110010000000001101100000000011101000000000111110000000010000100000000100011000000001001010000000010011100000000101001000000...

result:

ok meet maximum 134258686

Test #83:

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

input:

16399

output:

000000000000000100000000000011000000000001010000000000011100000000001001000000000010110000000000110100000000001111000000000100010000000001001100000000010101000000000101110000000001100100000000011011000000000111010000000001111100000000100001000000001000110000000010010100000000100111000000001010010000...

result:

ok meet maximum 134275071

Test #84:

score: 0
Accepted
time: 2ms
memory: 7212kb

input:

32779

output:

100100100100111001001001010110010010010110100100100101111001001001100110010010011010100100100110111001001001110110010010011110100100100111111001001010010110010010100110100100101001111001001010100110010010101010100100101010111001001010110110010010101110100100101011111001001011001010010010110011100100...

result:

ok meet maximum 536821761

Test #85:

score: 0
Accepted
time: 2ms
memory: 7124kb

input:

32780

output:

100100100100111001001001010110010010010110100100100101111001001001100110010010011010100100100110111001001001110110010010011110100100100111111001001010010110010010100110100100101001111001001010100110010010101010100100101010111001001010110110010010101110100100101011111001001011001010010010110011100100...

result:

ok meet maximum 536854527

Test #86:

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

input:

32781

output:

100100100100111001001001010110010010010110100100100101111001001001100110010010011010100100100110111001001001110110010010011110100100100111111001001010010110010010100110100100101001111001001010100110010010101010100100101010111001001010110110010010101110100100101011111001001011001010010010110011100100...

result:

ok meet maximum 536887294

Test #87:

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

input:

32782

output:

000000000000001000000000000011000000000000101000000000000111000000000001001000000000001011000000000001101000000000001111000000000010001000000000010011000000000010101000000000010111000000000011001000000000011011000000000011101000000000011111000000000100001000000000100011000000000100101000000000100111...

result:

ok meet maximum 536920062

Test #88:

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

input:

32783

output:

000000000000001000000000000011000000000000101000000000000111000000000001001000000000001011000000000001101000000000001111000000000010001000000000010011000000000010101000000000010111000000000011001000000000011011000000000011101000000000011111000000000100001000000000100011000000000100101000000000100111...

result:

ok meet maximum 536952830

Test #89:

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

input:

32784

output:

000000000000000010000000000000110000000000001010000000000001110000000000010010000000000010110000000000011010000000000011110000000000100010000000000100110000000000101010000000000101110000000000110010000000000110110000000000111010000000000111110000000001000010000000001000110000000001001010000000001001...

result:

ok meet maximum 536985599

Test #90:

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

input:

65548

output:

011101000101111011111000101111100011000101111100101000101111100111000101111101001000101111101011000101111101101000101111101111000101111110011000101111110101000101111110111000101111111001000101111111011000101111111101000101111111111000110001100011001010001100011001110001100011010010001100011010110001...

result:

ok meet maximum 2147385345

Test #91:

score: 0
Accepted
time: 2ms
memory: 7512kb

input:

65549

output:

011101000101111011111000101111100011000101111100101000101111100111000101111101001000101111101011000101111101101000101111101111000101111110011000101111110101000101111110111000101111111001000101111111011000101111111101000101111111111000110001100011001010001100011001110001100011010010001100011010110001...

result:

ok meet maximum 2147450879

Test #92:

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

input:

65550

output:

011101000101111011111000101111100011000101111100101000101111100111000101111101001000101111101011000101111101101000101111101111000101111110011000101111110101000101111110111000101111111001000101111111011000101111111101000101111111111000110001100011001010001100011001110001100011010010001100011010110001...

result:

ok meet maximum 2147516414

Test #93:

score: 0
Accepted
time: 3ms
memory: 7460kb

input:

65551

output:

000000000000000100000000000000110000000000000101000000000000011100000000000010010000000000001011000000000000110100000000000011110000000000010001000000000001001100000000000101010000000000010111000000000001100100000000000110110000000000011101000000000001111100000000001000010000000000100011000000000010...

result:

ok meet maximum 2147581950

Test #94:

score: 0
Accepted
time: 3ms
memory: 7224kb

input:

65552

output:

000000000000000100000000000000110000000000000101000000000000011100000000000010010000000000001011000000000000110100000000000011110000000000010001000000000001001100000000000101010000000000010111000000000001100100000000000110110000000000011101000000000001111100000000001000010000000000100011000000000010...

result:

ok meet maximum 2147647486

Test #95:

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

input:

65553

output:

000000000000000001000000000000001100000000000001010000000000000111000000000000100100000000000010110000000000001101000000000000111100000000000100010000000000010011000000000001010100000000000101110000000000011001000000000001101100000000000111010000000000011111000000000010000100000000001000110000000000...

result:

ok meet maximum 2147713023

Test #96:

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

input:

131085

output:

011101100010111101111010001011110111111000101111100011100010111110010010001011111001011000101111100110100010111110011110001011111010011000101111101010100010111110101110001011111011001000101111101101100010111110111010001011110100010111010000101110100010111110111110001011111100011000101111110010100010...

result:

ok meet maximum 8589737985

Test #97:

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

input:

131086

output:

011101100010111101111010001011110111111000101111100011100010111110010010001011111001011000101111100110100010111110011110001011111010011000101111101010100010111110101110001011111011001000101111101101100010111110111010001011110100010111010000101110100010111110111110001011111100011000101111110010100010...

result:

ok meet maximum 8589869055

Test #98:

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

input:

131087

output:

011101100010111101111010001011110111111000101111100011100010111110010010001011111001011000101111100110100010111110011110001011111010011000101111101010100010111110101110001011111011001000101111101101100010111110111010001011110100010111010000101110100010111110111110001011111100011000101111110010100010...

result:

ok meet maximum 8590000126

Test #99:

score: 0
Accepted
time: 5ms
memory: 8128kb

input:

131088

output:

000000000000000010000000000000001100000000000000101000000000000001110000000000000100100000000000001011000000000000011010000000000000111100000000000010001000000000000100110000000000001010100000000000010111000000000000110010000000000001101100000000000011101000000000000111110000000000010000100000000000...

result:

ok meet maximum 8590131198

Test #100:

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

input:

131089

output:

000000000000000010000000000000001100000000000000101000000000000001110000000000000100100000000000001011000000000000011010000000000000111100000000000010001000000000000100110000000000001010100000000000010111000000000000110010000000000001101100000000000011101000000000000111110000000000010000100000000000...

result:

ok meet maximum 8590262270

Test #101:

score: 0
Accepted
time: 5ms
memory: 8008kb

input:

131090

output:

000000000000000000100000000000000011000000000000001010000000000000011100000000000001001000000000000010110000000000000110100000000000001111000000000000100010000000000001001100000000000010101000000000000101110000000000001100100000000000011011000000000000111010000000000001111100000000000100001000000000...

result:

ok meet maximum 8590393343

Test #102:

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

input:

8197

output:

011010010111011110010111100110010111101010010111101110010111110110010111111010010111111110011001100110101001100110111001100111011001100111101001100111111001101001101001111001101010101001101010111001101011011001101011101001101011111001101100111001101101011001101101101001101101111001101110101001101110...

result:

ok meet maximum 33509395

Test #103:

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

input:

16328

output:

101110010111111011001011111110100101111111110011001100111001100110101100110011011010011001101111001100111010100110011101110011001111011001100111110100110011111110011010011011001101001110100110100111110011010100111001101010101100110101011010011010101111001101011010100110101101110011010111011001101011...

result:

ok meet maximum 133114152

Test #104:

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

input:

32608

output:

101101101001111011011110011110111010100111101110111001111011110110011110111110100111101111111001111100111110101011001111101011010011111010111100111110110101001111101101110011111011101100111110111101001111101111110011111101010100111111010111001111110110110011111101110100111111011111001111111010110011...

result:

ok meet maximum 531233481

Test #105:

score: 0
Accepted
time: 2ms
memory: 7308kb

input:

65141

output:

101110100101111101111100101111110011100101111110101100101111110110100101111110111100101111111001100101111111010100101111111011100101111111101100101111111110100101111111111100110011001101100110011001110100110011001111100110011010011100110011010101100110011010110100110011010111100110011011010100110011...

result:

ok meet maximum 2120796035

Test #106:

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

input:

130420

output:

011101010010111101110111001011101000100011010001011101110010111101111011001011101000010011010001011110110010111101111101001011110111111100101111100110110010111001100100110100011001101100101111100111010010111110011111001011111010011100101111101010110010111110101101001011111010111100101111101100110010...

result:

ok meet maximum 8502797880

Test #107:

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

input:

8265

output:

000000000000001000000000001100000000001010000000000111000000000100100000000010110000000001101000000000111100000000100010000000010011000000001010100000000101110000000011001000000001101100000000111010000000011111000000010000100000001000110000000100101000000010011100000001010010000000101011000000010110...

result:

ok meet maximum 34068260

Test #108:

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

input:

16508

output:

000000000000000100000000000011000000000001010000000000011100000000001001000000000010110000000000110100000000001111000000000100010000000001001100000000010101000000000101110000000001100100000000011011000000000111010000000001111100000000100001000000001000110000000010010100000000100111000000001010010000...

result:

ok meet maximum 136067031

Test #109:

score: 0
Accepted
time: 2ms
memory: 7176kb

input:

33008

output:

000000000000000010000000000000110000000000001010000000000001110000000000010010000000000010110000000000011010000000000011110000000000100010000000000100110000000000101010000000000101110000000000110010000000000110110000000000111010000000000111110000000001000010000000001000110000000001001010000000001001...

result:

ok meet maximum 544351055

Test #110:

score: 0
Accepted
time: 3ms
memory: 7680kb

input:

65964

output:

011111110111111111111111110000000000000001111111111111110111111110000000011111110111111100000000011111101111111110000000111111110111111000000000011111011111111110000001111111110111110000000000011110111111111110000011111111110111100000000000011101111111111110000111111111110111000000000000011011111111...

result:

ok meet maximum 2174733396

Test #111:

score: 0
Accepted
time: 2ms
memory: 8252kb

input:

131692

output:

011111111011111111111111111100000000000000001111111111111111011111111000000000111111101111111110000000011111111011111110000000000111111011111111110000000111111111011111100000000000111110111111111110000001111111111011111000000000000111101111111111110000011111111111011110000000000000111011111111111110...

result:

ok meet maximum 8669480792

Test #112:

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

input:

15843

output:

110111011111111011110111111101111101111101000001000001011110011111011110110000010000000111100111111000001011111011111101110010000001000100111110011101011110111001010000100011000111001101011000011001001011100011011000001110001011110110111010000100100010111101001110100001011000101111000011100111011100...

result:

ok meet maximum 125318747

Test #113:

score: 0
Accepted
time: 2ms
memory: 7192kb

input:

31560

output:

101111111101111101111111011100100000001000100111111001110101111101110010100000100011000111100110101101110110010100100010011010100111011001010110001001101000011101100001111000110111011101110010001000100010011001100110011101000110011000101110010101110000011010011011111001011001111101101101111000100100...

result:

ok meet maximum 497623597

Test #114:

score: 0
Accepted
time: 2ms
memory: 7284kb

input:

64241

output:

110111101111011111111101111101111111101111110111100010000001000011001111100111100110000011000010101111010111101010000101000010101111000111101000000111000000111110110111110000001000111101111100111000010000011000111001111010110000110000101001110101111010110001010000101001110001111010101101100000101010...

result:

ok meet maximum 2062587185

Test #115:

score: 0
Accepted
time: 3ms
memory: 7420kb

input:

73307

output:

011111110111111111111111110000000000000001111111111111110111111110000000011111110111111100000000011111101111111110000000111111110111111000000000011111011111111110000001111111110111110000000000011110111111111110000011111111110111100000000000011101111111111110000111111111110111000000000000011011111111...

result:

ok meet maximum 2685953056

Test #116:

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

input:

129593

output:

011010110110111111101011011101011110101101110110111010110111011101101011011101111110101101111010111010110111101101101011011110111110101101111101111010110111111011101011011111110110101101111111111010111010111011101011101011110110101110101111111010111011010111101011101101101110101110110111011010111011...

result:

ok meet maximum 8395295323