409133: GYM103443 K Insertion Array

Memory Limit:0 MB Time Limit:3 S
Judge Style:Text Compare Creator:
Submit:0 Solved:0

Description

K. Insertion Arraytime limit per test3 secondsmemory limit per test1024 MBinputstandard inputoutputstandard outputExampleInput
2
bb
abc
abaa
abab
Output
468235032
667196656

加入题单

上一题 下一题 算法标签: