Problem 2068. Determine the square root
Solution Stats
Problem Comments
-
2 Comments
Hello Samantha,
I think you should change "assert(isequal(your_fcn_name(x),y_correct))
" to "assert(isequal(your_fcn_name(n),y_correct))"
I made the suggested change to the test suite and re-scored.
Solution Comments
-
1 Comment
Good
-
1 Comment
I believe there is some tricky code in the test suite that has to be overcome by hacking the Cody Scoring server, and execute a function your_fcn_name before it is even called. Or a mechanism to change all x's in n's.
Problem Recent Solvers547
Suggested Problems
-
1728 Solvers
-
571 Solvers
-
Relative ratio of "1" in binary number
788 Solvers
-
Back to basics - mean of corner elements of a matrix
331 Solvers
-
3832 Solvers
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!