QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#86110#5434. Binary Substrings00AC ✓16ms13860kbC++142.7kb2023-03-09 12:56:232023-03-09 12:56:25

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 2ms
memory: 3432kb

input:

2

output:

10

result:

ok meet maximum 3

Test #2:

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

input:

5

output:

01100

result:

ok meet maximum 12

Test #3:

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

input:

1

output:

0

result:

ok meet maximum 1

Test #4:

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

input:

3

output:

010

result:

ok meet maximum 5

Test #5:

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

input:

4

output:

1001

result:

ok meet maximum 8

Test #6:

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

input:

6

output:

110011

result:

ok meet maximum 16

Test #7:

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

input:

7

output:

1001110

result:

ok meet maximum 21

Test #8:

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

input:

8

output:

10011101

result:

ok meet maximum 27

Test #9:

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

input:

9

output:

001110100

result:

ok meet maximum 34

Test #10:

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

input:

10

output:

0011101000

result:

ok meet maximum 42

Test #11:

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

input:

11

output:

01110100011

result:

ok meet maximum 50

Test #12:

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

input:

12

output:

011101000110

result:

ok meet maximum 59

Test #13:

score: 0
Accepted
time: 16ms
memory: 13804kb

input:

200000

output:

111011111111011111110111111111011111101111111111011111011111111111011110111110111110111101111110111101111011111111111101110111101111111011101111101111110111011111101111101110111111101111011101111111101110111011110111011101110111111111111101101110111111111011011110111111110110111110111111101101111110...

result:

ok meet maximum 19996962278

Test #14:

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

input:

24

output:

001111010110010000110111

result:

ok meet maximum 240

Test #15:

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

input:

35

output:

00001101110001010011111010110010000

result:

ok meet maximum 526

Test #16:

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

input:

30

output:

001111010110010000110111000101

result:

ok meet maximum 381

Test #17:

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

input:

45

output:

000111110110101110010100110001000001101111000

result:

ok meet maximum 882

Test #18:

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

input:

66

output:

100101001100010000011011110000101100111010001111110110101011100100

result:

ok meet maximum 1953

Test #19:

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

input:

50

output:

00011111011010111001010011000100000110111100001011

result:

ok meet maximum 1097

Test #20:

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

input:

80

output:

00001111110110111010101111001011001101001001110001010001100001000000110110001110

result:

ok meet maximum 2901

Test #21:

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

input:

107

output:

00001111110110111010101111001011001101001001110001010001100001000000110110001110111110000010111001111010000

result:

ok meet maximum 5277

Test #22:

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

input:

81

output:

000011111101101110101011110010110011010010011100010100011000010000001101100011101

result:

ok meet maximum 2976

Test #23:

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

input:

147

output:

000001111111011101101111010110101011111001011100110110011101001010100110010011110001011000110100010010001110000101000011000001000000011011100011110

result:

ok meet maximum 10124

Test #24:

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

input:

255

output:

101110110111101011010101111100101110011011001110100101010011001001111000101100011010001001000111000010100001100000100000001101110001111011000011101111110000001011110011111010000011111111011101010001100110001000101011001010010010110110100111001000010011010

result:

ok meet maximum 31130

Test #25:

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

input:

173

output:

00000111111101110110111101011010101111100101110011011001110100101010011001001111000101100011010001001000111000010100001100000100000001101110001111011000011101111110000001011

result:

ok meet maximum 14115

Test #26:

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

input:

288

output:

000000111111110111011110110111110101101101011101010101111110010111100110111001110110010101100110011110100101101001101010011100100101001001111100010111000110110001001100011101000101010001100100010001111000010110000110100001001000011100000101000001100000010000000011011110001111101100000111

result:

ok meet maximum 39850

Test #27:

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

input:

407

output:

110111011110110111110101101101011101010101111110010111100110111001110110010101100110011110100101101001101010011100100101001001111100010111000110110001001100011101000101010001100100010001111000010110000110100001001000011100000101000001100000010000000011011110001111101100000111011100001111011111110000...

result:

ok meet maximum 80310

Test #28:

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

input:

349

output:

110111011110110111110101101101011101010101111110010111100110111001110110010101100110011110100101101001101010011100100101001001111100010111000110110001001100011101000101010001100100010001111000010110000110100001001000011100000101000001100000010000000011011110001111101100000111011100001111011111110000...

result:

