Rosetta Problems

Multiple String Matching

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