Test | Status | Code Input and Output |
---|---|---|
1 | Fail |
x = 10;
y_correct = 1010;
assert(isequal(dec_bin(x),y_correct))
y =
'1010'
|
2 | Fail |
x = 2;
y_correct = 10;
assert(isequal(dec_bin(x),y_correct))
y =
'10'
|
3 | Fail |
x = 15;
y_correct = 1111;
assert(isequal(dec_bin(x),y_correct))
y =
'1111'
|
739 Solvers
6281 Solvers
Project Euler: Problem 3, Largest prime factor
379 Solvers
669 Solvers
414 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!