方法一里面 if(x.second==y.first){} else if(x.first==y.second){} 这里不需要判断啊,矩阵相乘前提就是x.second==y.first
2

相关推荐

牛客网
牛客网在线编程
牛客网题解
牛客企业服务