shunfurh
编程介的小学生
2017-10-24 11:49

An easy Problem

  • as
  • lines
  • matrix
  • each

问题描述 :

We define eA as following:
Draw
Where A is a n×n symmetric matrix with real elements, I is an identity matrix.
Give you matrix A, your task is to calculate eA.
输入:

There are several test cases;
Each test case begin with a line contains an integer n (1≤n≤100), the following n lines contain n×n symmetric matrix A. The rang of elements of A is (-100,100);
n=0 is the end of input and need not to proceed.
输出:

There are several test cases;
Each test case begin with a line contains an integer n (1≤n≤100), the following n lines contain n×n symmetric matrix A. The rang of elements of A is (-100,100);
n=0 is the end of input and need not to proceed.
样例输入:

1
2
2
1 0
0 1
0
样例输出:

7.39
2.72 0.00
0.00 2.72

  • 点赞
  • 回答
  • 收藏
  • 复制链接分享

1条回答

为你推荐

换一换