ok meet maximum 58821

Test #29:

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

input:

526

output:

000000011111111101111011101111101101101111110101101110101110110101111010101101010101111111001011111001101111001110111001010111001111011001011011001101011001110011001111101001011101001101101001110101001010101001100101001111001001011001001101001001001111110001011110001101110001001110001110110001010110...

result:

ok meet maximum 134925

Test #30:

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

input:

1018

output:

110101101110101110110101111010101101010101111111001011111001101111001110111001010111001111011001011011001101011001110011001111101001011101001101101001110101001010101001100101001111001001011001001101001001001111110001011110001101110001001110001110110001010110001100110001111010001011010001101010001001...

result:

ok meet maximum 510567

Test #31:

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

input:

1017

output:

110101101110101110110101111010101101010101111111001011111001101111001110111001010111001111011001011011001101011001110011001111101001011101001101101001110101001010101001100101001111001001011001001101001001001111110001011110001101110001001110001110110001010110001100110001111010001011010001101010001001...

result:

ok meet maximum 509558

Test #32:

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

input:

1209

output:

111011110111110111011111101101110110110111111101011011110101110111010111101101011010111110101011011010101110101010101111111100101111110011011111001110111100101011110011110111001011011100110101110011100111110110010111011001101101100111010110010101011001111001100101100110011111101001011110100110111010...

result:

ok meet maximum 721446

Test #33:

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

input:

1632

output:

110111110111011111101101110110110111111101011011110101110111010111101101011010111110101011011010101110101010101111111100101111110011011111001110111100101011110011110111001011011100110101110011100111110110010111011001101101100111010110010101011001111001100101100110011111101001011110100110111010011101...

result:

ok meet maximum 1318299

Test #34:

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

input:

1829

output:

110111110111011111101101110110110111111101011011110101110111010111101101011010111110101011011010101110101010101111111100101111110011011111001110111100101011110011110111001011011100110101110011100111110110010111011001101101100111010110010101011001111001100101100110011111101001011110100110111010011101...

result:

ok meet maximum 1657336

Test #35:

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

input:

3187

output:

110111110111101111110111011111110110111011101101111011011011111111010110111110101110111101011110111010111110110101101101101011101011010111111010101101110101011101101010111101010101101010101011111111100101111111001101111110011101111100101011111001111011110010110111100110101111001111101110010111011100...

result:

ok meet maximum 5049170

Test #36:

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

input:

2138

output:

000000000111111111110111110111101111110111011111110110111011101101111011011011111111010110111110101110111101011110111010111110110101101101101011101011010111111010101101110101011101101010111101010101101010101011111111100101111111001101111110011101111100101011111001111011110010110111100110101111001111...

result:

ok meet maximum 2267222

Test #37:

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

input:

4030

output:

111011101111111011011101110110111101101101111111101011011111010111011110101111011101011111011010110110110101110101101011111101010110111010101110110101011110101010110101010101111111110010111111100110111111001110111110010101111100111101111001011011110011010111100111110111001011101110011011011100111010...

result:

ok meet maximum 8082284

Test #38:

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

input:

6101

output:

111101111101111110111101111111011101110111111110110111011110110111101110110111110110110110111111111010110111111010111011111010111101111010111110111010110110111010111010111111011010110111011010111011011010111101011010111111101010110111101010111011101010111101101010110101101010111110101010110110101010...

result:

ok meet maximum 18549195

Test #39:

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

input:

5917

output:

111101111101111110111101111111011101110111111110110111011110110111101110110111110110110110111111111010110111111010111011111010111101111010111110111010110110111010111010111111011010110111011010111011011010111101011010111111101010110111101010111011101010111101101010110101101010111110101010110110101010...

result:

ok meet maximum 17445655

Test #40:

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

input:

6635

output:

111101111101111110111101111111011101110111111110110111011110110111101110110111110110110110111111111010110111111010111011111010111101111010111110111010110110111010111010111111011010110111011010111011011010111101011010111111101010110111101010111011101010111101101010110101101010111110101010110110101010...

result:

ok meet maximum 21943566

Test #41:

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

input:

9993

output:

111101111110111110111111101111011111111011101111011101110111111111011011101111101101111011110110111110111011011111101101101110110110110111111111101011011111110101110111111010111101111101011111011110101101101111010111111011101011011101110101110110111010111101011101011111110110101101111011010111011101...

result:

