QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#556857#1193. Ambiguous EncodingkintsgiWA 5ms4312kbC++141.9kb2024-09-10 21:30:512024-09-10 21:30:52

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

3
0
01
10

output:

3

result:

ok answer is '3'

Test #2:

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

input:

3
00
01
1

output:

0

result:

ok answer is '0'

Test #3:

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

input:

3
00
10
1

output:

0

result:

ok answer is '0'

Test #4:

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

input:

10
1001
1011
01000
00011
01011
1010
00100
10011
11110
0110

output:

13

result:

ok answer is '13'

Test #5:

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

input:

3
1101
1
10

output:

4

result:

ok answer is '4'

Test #6:

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

input:

100
1010011110001
00000100010101
011010100100001
11100001100011
10010001010
1110001110110011
01001100111
1010100110010100
00000100111010
100111001100101
0010000000010
0111110011100110
0100111000001
1100101111110001
1100100110001
10100011010
10100000011000
1111001111001110
000000000101011
10101111011...

output:

102

result:

ok answer is '102'

Test #7:

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

input:

10
0110
001100
0100
0001
100
001010
0010
100010
1100
11101

output:

10

result:

ok answer is '10'

Test #8:

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

input:

10
1001
10111
11011
00010
001
001100
110
01110
111101
11100

output:

10

result:

ok answer is '10'

Test #9:

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

input:

10
0001
0101
1001
101
0010
010
00000
1000
00001
111101

output:

10

result:

ok answer is '10'

Test #10:

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

input:

100
0100001001101111
00001000100011
001111100110101
1010001010001
01110010101011
1110101100011
00100000100110
01111110100
110001111010
10101010001
00010000100100
00010011100
01101001100010
010111010101
00101110101001
00110100110110
00111001101
0001110011000011
11101100110
101111001011001
00101110100...

output:

110

result:

ok answer is '110'

Test #11:

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

input:

100
010110000010110
111001111001
00000010100111
1011000100011100
1010110100001000
0101110010110
11101010001
0001101001001101
10011111110010
01010001101
11011101010
011011111011001
111000111110
01011100011
0000111110110
000110001011
110100011000
10010011011
0011001010001
1010001110000110
100100100001...

output:

113

result:

ok answer is '113'

Test #12:

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

input:

10
011
011000
111011
0101
101000
010100
1101
10100
11111
001001

output:

11

result:

ok answer is '11'

Test #13:

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

input:

10
101
110
00000
100011
010
110001
001001
1110
011111
01001

output:

11

result:

ok answer is '11'

Test #14:

score: -100
Wrong Answer
time: 5ms
memory: 4312kb

input:

200
100101110111000
0111100000111
1010110010001110
000001000000
111000100101
111010000110100
11100110010100
100110111110
1000100110110
0100010010111
001100010101
100001001110100
1110000011001111
0110100100100
111111111110
1110111010110
1101101000111
0001101001110001
000010110111110
101100110010
1010...

output:

0

result:

wrong answer expected '116', found '0'