Sum the numbers on the main diagonal of an n-by-n matrix. For input:
A = [1 2 4 3 6 2 2 4 7]
The output value should equal 14.
Maximum running product for a string of numbers
816 Solvers
1310 Solvers
Project Euler: Problem 5, Smallest multiple
241 Solvers
Set the array elements whose value is 13 to 0
749 Solvers
Check that number is whole number
274 Solvers
Problem Tags