Rosetta Problems

Search of Concatenated Strings

https://onlinejudge.u-aizu.ac.jp/problems/1291