This solution is outdated. To rescore this solution, sign in.
Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
%%
x = 128205;
n = 4
y_correct = true;
assert(isequal(parasitic(x,n),y_correct))
n =
4
|
2 | Pass |
%%
x = 179487;
n = 4;
y_correct = true;
assert(isequal(parasitic(x,n),y_correct))
|
3 | Pass |
%%
x = 179487;
n = 3;
y_correct = false;
assert(isequal(parasitic(x,n),y_correct))
|
3376 Solvers
Who knows the last digit of pi?
557 Solvers
Create a square matrix of multiples
383 Solvers
253 Solvers
Magic is simple (for beginners)
2755 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!