ok meet maximum 49821572

Test #42:

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

input:

14474

output:

111011111101111101111111011110111111110111011110111011101111111110110111011111011011110111101101111101110110111111011011011101101101101111111111010110111111101011101111110101111011111010111110111101011011011110101111110111010110111011101011101101110101111010111010111111101101011011110110101110111011...

result:

ok meet maximum 104583873

Test #43:

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

input:

11534

output:

111101111110111110111111101111011111111011101111011101110111111111011011101111101101111011110110111110111011011111101101101110110110110111111111101011011111110101110111111010111101111101011111011110101101101111010111111011101011011101110101110110111010111101011101011111110110101101111011010111011101...

result:

ok meet maximum 66388863

Test #44:

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

input:

19098

output:

111110111111011111110111110111111110111101111111110111011110111101110111110111011101111111111011011101111110110111101111101101111101111011011111101110110111011011111110110110111011101101101111011011011011111111111010110111111110101110111111101011110111111010111110111110101101101111101011111101111010...

result:

ok meet maximum 182141836

Test #45:

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

input:

31872

output:

110111111110111101111111110111011110111101110111110111011101111111111011011101111110110111101111101101111101111011011111101110110111011011111110110110111011101101101111011011011011111111111010110111111110101110111111101011110111111010111110111110101101101111101011111101111010110111011110101110110111...

result:

ok meet maximum 507514777

Test #46:

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

input:

27626

output:

111011111110111110111111110111101111111110111011110111101110111110111011101111111111011011101111110110111101111101101111101111011011111101110110111011011111110110110111011101101101111011011011011111111111010110111111110101110111111101011110111111010111110111110101101101111101011111101111010110111011...

result:

ok meet maximum 381257844

Test #47:

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

input:

43245

output:

111101111111011111101111111101111101111111110111101111011111111110111011110111110111011111011110111011111101110111011111111111011011101111111011011110111111011011111011111011011111101111011011111110111011011101110111011011110110111011011111111011011011101111011011011110111011011011111011011011011011...

result:

ok meet maximum 934503599

Test #48:

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

input:

34491

output:

111110111111101111110111111110111110111111111011110111101111111111011101111011111011101111101111011101111110111011101111111111101101110111111101101111011111101101111101111101101111110111101101111111011101101110111011101101111011011101101111111101101101110111101101101111011101101101111101101101101101...

result:

ok meet maximum 594380060

Test #49:

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

input:

64535

output:

101110111011011110110111011011111111011011011101111011011011110111011011011111011011011011011111111111101011011111111101011101111111101011110111111101011111011111101011011011111101011111101111101011011101111101011101101111101011111110111101011011110111101011101110111101011110110111101011111010111101...

result:

ok meet maximum 2081512994

Test #50:

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

input:

65746

output:

000000000000001111111111111111011111110111111110111111011111111101111101111111111011110111110111101111011111111111011101111011111101110111110111110111011111101111011101111111011101110111011111111111101101110111111110110111101111111011011111011111101101111110111110110111111101111011011101110111101101...

result:

ok meet maximum 2160380385

Test #51:

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

input:

65861

output:

000000000000001111111111111111011111110111111110111111011111111101111101111111111011110111110111101111011111111111011101111011111101110111110111110111011111101111011101111111011101110111011111111111101101110111111110110111101111111011011111011111101101111110111110110111111101111011011101110111101101...

result:

ok meet maximum 2167946005

Test #52:

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

input:

66725

output:

111111011111110111111110111111011111111101111101111111111011110111110111101111011111111111011101111011111101110111110111110111011111101111011101111111011101110111011111111111101101110111111110110111101111111011011111011111101101111110111110110111111101111011011101110111101101111011011111111011101101...

result:

ok meet maximum 2225209765

Test #53:

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

input:

86349

output:

111111011111110111111110111111011111111101111101111111111011110111110111101111011111111111011101111011111101110111110111110111011111101111011101111111011101110111011111111111101101110111111110110111101111111011011111011111101101111110111110110111111101111011011101110111101101111011011111111011101101...

result:

ok meet maximum 3726867681

Test #54:

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

input:

68454

output:

111111011111110111111110111111011111111101111101111111111011110111110111101111011111111111011101111011111101110111110111110111011111101111011101111111011101110111011111111111101101110111111110110111101111111011011111011111101101111110111110110111111101111011011101110111101101111011011111111011101101...

