Type: RemoteJudge 1000ms 64MiB

矩阵对角线元素之和

You cannot submit for this problem because the contest is ended. You can click "Open in Problem Set" to view this problem in normal mode.

说明

给定一个 3×33×3 的矩阵,请你求出对角线元素之和。

输入格式

按照行优先顺序输入一个 3×33×3 矩阵,每个矩阵元素均为整数且取值范围为 [11,99]。

输出格式

输出从左下角到右上角这条对角线上的元素之和。

样例

1 2 3
3 4 5
6 0 1
13

基础知识

Not Claimed
Status
Done
Problem
19
Open Since
2024-9-28 0:00
Deadline
2024-10-7 23:59
Extension
24 hour(s)