Rosetta Problems

k番目の文字列

https://hoj.hamako-ths.ed.jp/onlinejudge/problems/515