QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#808133#2518. Puzzle Gameucup-team878WA 2138ms3908kbC++203.4kb2024-12-10 17:18:102024-12-10 17:18:12

詳細信息

Test #1:

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

input:

3
7 3
ABADCAB
CBB
11 7
ABACCDBADAC
AADCDAC
3 2
ABA
CB

output:

ADCABAB
ABABDACCDAC
NO

result:

ok  (3 test cases)

Test #2:

score: 0
Accepted
time: 2138ms
memory: 3608kb

input:

15
7 3
ABADCAB
CBB
11 7
ABACCDBADAC
AADCDAC
3 2
ABA
CB
15 1
BAACABBCADADCAD
A
37 20
DADBDCDADBDCDADBDCDADBDCDADBDCDADBDBA
DDDDDDDDDDDDDDDDDDAA
37 19
DADBDCDADBDCDADBDCDADBDCDADBDCDADBDBA
ABCACABBBABACCBCABA
51 33
AAAAAABBBBBBBBBBBBBBBBBCCCCCCCCCCCCCCDDDDDDDDDDDDDD
AABBBBBBBBBBBBBBCCCCCCCCDDDDDDDDD
4...

output:

ADCABAB
ABABDACCDAC
NO
BAABBCACACDADAD
NO
DADBDCDADCDADBDBDBDADBDADCDCDBDCDADBA
AAAAAABBBBBBBBBBBBBBBBBCCCCCCCCCCCCCCDDDDDDDDDDDDDD
AAABABBBCCDCDCACBDADDADBCCCCCBCDBCACBBDBADAAABABDBDDBCBADAACCAADDADACDBABCADAADDDBBDABBCBCDAADDDABBCCCDCADDAAABDDACABABABBAABCCCDBBADCCAACCBCADCDDACADCDADADBBADBDBBACCA...

result:

ok  (15 test cases)

Test #3:

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

input:

15
300 294
CCBACDDAADBCDDBAAAABACCAADBADAAABABCACBCCCAABBCACCCBCABBAAABCBDAADBADAABAADACCAACDDDBBDBDDACAACDDCABACDDABABACADACBCBDACDDCDCDBDCACCCDCDABADDDBBABDBBCCBADBDAACDDCCCADDCABAAAAADBADBDACBBACDCAACABABDBDCCDABCBDDADCABDDDDDAABACACCDBDBBACADBBAAAACCCCBDCCBDDBDBBBDDDAADDBAADDCBDBAACDACCABDAACBBB...

output:

CCAAACCCACDDDCACBBCCBAAAABDBABBDBABDABCCDAADDBBADAADBACCADAABDCBABACDADDCDCAAAACCDBABCABDBACCDDBDCCBDCDCDBDBAABCDBADBADDDDDCDDCCBDDDCAABDBBAABBCDCACBABBABDDDDBBCABBBACABADDCCBACCCAADAAADADCAABCADDDDBBAAACBDADACDBDBADDDBCACABADDDCBDABDACACBACCCBAAACBBDDACBDAADABADBDACDBBAADBAADBBBACDBCCCCAACACCAAAACA...

result:

ok  (15 test cases)

Test #4:

score: -100
Wrong Answer
time: 0ms
memory: 3848kb

input:

13
21 13
ABCDABCDABCDABCDABCDA
ABABABCDCDCDA
34 16
CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC
CCCCCCCCCCCCCCCC
19 1
DCCDBCDCBADDBBCDCBC
A
19 1
CABACABCADBCCAABBAC
D
19 1
CCCCCCCCCCCCCCCCCCC
C
19 1
ACCCCCCCCCCCCCCCCCA
A
19 1
CBAABCADDAADADDDADC
C
2 1
AB
A
2 1
DD
D
2 1
AB
C
2 1
CD
C
9 8
ABDBACABA
DBABABAC
10 ...

output:

ADADABCBCBABABCDCDCDA
CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC
DDABBCCDCDCDCBCBDBC
CCAABBCBABACACABDAC
NO
NO
NO
AB
NO
NO
CD
NO
BCADBAAADD

result:

wrong answer Wrong Answer: judge finds a solution, but participant doesn't.
Judge's output: CCCCCCCCCCCCCCCCCCC
Participant's output: NO (test case 5)