1720: 【2024】C语言开学学情调研-可恶的平方
Memory Limit:128 MB
Time Limit:1.000 S
Judge Style:Text Compare
Creator:
Submit:0
Solved:0
Description
离散数学知识实践:输入一个4*4的矩阵A,输出A平方。
Input
输入4*4的矩阵A
Output
输出A*A.
Sample Input Copy
1 0 0 1
1 1 0 1
0 0 1 0
1 1 1 1
Sample Output Copy
2 1 1 2
3 2 1 3
0 0 1 0
3 2 2 3
HINT
想一想矩阵的平方怎么算的。