多重集合の実装方法とそれぞれのユースケース

多重集合の数え上げ

重複組合せ

メモ

https://atcoder.jp/contests/abc367/tasks/abc367_f ソートして一致:多重集合として一致