Toggle navigation
HUSTOJ
F.A.Qs
ProblemSet
Source/Category
Status
Ranklist
Contest
Login
Problem1902--C二级辅导-对角线和
1902: C二级辅导-对角线和
Time Limit:
1
Sec
Memory Limit:
128 MB
Submit:
1
Solved:
1
[
Status
] [
Submit
] [Creator:
]
Description
求一个
3×3
矩阵对角线元素之和。
Sample Input
Copy
1 2 3 4 5 6 7 8 9
Sample Output
Copy
15
Source/Category