Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
%%
x = 'Macbeth';
y_correct = false;
assert(isequal(two_b_or_not_two_b(x),y_correct))
ans =
0
|
2 | Pass |
%%
x = 'Publius Cornelius Dolabella';
y_correct = true;
assert(isequal(two_b_or_not_two_b(x),y_correct))
ans =
1
|
3 | Pass |
%%
x = 'B is not the same as b';
y_correct = true;
assert(isequal(two_b_or_not_two_b(x),y_correct))
ans =
1
|
1421 Solvers
The Goldbach Conjecture, Part 2
1284 Solvers
829 Solvers
Project Euler: Problem 8, Find largest product in a large string of numbers
315 Solvers
Getting the absolute index from a matrix
211 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!