result:

ok meet maximum 2342045211

Test #55:

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

input:

112260

output:

111111011111110111111110111111011111111101111101111111111011110111110111101111011111111111011101111011111101110111110111110111011111101111011101111111011101110111011111111111101101110111111110110111101111111011011111011111101101111110111110110111111101111011011101110111101101111011011111111011101101...

result:

ok meet maximum 6299544960

Test #56:

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

input:

108023

output:

111111011111110111111110111111011111111101111101111111111011110111110111101111011111111111011101111011111101110111110111110111011111101111011101111111011101110111011111111111101101110111111110110111101111111011011111011111101101111110111110110111111101111011011101110111101101111011011111111011101101...

result:

ok meet maximum 5832941098

Test #57:

score: 0
Accepted
time: 9ms
memory: 9288kb

input:

103787

output:

111111011111110111111110111111011111111101111101111111111011110111110111101111011111111111011101111011111101110111110111110111011111101111011101111111011101110111011111111111101101110111111110110111101111111011011111011111101101111110111110110111111101111011011101110111101101111011011111111011101101...

result:

ok meet maximum 5384393176

Test #58:

score: 0
Accepted
time: 8ms
memory: 9576kb

input:

128710

output:

111101011110111111110101111101111111010110110111111101011111101111110101101110111111010111011011111101011111110111110101101111011111010111011101111101011110110111110101111101011111111011110101101111101111010111011110111101011110111011110101111101101111010110110110111101011111101011110101111111110111...

result:

ok meet maximum 8281268235

Test #59:

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

input:

129534

output:

111011011010110111101101101011101110110110101111011011011010111110101101101011011010111111110101101011011111010110101110111101011010111101110101101011111011010110101101101101011010111010110101101011111111111010101101111111101010111011111110101011110111111010101101011111101010111110111110101011011011...

result:

ok meet maximum 8387651991

Test #60:

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

input:

128670

output:

111101011110111111110101111101111111010110110111111101011111101111110101101110111111010111011011111101011111110111110101101111011111010111011101111101011110110111110101111101011111111011110101101111101111010111011110111101011110111011110101111101101111010110110110111101011111101011110101111111110111...

result:

ok meet maximum 8276121255

Test #61:

score: 0
Accepted
time: 8ms
memory: 13336kb

input:

154721

output:

111111011111111011111110111111111011111101111111111011111011111111111011110111110111110111101111110111101111011111111111101110111101111111011101111101111110111011111101111101110111111101111011101111111101110111011110111011101110111111111111101101110111111111011011110111111110110111110111111101101111...

result:

ok meet maximum 11967003302

Test #62:

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

input:

143149

output:

111111011111111011111110111111111011111101111111111011111011111111111011110111110111110111101111110111101111011111111111101110111101111111011101111101111110111011111101111101110111111101111011101111111101110111011110111011101110111111111111101101110111111111011011110111111110110111110111111101101111...

result:

ok meet maximum 10243718420

Test #63:

score: 0
Accepted
time: 10ms
memory: 13332kb

input:

134065

output:

111111011111111011111110111111111011111101111111111011111011111111111011110111110111110111101111110111101111011111111111101110111101111111011101111101111110111011111101111101110111111101111011101111111101110111011110111011101110111111111111101101110111111111011011110111111110110111110111111101101111...

result:

ok meet maximum 8984762318

Test #64:

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

input:

163454

output:

111111011111111011111110111111111011111101111111111011111011111111111011110111110111110111101111110111101111011111111111101110111101111111011101111101111110111011111101111101110111111101111011101111111101110111011110111011101110111111111111101101110111111111011011110111111110110111110111111101101111...

result:

ok meet maximum 13356170345

Test #65:

score: 0
Accepted
time: 8ms
memory: 13296kb

input:

139150

output:

111111011111111011111110111111111011111101111111111011111011111111111011110111110111110111101111110111101111011111111111101110111101111111011101111101111110111011111101111101110111111101111011101111111101110111011110111011101110111111111111101101110111111111011011110111111110110111110111111101101111...

result:

ok meet maximum 9679327553

Test #66:

score: 0
Accepted
time: 15ms
memory: 13364kb

input:

172380

output:

111111011111111011111110111111111011111101111111111011111011111111111011110111110111110111101111110111101111011111111111101110111101111111011101111101111110111011111101111101110111111101111011101111111101110111011110111011101110111111111111101101110111111111011011110111111110110111110111111101101111...

