QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#505439#5848. Letter Stamperxiaowuc127 ✓4827ms3940kbC++172.1kb2024-08-05 05:22:422024-08-05 05:22:43

详细

Subtask #1:

score: 8
Accepted

Test #1:

score: 8
Accepted
time: 16ms
memory: 3916kb

input:

100
ACBACBCBACBACBCACABCBCABCBACACBABCBCABACBCACBCBCBCBCACABABCBCBACABABABACABCACACABCBCBABCBABCAB
ABBBBAABBABBBABBAABBBAABBBABABABBBABABBAABAABAAAAAAABBABBAABABBABABAABABABAAAAA
CBCBCBCBCACABCBACABCABCABCABCBCBABABCBCBCBCACACACABABACACBCABCABCABACABCBACABCABABCACABACABCACBCACAC
CBCBACABCBACBABCABCB...

output:

Case #1: 190
Case #2: 125
Case #3: 210
Case #4: 202
Case #5: 9
Case #6: 164
Case #7: 204
Case #8: 200
Case #9: 195
Case #10: 197
Case #11: 216
Case #12: 163
Case #13: 112
Case #14: 153
Case #15: 13
Case #16: 200
Case #17: 197
Case #18: 3
Case #19: 188
Case #20: 202
Case #21: 159
Case #22: 187
Case #...

result:

ok 100 lines

Subtask #2:

score: 19
Accepted

Test #2:

score: 19
Accepted
time: 4827ms
memory: 3940kb

input:

20
ACCAAAACCACAACACCAAAAAAACACCACCCACACCACCCCAACAACCACACAACAACCCAAAACAAAAACAAAACAACCAACACACCACCCAACCCAAAAACCAACCCCCCACACAACAACAAAAAAACCCCCCAACAACAAAACAAAACAAACCAAACAACAACCCCACCCAACCAAACACCCCCAACAAAACAAAAACAAAAAAACCCCAACAAAAAACCCCCAAAAACCCAAACCACACACCCAAACCCCACACACACCCAAACACCAACCACACCCACCAACCCCAACAAA...

output:

Case #1: 9511
Case #2: 15847
Case #3: 9320
Case #4: 14006
Case #5: 11708
Case #6: 11584
Case #7: 15690
Case #8: 14237
Case #9: 15822
Case #10: 13992
Case #11: 13101
Case #12: 14106
Case #13: 10995
Case #14: 13890
Case #15: 14262
Case #16: 13260
Case #17: 13999
Case #18: 15619
Case #19: 5002
Case #20...

result:

ok 20 lines

Extra Test:

score: 0
Extra Test Passed