Problem1389--C++二级辅导-对角线和

1389: C++二级辅导-对角线和

[Creator : ]
Time Limit : 1.000 sec  Memory Limit : 128 MB

Description



求一个3×3矩阵对角线元素之和。


Sample Input Copy

1 2 3
4 5 6
7 8 9

Sample Output Copy

15

Source/Category