Rosetta Problems

Distinct Strings

https://atcoder.jp/contests/abc225/tasks/abc225_a