UOJ Logo 黑暗爆炸OJ

DARKBZOJ

#1559. [JSOI2009]密码

统计 下载数据

Description

Input

Output

Sample Input

10 2
hello
world

Sample Output

2
helloworld
worldhello

Hint

Source

JSOI2009Day1