result:

ok meet maximum 14854850208

Test #67:

score: 0
Accepted
time: 10ms
memory: 13248kb

input:

178166

output:

111111011111111011111110111111111011111101111111111011111011111111111011110111110111110111101111110111101111011111111111101110111101111111011101111101111110111011111101111101110111111101111011101111111101110111011110111011101110111111111111101101110111111111011011110111111110110111110111111101101111...

result:

ok meet maximum 15868884317

Test #68:

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

input:

143651

output:

111111011111111011111110111111111011111101111111111011111011111111111011110111110111110111101111110111101111011111111111101110111101111111011101111101111110111011111101111101110111111101111011101111111101110111011110111011101110111111111111101101110111111111011011110111111110110111110111111101101111...

result:

ok meet maximum 10315696937

Test #69:

score: 0
Accepted
time: 12ms
memory: 13824kb

input:

198199

output:

111011111111011111110111111111011111101111111111011111011111111111011110111110111110111101111110111101111011111111111101110111101111111011101111101111110111011111101111101110111111101111011101111111101110111011110111011101110111111111111101101110111111111011011110111111110110111110111111101101111110...

result:

ok meet maximum 19638413795

Test #70:

score: 0
Accepted
time: 8ms
memory: 13268kb

input:

186272

output:

111111011111111011111110111111111011111101111111111011111011111111111011110111110111110111101111110111101111011111111111101110111101111111011101111101111110111011111101111101110111111101111011101111111101110111011110111011101110111111111111101101110111111111011011110111111110110111110111111101101111...

result:

ok meet maximum 17345817782

Test #71:

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

input:

198102

output:

111011111111011111110111111111011111101111111111011111011111111111011110111110111110111101111110111101111011111111111101110111101111111011101111101111110111011111101111101110111111101111011101111111101110111011110111011101110111111111111101101110111111111011011110111111110110111110111111101101111110...

result:

ok meet maximum 19619194797

Test #72:

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

input:

8201

output:

110100101101110100110101110100111001110100111110110100101110110100110110110100111010110100101010110100110010110100111100110100101100110100110100111111010100101111010100110111010100111011010100101011010100110011010100111101010100101101010100110101010100111001010100111110010100101110010100110110010100...

result:

ok meet maximum 33542145

Test #73:

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

input:

8202

output:

110100101101110100110101110100111001110100111110110100101110110100110110110100111010110100101010110100110010110100111100110100101100110100110100111111010100101111010100110111010100111011010100101011010100110011010100111101010100101101010100110101010100111001010100111110010100101110010100110110010100...

result:

ok meet maximum 33550335

Test #74:

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

input:

8203

output:

000000000000110111111110001111111110110000000001110111111100001111111101110000000011110111111000001111111011110000000111110111110000001111110111111111110000000000010111111111001111111111010000000000111111111111101111101000011111100111000000010000111011101110000111100001011000010110100110101001011001...

result:

ok meet maximum 33558526

Test #75:

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

input:

8204

output:

000000000000111111111111101111110111110111111101111011111111011101111011101110111111111011011101111101101111011110110111110111011011111101101101110110110110111111111101011011111110101110111111010111101111101011111011110101101101111010111111011101011011101110101110110111010111101011101011111110110101...

result:

ok meet maximum 33566718

Test #76:

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

input:

8205

output:

000000000001111111111111011111101111101111111011110111111110111011110111011101111111110110111011111011011110111101101111101110110111111011011011101101101101111111111010110111111101011101111110101111011111010111110111101011011011110101111110111010110111011101011101101110101111010111010111111101101011...

result:

ok meet maximum 33574910

Test #77:

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

input:

8206

output:

000000000001111111111111011111101111101111111011110111111110111011110111011101111111110110111011111011011110111101101111101110110111111011011011101101101101111111111010110111111101011101111110101111011111010111110111101011011011110101111110111010110111011101011101101110101111010111010111111101101011...

result:

ok meet maximum 33583103

Test #78:

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

input:

16394

output:

110100110110111010011101011101001010101110100110010111010011110011101001011001110100111111011010010111101101001101110110100111011011010010101101101001100110110100111101011010010110101101001101010110100111001011010011111001101001011100110100110110011010011101001101001111111010100101111101010011011110...

result:

ok meet maximum 134193153

