Cody

# Problem 1885. Minimum Sum thru a Lower Triangle

Solution 322879

Submitted on 24 Sep 2013
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.

### Test Suite

Test Status Code Input and Output
1   Fail
%% s=[5 7 6 3 2 5]; MinSum=Find_MinSum(s); exp=13; assert(exp==MinSum)

```Error: Undefined function 'padarray' for input arguments of type 'double'. ```

2   Fail
%% s=[7 9 8 3 2 6 7 1 5 5 9 4 8 2 4 6 3 2 9 7 5 7 2 4 8 5 1 9 4 2 9 3 8 5 2 8 8 2 4 8 5 9 2 7 3]; MinSum=Find_MinSum(s); exp=30; assert(exp==MinSum)

```Error: Undefined function 'padarray' for input arguments of type 'double'. ```

3   Fail
%% s=[21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1]; MinSum=Find_MinSum(s); exp=76; assert(exp==MinSum)

```Error: Undefined function 'padarray' for input arguments of type 'double'. ```

4   Fail
%% s=1:28; MinSum=Find_MinSum(s); exp=63; assert(exp==MinSum)

```Error: Undefined function 'padarray' for input arguments of type 'double'. ```

5   Fail
%% s=[82 91 13 92 64 10 28 55 96 97 16 98 96 49 81 15 43 92 80 96 66 4 85 94 68 76 75 40 66 18 71 4 28 5 10 83 ]; MinSum=Find_MinSum(s); exp=213; assert(exp==MinSum)

```Error: Undefined function 'padarray' for input arguments of type 'double'. ```

6   Fail
%% s=[348 159 476 18 220 191 383 398 94 245 223 324 355 378 139 340 328 82 60 250 480 171 293 112 376 128 253 350 446 480 274 70 75 129 421 128 ]; MinSum=Find_MinSum(s); exp=1409; assert(exp==MinSum)

```Error: Undefined function 'padarray' for input arguments of type 'double'. ```