首页 > 技术文章 > [HAOI2011]Problem b

yinwuxiao 2018-03-03 12:38 原文

https://www.luogu.org/problemnew/show/P2522

题解:

显然和前一篇题解几乎一样

加上一个容斥就可以了

推荐阅读