HDU - 6314 Matrix(广义容斥原理)
http://acm.hdu.edu.cn/showproblem.php?pid=6314题意对于n*m的方格,每个格子只能涂两种颜色,问至少有A列和B行都为黑色的方案数是多少。分析参考https://blog.csdn.net/IcePrincess_1968/article/details/81255138重点在于计算容斥系数。#include <io...