Add outer square

Design a function @suma_qext(mat)@ which, given a list of lists @mat@ with a matrix of size m*nm,n>1m*n\mid m,n>1, returns the sum of the elements of the outer box.

Sample session

Problem information

Author: InfBesos

Generation: 2026-01-25T17:12:35.495Z

© Jutge.org, 2006–2026.
https://jutge.org