Rosetta Problems

Count Distinct Integers

https://atcoder.jp/contests/abc240/tasks/abc240_b