with given test cases it is too tempting to cheat
Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
s = [ 195 125 260 440 395 290];
n=570;
y_correct = [125 125 125 195];
assert(isequal(buy(s,n),y_correct))
|
2 | Pass |
s = [ 150 180 60 40];
n=210;
y_correct = [60 150];
assert(isequal(buy(s,n),y_correct))
|
Remove the small words from a list of words.
672 Solvers
Generate a random matrix A of (1,-1)
211 Solvers
348 Solvers
Check that number is whole number
1070 Solvers
Basic commands - amount of inputs
134 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!