版本比较
P10975 Mondriaan's Dream
正文
增加 0 行删除 8 行
223 行未改动全部展开224225226227228229230231232233234235223 行未改动全部展开
- [Counting perfect matchings in grids and planar graphs - Algonotes](https://www.algonotes.com/en/counting-matchings/);- [如何在 n^3 内计算网格图完美匹配计数取模大质数 - Aleph1022](https://www.luogu.com/article/53zp2t5t);- [平面图完美匹配计数 - command_block](https://www.luogu.com/article/e8blsin6)。
拓展思考:
能不能改成,一个这样的网格:

计算完美匹配方案数?