Rosetta Problems

LCP(prefix,suffix)

https://atcoder.jp/contests/yahoo-procon2018-final/tasks/yahoo_procon2018_final_d