Rosetta Problems
← atcoder に戻る
Distinct Adjacent
https://atcoder.jp/contests/abc307/tasks/abc307_e