UOJ Logo

NOI.AC

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#95569#1236. 有趣的二进制SpiderQ1000ms1288kbC++309b2020-02-19 12:10:232020-02-19 12:10:24

answer


Details

小提示:点击横条可展开更详细的信息

Test #1:

score: 20
Accepted
time: 0ms
memory: 1284kb

input:

10
10101010
1111111
1100000001
1110
110
101010101111
1111111000
110000000111111
11111111
111

output:

170
127
769
14
6
2735
1016
24639
255
7

result:

ok 10 lines

Test #2:

score: 20
Accepted
time: 0ms
memory: 1284kb

input:

40
10101010
1111111
1100000001
1110
11011
1010101011111111
1111111000
110000000111111
11111111
111
1...

output:

170
127
769
14
27
43775
1016
24639
255
7
170
1023
769
14
6
2735
8135
24639
255
63
170
4095
769
14
6
...

result:

ok 40 lines

Test #3:

score: 20
Accepted
time: 0ms
memory: 1288kb

input:

80
10101010
1111111
1100000001
11101111
11011
1010101011111111
1111111000
110000000111111
11111111
1...

output:

170
127
769
239
27
43775
1016
24639
255
7
170
1023
769
59
6
2735
8135
24639
255
63
170
4095
769
14
5...

result:

ok 80 lines

Test #4:

score: 20
Accepted
time: 0ms
memory: 1288kb

input:

3
1010
111
11

output:

10
7
3

result:

ok 3 lines

Test #5:

score: 20
Accepted
time: 0ms
memory: 1288kb

input:

5
10101010
1111111
1100000001
111
11

output:

170
127
769
7
3

result:

ok 5 lines