QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#136523#6211. 位运算chen_zhe_100 ✓669ms6752kbC++141.4kb2023-08-08 23:43:472023-08-08 23:43:51

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

3 1
1100111110

output:

93838

result:

ok 1 number(s): "93838"

Test #2:

score: 10
Accepted
time: 8ms
memory: 6344kb

input:

3 10000
11110001000000101001110111111001000110111001001010

output:

707515528

result:

ok 1 number(s): "707515528"

Test #3:

score: 10
Accepted
time: 35ms
memory: 6584kb

input:

5 20
1111111111111110101111111010101001111111

output:

246596464

result:

ok 1 number(s): "246596464"

Test #4:

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

input:

5 20
10010000000010001100000001001000000000100000000000

output:

237252707

result:

ok 1 number(s): "237252707"

Test #5:

score: 10
Accepted
time: 43ms
memory: 6408kb

input:

5 20
11111111110111111111111111111111111111111111011111

output:

218600478

result:

ok 1 number(s): "218600478"

Test #6:

score: 10
Accepted
time: 23ms
memory: 4896kb

input:

4 100000
11111111110111101100110111101111111110100001110111

output:

337825034

result:

ok 1 number(s): "337825034"

Test #7:

score: 10
Accepted
time: 669ms
memory: 6656kb

input:

7 100000
11111111111111111111111111111111011110111011111111

output:

152914862

result:

ok 1 number(s): "152914862"

Test #8:

score: 10
Accepted
time: 664ms
memory: 6752kb

input:

7 100000
10101100110000000000000000000100010000000000001000

output:

81822662

result:

ok 1 number(s): "81822662"

Test #9:

score: 10
Accepted
time: 664ms
memory: 6716kb

input:

7 100000
10101101001110000011010101101101111111110100111100

output:

155796550

result:

ok 1 number(s): "155796550"

Test #10:

score: 10
Accepted
time: 659ms
memory: 6660kb

input:

7 100000
10010111111110111011100111101110101111111011101100

output:

747932395

result:

ok 1 number(s): "747932395"