QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#136522#6211. 位运算GuanYunchang100 ✓667ms6696kbC++141.3kb2023-08-08 23:43:212023-08-08 23:43:22

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 10
Accepted
time: 4ms
memory: 5548kb

input:

3 1
1100111110

output:

93838

result:

ok 1 number(s): "93838"

Test #2:

score: 10
Accepted
time: 17ms
memory: 6448kb

input:

3 10000
11110001000000101001110111111001000110111001001010

output:

707515528

result:

ok 1 number(s): "707515528"

Test #3:

score: 10
Accepted
time: 38ms
memory: 5688kb

input:

5 20
1111111111111110101111111010101001111111

output:

246596464

result:

ok 1 number(s): "246596464"

Test #4:

score: 10
Accepted
time: 46ms
memory: 6308kb

input:

5 20
10010000000010001100000001001000000000100000000000

output:

237252707

result:

ok 1 number(s): "237252707"

Test #5:

score: 10
Accepted
time: 47ms
memory: 6428kb

input:

5 20
11111111110111111111111111111111111111111111011111

output:

218600478

result:

ok 1 number(s): "218600478"

Test #6:

score: 10
Accepted
time: 17ms
memory: 6524kb

input:

4 100000
11111111110111101100110111101111111110100001110111

output:

337825034

result:

ok 1 number(s): "337825034"

Test #7:

score: 10
Accepted
time: 667ms
memory: 6644kb

input:

7 100000
11111111111111111111111111111111011110111011111111

output:

152914862

result:

ok 1 number(s): "152914862"

Test #8:

score: 10
Accepted
time: 666ms
memory: 6696kb

input:

7 100000
10101100110000000000000000000100010000000000001000

output:

81822662

result:

ok 1 number(s): "81822662"

Test #9:

score: 10
Accepted
time: 665ms
memory: 6664kb

input:

7 100000
10101101001110000011010101101101111111110100111100

output:

155796550

result:

ok 1 number(s): "155796550"

Test #10:

score: 10
Accepted
time: 651ms
memory: 6664kb

input:

7 100000
10010111111110111011100111101110101111111011101100

output:

747932395

result:

ok 1 number(s): "747932395"