dak2 / algorithms

This repository stores my solutions to competition programming questions and implementations of algorithms.
0 stars 0 forks source link

ABC085B - Kagami Mochi #6

Closed dak2 closed 8 months ago

dak2 commented 8 months ago

https://atcoder.jp/contests/abs/tasks/abc085_b

dak2 commented 8 months ago

重複をカウントするだけなので、set構造体を使って一意な数の集合を作ってカウントする