Test #79:

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

input:

16395

output:

110100110110111010011101011101001010101110100110010111010011110011101001011001110100111111011010010111101101001101110110100111011011010010101101101001100110110100111101011010010110101101001101010110100111001011010011111001101001011100110100110110011010011101001101001111111010100101111101010011011110...

result:

ok meet maximum 134209535

Test #80:

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

input:

16396

output:

000000000000011011111111100011111111110110000000000111011111111000011111111101110000000001111011111110000011111111011110000000011111011111100000011111110111110000000111111011111111111100000000000010111111111100111111111110100000000000111111111111110111111010000111111100111000000001000011110111011111...

result:

ok meet maximum 134225918

Test #81:

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

input:

16397

output:

000000000000011111111111111011111101111111011111011111111011110111111111011101111011110111011111011101110111111111101101110111111011011110111110110111110111101101111110111011011101101111111011011011101110110110111101101101101111111111101011011111111010111011111110101111011111101011111011111010110110...

result:

ok meet maximum 134242302

Test #82:

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

input:

16398

output:

000000000000111111111111110111111011111110111110111111110111101111111110111011110111101110111110111011101111111111011011101111110110111101111101101111101111011011111101110110111011011111110110110111011101101101111011011011011111111111010110111111110101110111111101011110111111010111110111110101101101...

result:

ok meet maximum 134258686

Test #83:

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

input:

16399

output:

000000000000111111111111110111111011111110111110111111110111101111111110111011110111101110111110111011101111111111011011101111110110111101111101101111101111011011111101110110111011011111110110110111011101101101111011011011011111111111010110111111110101110111111101011110111111010111110111110101101101...

result:

ok meet maximum 134275071

Test #84:

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

input:

32779

output:

100100100100101001001001001111111111100010111111111000110111111110001001111111100011101111111000101011111110001100111111100011110111111000101101111110001101011111100010010111111000111001111110001010011111100011111011111000101110111110001101101111100010011011111000111010111110001010101111100011001011...

result:

ok meet maximum 536821761

Test #85:

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

input:

32780

output:

100100100100101001001001001111111111100010111111111000110111111110001001111111100011101111111000101011111110001100111111100011110111111000101101111110001101011111100010010111111000111001111110001010011111100011111011111000101110111110001101101111100010011011111000111010111110001010101111100011001011...

result:

ok meet maximum 536854527

Test #86:

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

input:

32781

output:

000000000000001101111111111000111111111110110000000000011101111111110000111111111101110000000000111101111111100000111111111011110000000001111101111111000000111111110111110000000011111101111110000000111111101111111111111000000000000010111111111110011111111111101000000000000111111111111111011111101000...

result:

ok meet maximum 536887294

Test #87:

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

input:

32782

output:

000000000000001111111111111110111111101111110111111110111110111111111011110111101111111111011101111011111011101111101111011101111110111011101111111111101101110111111101101111011111101101111101111101101111110111101101111111011101101110111011101101111011011101101111111101101101110111101101101111011101...

result:

ok meet maximum 536920062

Test #88:

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

input:

32783

output:

000000000000011111111111111101111111011111101111111101111101111111110111101111011111111110111011110111110111011111011110111011111101110111011111111111011011101111111011011110111111011011111011111011011111101111011011111110111011011101110111011011110110111011011111111011011011101111011011011110111011...

result:

ok meet maximum 536952830

Test #89:

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

input:

32784

output:

000000000000011111111111111101111111011111101111111101111101111111110111101111011111111110111011110111110111011111011110111011111101110111011111111111011011101111111011011110111111011011111011111011011111101111011011111110111011011101110111011011110110111011011111111011011011101111011011011110111011...

result:

ok meet maximum 536985599

Test #90:

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

input:

65548

output:

111010001011101111010001101101111010001001101111010001110101111010001010101111010001100101111010001111001111010001011001111010001101001111010001001001111010001110001111010001111110111010001011110111010001101110111010001001110111010001110110111010001010110111010001100110111010001111010111010001011010...

result:

ok meet maximum 2147385345

Test #91:

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

input:

65549

output:

111010001011101111010001101101111010001001101111010001110101111010001010101111010001100101111010001111001111010001011001111010001101001111010001001001111010001110001111010001111110111010001011110111010001101110111010001001110111010001110110111010001010110111010001100110111010001111010111010001011010...

result:

