Rosetta Problems

Longest Uncommon Prefix

https://atcoder.jp/contests/abc285/tasks/abc285_b