至少满足n个条件的方案数:https://ac.nowcoder.com/acm/contest/5633/D参考大佬博客:https://blog.nowcoder.net/n/198900626592405580362e442063bb76容斥: https://atcoder.jp/contests/abc172/tasks/abc172_e
相关推荐