Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
%%
a = [257.68];
b = [2 1 0 0 1 1 0 1 0 1 1 3];
out = makingChange(a);
assert(isequal(out(:), b(:)))
|
2 | Pass |
%%
a = [135.01];
b = [1 0 1 1 1 0 0 0 0 0 0 1];
out = makingChange(a);
assert(isequal(out(:), b(:)))
|
3 | Pass |
%%
a = [10035.99];
b = [100 0 1 1 1 0 0 1 1 2 0 4];
out = makingChange(a);
assert(isequal(out(:), b(:)))
|
Find the numeric mean of the prime numbers in a matrix.
5911 Solvers
7685 Solvers
Project Euler: Problem 6, Natural numbers, squares and sums.
785 Solvers
Return unique values without sorting
488 Solvers
Get the elements of diagonal and antidiagonal for any m-by-n matrix
198 Solvers