第二道题比较简单 矩阵的乘法,a可逆 a*b=c 已知 a,c求b
a=
matrix([[ 43, 22, 30, 83, 53, 57, 32, 41],
[ 53, 99, 10, 40, 44, 6, 50, 42],
[ 85, 57, 20, 95, 32, 25, 52, 33],
[ 25, 11, 90, 9, 80, 52, 111, 92],
[ 22, 26, 104, 99, 52, 78, 22, 69],
[ 76, 83, 47, 63, 63, 40, 105, 81],
[ 57, 68, 18, 36, 10, 77, 85, 49],
[ 73, 59, 64, 59, 67, 40, 33, 54]])
c=
matrix([[39430, 34714, 32196, 36639, 34988, 34059, 30813, 33326],
[36796, 32617, 33253, 34580, 34162, 34694, 27284, 30462],
[43121, 39454, 38526, 40343, 40267, 39622, 32312, 35938],
[52554, 37142, 43063, 43360, 41895, 39806, 44188, 43934],
[51532, 44412, 41672, 48518, 45549, 44436, 41365, 45032],
[60785, 49721, 52606, 54361, 52991, 52156, 47474, 50031],
[43050, 35311, 36031, 39633, 34447, 34470, 31270, 31954],
[49152, 43386, 42096, 46024, 45029, 43961, 36733, 42762]])
ck3关键函数:

c4矩阵比较:

a和c 都在data段
计算一下就完了

根据ck1算法 rot13之后得到正确答案

