Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
x = 5;
y_correct = 10;
assert(isequal(cbase5(x),y_correct))
|
2 | Pass |
x = 6;
y_correct = 11;
assert(isequal(cbase5(x),y_correct))
|
3 | Pass |
x = 50;
y_correct = 200;
assert(isequal(cbase5(x),y_correct))
|
4 | Pass |
x = 2;
y_correct = 2;
assert(isequal(cbase5(x),y_correct))
|
5 | Pass |
x = 0;
y_correct = 0;
assert(isequal(cbase5(x),y_correct))
|
Count from 0 to N^M in base N.
220 Solvers
246 Solvers
Cell Counting: How Many Draws?
581 Solvers
271 Solvers
07 - Common functions and indexing 5
314 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!