QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#808163 | #2518. Puzzle Game | ucup-team878 | TL | 2241ms | 3848kb | C++20 | 3.8kb | 2024-12-10 17:29:54 | 2024-12-10 17:29:54 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
Details
Tip: Click on the bar to expand more detailed information
Test #1:
score: 100
Accepted
time: 1ms
memory: 3620kb
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: 2241ms
memory: 3552kb
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 BAACABBCADACDAD NO DADBDCDADCDADBDBDBDADBDADCDCDBDCDADBA AAAAAABBBBBBBBBBBBBBBBBCCCCCCCCCCCCCCDDDDDDDDDDDDDD AAABBBCCDCABCDABDCADDADBCCCCCBCDBCACBBDBADAAABABDBDDBCBADAACCAADDADACDBABCADAADDDBBDABBCBCDAADDDABBCCCDCADDAAABDDACABABABBAABCCCDBBADCCAACCBCADCDDACADCDADADBBADBDBBACCA...
result:
ok (15 test cases)
Test #3:
score: 0
Accepted
time: 3ms
memory: 3644kb
input:
15 300 294 CCBACDDAADBCDDBAAAABACCAADBADAAABABCACBCCCAABBCACCCBCABBAAABCBDAADBADAABAADACCAACDDDBBDBDDACAACDDCABACDDABABACADACBCBDACDDCDCDBDCACCCDCDABADDDBBABDBBCCBADBDAACDDCCCADDCABAAAAADBADBDACBBACDCAACABABDBDCCDABCBDDADCABDDDDDAABACACCDBDBBACADBBAAAACCCCBDCCBDDBDBBBDDDAADDBAADDCBDBAACDACCABDAACBBB...
output:
CCAAACCCACDDDCACBBCCBAAAABDBABBDBABDABCCDAADDBBADAADBACCADAABDCBABACDADDCDCAAAACCDBABCABDBACCDDBDCCBDCDCDBDBAABCDBADBADDDDDCDDCCBDDDCAABDBBAABBCDCACBABBABDDDDBBCABBBACABADDCCBACCCAADAAADADCAABCADDDDBBAAACBDADACDBDBADDDBCACABADDDCBDABDACACBACCCBAAACBBDDACBDAADABADBDACDBBAADBAADBBBACDBCCCCAACACCAAAACA...
result:
ok (15 test cases)
Test #4:
score: 0
Accepted
time: 2ms
memory: 3588kb
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 DABBCCDDCDCBCDBCDBC CAABBCCABACABCABDAC CCCCCCCCCCCCCCCCCCC ACCCCCCCCCCCCCCCCCA CBAAADDDDADADABCDAC AB DD NO CD NO BCADBAAADD
result:
ok (13 test cases)
Test #5:
score: 0
Accepted
time: 51ms
memory: 3616kb
input:
14 570 554 CDDBDDDCBAADBAADADADDBDADCADDBDBACBDCAADDDADCDDCABAABBDDCCCACBCDCADBBADABCBCBDABDBCDDCACBDDCBADCDCACDBDDCBDACCCACBBDBABDCBCCCCBDCACABBCBBBCAACBDBBCBCBBDADCABCCABCDADCCCADDCDCACCBBCDDAACBDDCCDBDACCBDAACACBDCDACBCDCBCBDACCBCDDDCDDCCCCBABBACCCDCCDBCACDBBDCABABBACDABBDADBCDBDCDCDDABBCDBCBCCCA...
output:
CDDDCBAABDCDACDDDBDBDAACDACDBADCAABCBCDBABADDDDBDCAADDCAADDADBACADCDBABAABABDAABCDCABCBDCBCBDAABDBDBCDADAABDBCAABDBCDACDCAADCDDCDACDBDDDBCCDDBADADBBDAACDCACDAABBDBCADBDDBCCCDBBDACBACCBBCDBACDADCDCCBDACACABDADADDAACCCBDCDABBACBABBBBDBDCCABBCAABABDADBDDCCBDDBDBCADCCCCADBDBDCCDDDBCDADCCBDCBACBBBACDDDBC...
result:
ok (14 test cases)
Test #6:
score: 0
Accepted
time: 0ms
memory: 3832kb
input:
15 948 930 CDDDACAADCACBBABBACBDBBDBCACCDAABCBAACDDBDBBDACCDDCACADDAADCDDCAABDCBCDDADCCBCDADDCCABABDBBBADDDBADBADADBAAAABDBCDDADBBABBACDBDBDCBDDAABCBDCCCDABBABDDDAAACDBBABAADCBBAABCADBCAACABDCBBCCCBACCCDBADBAABCADCAAAABBADBACABCDACBABBCBCDCDDBDBDABABCBABDBBBBADDACADBDBAADADDDDCABDDBDCBABDABCBADCCAAB...
output:
CDAAADDDDDBBDCABDCAABAABDBDACBBCBDDABDCDCAAACDADBACDDDDBDBADAAADDACBAABBDBADDBADBCCCCABDBBBCDDDAADCDBCBABABDBACABCDACBABBCBCDCDDBDABABBBBADDABDBDADDAABBCABDCDBBDBAAAACDABDABCBADCDDCCCDBDACBDCBDDACBACBCDDBAABAAACBAADDBDBCBCCCAABADCDAACDADABDABCDBDCAAADDAABACDBCDDDAACABBADDBBBBACBAADDDDBABCACCDBACBCBD...
result:
ok (15 test cases)
Test #7:
score: 0
Accepted
time: 171ms
memory: 3712kb
input:
15 615 597 CCDCBDBBBCCADDCABCDBAAACCDDABACDBDCCCCBBBCDBCDCCACBCBBBDADBCBCBDAAAADDABCABBDDAABABDABDBCDDBCCDACAADCCDBADCBAACCCDAAADCCDBCCAAABBBCDBBDDDCBDDBBDACADDAADAAACADDDDBACDAACDAABBDBAAAADADBABDCDDCACDACDDBBBCAACACABADDCAAABACDBCBBDDBCACABBCCACBADBDCBCDDBACCCDDBBCDABACBABDCBACABDDBBDDCDBCACDDCBAA...
output:
CDBBBDBDBDAADCDCACDBDCDBCDCBBBCACBCCCCCBBCDACBCBDCBDADADBDBBCDACADBBDADBCBDDABBADADCDDBBDACACDDBAABDBADDDCBCABDCDACCBCDCAADBDBDDBCDDCDAACDDDBBBCBAADDCBACAADADADDDAAABBABCBDCCBBDACADAAADDBBCACCBBAAAABDBCBAABADDCDABACBDBBDDCDCBAADBCCABDDBCDBAACDACADBABACCCCACDADACDADCCCABABAACBABBACBADDDDACBAADBDDDDAB...
result:
ok (15 test cases)
Test #8:
score: 0
Accepted
time: 2ms
memory: 3712kb
input:
15 852 835 DADBABCCACBDADDADCADCDAABACCABCBABBCDAABBDAAADCABACBACADBBACBDCBABABCCACCAAACADCADBDCCCDADCADCDBDDCCBBBBCCCDCDDCCCCDAADDAABACDAACADCDCAAADCDBCBDCCADDCCDDCBCDDDDBDADCDAABDBACDABADCBCDCBDCCAAACBDAADBBBADCDDBCBBCBDAAACBAADBBADDDCCCDCBCAAADCBBDCDABCBABBADDCDACDACDCDCADBDADBCBCABDAAADCBABCABDC...
output:
DAAABBBBDDDBCDABDCADBABCCACBDADDADCADCDAABACCABCBABBCDAABBDAAADCABACBACADBBACBDCBABABCCACCAAACADCADBDCCCDADCADCDBDDCCBBBBCCCDCDDCCCCDAADDAABACDAACADCDCAAADCDBCBDCCADDCCDDCBCDDDDBDADCDAABDBACDABADCBCDCBDCCAAACBDAADBBBADCDDBCBBCBDAAACBAADBBADDDCCCDCBCAAADCBBDCDABCBABADDDACDACDCDCADBDADBCBCABDAAADCBABC...
result:
ok (15 test cases)
Test #9:
score: 0
Accepted
time: 59ms
memory: 3848kb
input:
15 397 379 ADADDDBACBBBDADAADBDDDDCBDACABCDDCAACADCCCBAADABCDDCCBADACDBBAABBCDDDCDDAAAAACADAADBBADCCCBCACAAAABDCDDBAADDDBBDBCBBAADBADCBBDACDCCDABCDCADBDBDADBBABCBABABBCBDCDDBBCCDBDDBBBCDABDBDBACACBCBBBCDCACADDDBCACDCBCDCDCBBBDBCCBBDABCCDAADCBDDCBABDBBDAACBDCABCBDBACCDDCDBDBABDBDAAABADCADDDBAACDAABCA...
output:
DBDDBDCCAAACDBDBCBCBCBCAACBDBDDADADDDCCACBAADDCBCDBACBDBDDCADBDDCDDCABCBDADCBDABBAADADADDDBDBDBBBCDDBABDBDCDDCCABDBBBABCBABABBCBBDCABDADBDCCDBACCCDDADCBBABBDBBDDACBBBBAABDBBACADABCDCCBADBBCBDCCBDBCAACDCDABACADBCBCCDDCBAABDCDCABCDDAACACBDDDACACBCCAABCABABCCDCADCCCBAADAAAADABDDBDCCBBDDDBDAADADBBCAADDD...
result:
ok (15 test cases)
Test #10:
score: -100
Time Limit Exceeded
input:
15 145 127 BCCADBCBDBCABDBAACCBDCDBABBABACAABCBCDACDADDDBBCCCBACCCACADDBDAADADADCBBBAADBADBCDDDBBACBBABDADBCDDBCBDAACBCBCCDAABADABACCBBBCBAACADDDDDCABBACDDA BACBADABBBACCCAACAACBDABCDBDBCCABBBCADDCACDBCADBDDDAADBBBCAACDBADDACABBABDBBBCBBCDDDBBAABBADCDAABCCCBDCBCDBAACDCDACDDDCDABCDCBD 166 148 DBCADBC...