[HAOI2011]Problem b

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

题解:

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

加上一个容斥就可以了

posted @ 2018-03-03 12:38  尹吴潇  阅读(87)  评论(0编辑  收藏  举报