#include<matrix.h>
int main()
{
intmatrix matrix1,matrix2,matrix3;
double t;
matrix1=Allocate2DInt(3,3);
matrix2=Allocate2DInt(3,3);
matrix3=Allocate2DInt(3,3);
printf("Input Matrix1:\n");
Input2DInt(matrix1,3,3);
printf("Input Matrix2:\n");
Input2DInt(matrix2,3,3);
printf("output:\n");
matrix3 = Mul2DInt(matrix1,matrix2,3,3,3);
Print2DInt(matrix3,3,3);
getch();
return 0;
}
I2luY2x1ZGU8bWF0cml4Lmg+CmludCBtYWluKCkKewppbnRtYXRyaXggbWF0cml4MSxtYXRyaXgyLG1hdHJpeDM7CmRvdWJsZSB0OwptYXRyaXgxPUFsbG9jYXRlMkRJbnQoMywzKTsKbWF0cml4Mj1BbGxvY2F0ZTJESW50KDMsMyk7Cm1hdHJpeDM9QWxsb2NhdGUyREludCgzLDMpOwpwcmludGYoIklucHV0IE1hdHJpeDE6XG4iKTsKSW5wdXQyREludChtYXRyaXgxLDMsMyk7CnByaW50ZigiSW5wdXQgTWF0cml4MjpcbiIpOwpJbnB1dDJESW50KG1hdHJpeDIsMywzKTsKcHJpbnRmKCJvdXRwdXQ6XG4iKTsKbWF0cml4MyA9IE11bDJESW50KG1hdHJpeDEsbWF0cml4MiwzLDMsMyk7ClByaW50MkRJbnQobWF0cml4MywzLDMpOwpnZXRjaCgpOwpyZXR1cm4gMDsKfQ==