ok meet maximum 2147450879

Test #92:

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

input:

65550

output:

000000000000000110111111111110001111111111110110000000000001110111111111100001111111111101110000000000011110111111111000001111111111011110000000000111110111111110000001111111110111110000000001111110111111100000001111111101111110000000011111110111111111111110000000000000010111111111111001111111111111...

result:

ok meet maximum 2147516414

Test #93:

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

input:

65551

output:

000000000000000111111111111111101111111011111111011111101111111110111110111111111101111011111011110111101111111111101110111101111110111011111011111011101111110111101110111111101110111011101111111111110110111011111111011011110111111101101111101111110110111111011111011011111110111101101110111011110110...

result:

ok meet maximum 2147581950

Test #94:

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

input:

65552

output:

000000000000001111111111111111011111110111111110111111011111111101111101111111111011110111110111101111011111111111011101111011111101110111110111110111011111101111011101111111011101110111011111111111101101110111111110110111101111111011011111011111101101111110111110110111111101111011011101110111101101...

result:

ok meet maximum 2147647486

Test #95:

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

input:

65553

output:

000000000000001111111111111111011111110111111110111111011111111101111101111111111011110111110111101111011111111111011101111011111101110111110111110111011111101111011101111111011101110111011111111111101101110111111110110111101111111011011111011111101101111110111110110111111101111011011101110111101101...

result:

ok meet maximum 2147713023

Test #96:

score: 0
Accepted
time: 8ms
memory: 9684kb

input:

131085

output:

111010001101110111101000100111011110100011101101111010001010110111101000110011011110100011110101111010001011010111101000110101011110100010010101111010001110010111101000101001011110100011000101111010001111100111101000101110011110100011011001111010001001100111101000111010011110100010101001111010001100...

result:

ok meet maximum 8589737985

Test #97:

score: 0
Accepted
time: 8ms
memory: 9696kb

input:

131086

output:

111010001101110111101000100111011110100011101101111010001010110111101000110011011110100011110101111010001011010111101000110101011110100010010101111010001110010111101000101001011110100011000101111010001111100111101000101110011110100011011001111010001001100111101000111010011110100010101001111010001100...

result:

ok meet maximum 8589869055

Test #98:

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

input:

131087

output:

000000000000000011011111111111100011111111111110110000000000000111011111111111000011111111111101110000000000001111011111111110000011111111111011110000000000011111011111111100000011111111110111110000000000111111011111111000000011111111101111110000000001111111011111110000000011111111011111111111111100...

result:

ok meet maximum 8590000126

Test #99:

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

input:

131088

output:

000000000000000011111111111111111011111111011111110111111111011111101111111111011111011111111111011110111110111110111101111110111101111011111111111101110111101111111011101111101111110111011111101111101110111111101111011101111111101110111011110111011101110111111111111101101110111111111011011110111111...

result:

ok meet maximum 8590131198

Test #100:

score: 0
Accepted
time: 9ms
memory: 13012kb

input:

131089

output:

000000000000000111111111111111110111111110111111101111111110111111011111111110111110111111111110111101111101111101111011111101111011110111111111111011101111011111110111011111011111101110111111011111011101111111011110111011111111011101110111101110111011101111111111111011011101111111110110111101111111...

result:

ok meet maximum 8590262270

Test #101:

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

input:

131090

output:

000000000000000111111111111111110111111110111111101111111110111111011111111110111110111111111110111101111101111101111011111101111011110111111111111011101111011111110111011111011111101110111111011111011101111111011110111011111111011101110111101110111011101111111111111011011101111111110110111101111111...

result:

ok meet maximum 8590393343

Test #102:

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

input:

8197

output:

110100101101110100110101110100111001110100111110110100101110110100110110110100111010110100101010110100110010110100111100110100101100110100110100111111010100101111010100110111010100111011010100101011010100110011010100111101010100101101010100110101010100111001010100111110010100101110010100110110010100...

result:

ok meet maximum 33509395

Test #103:

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

input:

16328

output:

111010011101111101001010111110100110011111010011110111101001011011110100110101111010011100111101001111101110100101110111010011011011101001110101110100101010111010011001011101001111001110100101100111010011111101101001011110110100110111011010011101101101001010110110100110011011010011110101101001011010...

result:

ok meet maximum 133114152

Test #104:

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

input:

32608

output:

