编程介的小学生
2017-10-24 11:49An easy Problem
问题描述 :
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条回答
为你推荐
- Easy Homework
- lines
- as
- each
- x
- 1个回答
- An Unusual Problem
- string
- intellij-idea
- less
- numbers
- 1个回答
- Math Magic
- each
- 算法
- 计算机
- class
- 1个回答
- Another Easy Problem
- string
- 1个回答
- Cutting trees
- lines
- 1个回答
换一换