当前你的浏览器版本过低,网站已在兼容模式下运行,兼容模式仅提供最小功能支持,网站样式可能显示不正常。
请尽快升级浏览器以体验网站在线编辑、在线运行等功能。

建议使用的浏览器:

谷歌Chrome 火狐Firefox Opera浏览器 微软Edge浏览器 QQ浏览器 360浏览器 傲游浏览器

3521:An easy Problem

题目描述
We define eA as following:
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.
输出解释
For each test case, output n lines contain matrix eA , The value of elements of matrix eA must be accurate up to two decimal places. You may assume the range of elements of eA is (-10000,10000).
输入样例
1
2
2
1 0
0 1
0
输出样例
7.39 
2.72 0.00 
0.00 2.72 
来自杭电HDUOJ的附加信息
Recommend zhengfeng

该题目是Virtual Judge题目,来自 杭电HDUOJ

源链接: HDU-3521

最后修改于 2020-10-25T23:04:23+00:00 由爬虫自动更新

共提交 0

通过率 --%
时间上限 内存上限
24000/12000MS(Java/Others) 65536/32768K(Java/Others)