QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#43976 | #4594. Undercity | larryzhong | AC ✓ | 1845ms | 89564kb | C++17 | 1.1kb | 2022-08-12 01:10:38 | 2022-08-12 01:10:41 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
詳細信息
Test #1:
score: 100
Accepted
time: 1845ms
memory: 89564kb
input:
10 2 2 ab cd 2 2 aa aa 5 4 cbbc cbdb ddcb addd adab 4 5 babab ababa aaaba bbabb 4 4 aaaa aaaa aaaa aaaa 3 5 aaaaa aaaaa aaaaa 4 6 aaaaaa aaaaaa aaaaaa aaaaaa 6 6 ccccac cbbccb ccaabb bbabbc acccbb bacbcb 6 6 dnkjua aqoqpb afgbvc nhfmid nehrse eelbnf 6 6 aaaaaa aaaaaa aaaaaa aaaaaa aaaaaa aaaaaa
output:
1 9 6457 61410 254016 97344 293642496 144181677 128 15933509222400
result:
ok 10 lines