Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
%%
n=1;
y_correct=1;
assert(isequal(ismunch(n),y_correct))
ans =
1
|
2 | Pass |
%%
n=0;
y_correct=1;
assert(isequal(ismunch(n),y_correct))
ans =
1
|
3 | Pass |
%%
n=153;
y_correct=0;
assert(isequal(ismunch(n),y_correct))
ans =
0
|
4 | Pass |
%%
n=634;
y_correct=0;
assert(isequal(ismunch(n),y_correct))
ans =
0
|
5 | Pass |
%%
n=3435;
y_correct=1;
assert(isequal(ismunch(n),y_correct))
ans =
1
|
6 | Pass |
%%
n=3534;
y_correct=0;
assert(isequal(ismunch(n),y_correct))
ans =
0
|
7 | Pass |
%%
n=438579088;
y_correct=1;
assert(isequal(ismunch(n),y_correct))
ans =
1
|
Return a list sorted by number of occurrences
1504 Solvers
Back to basics 19 - character types
225 Solvers
177 Solvers
320 Solvers
Simple equation: Annual salary
3779 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!