Problem 325. 2 b | ~ 2 b
Solution Stats
Problem Comments
-
8 Comments
this is a great problem iff delivered as audio but not as video...
Liked it, emphasizes the old advice - examine the exam first, answer the exam later ...
But B is not the same as b!
The default call routine has numbers "2" but the check routine expects "two" to be the function call name.
I'm just curious, cause the description doesn't specify it clearly (and there is no test for this): what the output should be when input has more than two b's?
filename cannot start with a number.
Tricky problem - fools the solver with the function name...
FUNCTION NAME STARTS WITH A NUMBER! BLAH! CHANGE 2--> two
Solution Comments
-
1 Comment
great!
-
1 Comment
"cannot read input file 2_b_or_not_2_b.m " hence it failed to evaluate
-
2 Comments
why it displays cannot read input file.
change your file name to two_b_or_not_two_b
-
2 Comments
-
1 Comment
Sorry to steal the lead with this lame solution! I was trying different things before realizing the trick, and hadn't changed the solution back.
-
2 Comments
I can not submit my solution,it always says "failed to evaluate". Who can help me
need to change the function name to two_b_or_not_two_b
-
2 Comments
I think there is a problem with the test or tests, since even the default solution fails to evaluate with 'Parse error' indicated.
I agree. Function names cannot start with numbers, so this problem should be revised.
Problem Recent Solvers379
Suggested Problems
-
2391 Solvers
-
917 Solvers
-
Back to basics 16 - byte order
189 Solvers
-
Back to basics 22 - Rotate a matrix
866 Solvers
-
421 Solvers
More from this Author39
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!