Rosetta Problems
← atcoder に戻る
希少な数 (Rare Number)
https://atcoder.jp/contests/joi2022yo1b/tasks/joi2022_yo1b_d