Rosetta Problems

Distinct Integers

https://atcoder.jp/contests/jsc2019-final/tasks/jsc2019_final_h