110010110110111100110101101111001111101011110010111010111100110110101111001110101011110010101010111100111111001111001011110011110011111111011100101111110111001101111101110011101111011100101011110111001111011101110010110111011100110101110111001111101101110010111011011100110110110111001110101101110010...

result:

ok meet maximum 531233481

Test #105:

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

input:

65141

output:

111010010111011111010011011011111010011101011111010010101011111010011001011111010011110011111010010110011111010011111101111010010111101111010011011101111010011101101111010010101101111010011001101111010011110101111010010110101111010011010101111010011100101111010011111001111010010111001111010011011001...

result:

ok meet maximum 2120796035

Test #106:

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

input:

130420

output:

111010010101110111101001100111011110100111101101111010010110110111101001101011011110100111001101111010011111010111101001011101011110100110110101111010011101010111101001010101011110100110010101111010011110010111101001011001011110100111111001111010010111100111101001101110011110100111011001111010010101...

result:

ok meet maximum 8502797880

Test #107:

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

input:

8265

output:

000000000001111111111111011111101111101111111011110111111110111011110111011101111111110110111011111011011110111101101111101110110111111011011011101101101101111111111010110111111101011101111110101111011111010111110111101011011011110101111110111010110111011101011101101110101111010111010111111101101011...

result:

ok meet maximum 34068260

Test #108:

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

input:

16508

output:

000000000000111111111111110111111011111110111110111111110111101111111110111011110111101110111110111011101111111111011011101111110110111101111101101111101111011011111101110110111011011111110110110111011101101101111011011011011111111111010110111111110101110111111101011110111111010111110111110101101101...

result:

ok meet maximum 136067031

Test #109:

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

input:

33008

output:

000000000000011111111111111101111111011111101111111101111101111111110111101111011111111110111011110111110111011111011110111011111101110111011111111111011011101111111011011110111111011011111011111011011111101111011011111110111011011101110111011011110110111011011111111011011011101111011011011110111011...

result:

ok meet maximum 544351055

Test #110:

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

input:

65964

output:

111111011111110111111110111111011111111101111101111111111011110111110111101111011111111111011101111011111101110111110111110111011111101111011101111111011101110111011111111111101101110111111110110111101111111011011111011111101101111110111110110111111101111011011101110111101101111011011111111011101101...

result:

ok meet maximum 2174733396

Test #111:

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

input:

131692

output:

111111011111111011111110111111111011111101111111111011111011111111111011110111110111110111101111110111101111011111111111101110111101111111011101111101111110111011111101111101110111111101111011101111111101110111011110111011101110111111111111101101110111111111011011110111111110110111110111111101101111...

result:

ok meet maximum 8669480792

Test #112:

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

input:

15843

output:

111110111011110111011101111111110110111011111011011110111101101111101110110111111011011011101101101101111111111010110111111101011101111110101111011111010111110111101011011011110101111110111010110111011101011101101110101111010111010111111101101011011110110101110111011010111101101101011111010110101101...

result:

ok meet maximum 125318747

Test #113:

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

input:

31560

output:

110111111110111101111111110111011110111101110111110111011101111111111011011101111110110111101111101101111101111011011111101110110111011011111110110110111011101101101111011011011011111111111010110111111110101110111111101011110111111010111110111110101101101111101011111101111010110111011110101110110111...

result:

ok meet maximum 497623597

Test #114:

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

input:

64241

output:

101111011110111111111101110111101111101110111110111101110111111011101110111111111110110111011111110110111101111110110111110111110110111111011110110111111101110110111011101110110111101101110110111111110110110111011110110110111101110110110111110110110110110111111111111010110111111111010111011111111010...

result:

ok meet maximum 2062587185

Test #115:

score: 0
Accepted
time: 9ms
memory: 9300kb

input:

73307

output:

111111011111110111111110111111011111111101111101111111111011110111110111101111011111111111011101111011111101110111110111110111011111101111011101111111011101110111011111111111101101110111111110110111101111111011011111011111101101111110111110110111111101111011011101110111101101111011011111111011101101...

result:

ok meet maximum 2685953056

Test #116:

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

input:

129593

output:

111011011010110111101101101011101110110110101111011011011010111110101101101011011010111111110101101011011111010110101110111101011010111101110101101011111011010110101101101101011010111010110101101011111111111010101101111111101010111011111110101011110111111010101101011111101010111110111110101011011011...

result:

ok meet maximum 8395295323