2020ICPC济南A Matrix Equation
题目:定义两种矩阵运算:(1)Z=X×YZ=X \times YZ=X×Y,即Zi,j=(∑k=1NXi,kYk,j)mod 2Z_{i,j}=(\sum_{k=1}^N X_{i,k}Y_{k,j}) \mod 2Zi,j=(∑k=1NXi,kYk,j)mod2(2)Z=X⊙YZ=X \odot YZ=X⊙Y,即Zi,j=Xi,jYi,jZ_{i,j}=X_{i,j}Y{i,j}Zi,j=Xi,jYi,j给定两个n×nn \times nn×n的01矩阵A,BA,BA,B,问有