I added some extra test cases to fail some of the bogus answers.
Amazing Law!!!!!!!!!!!!
I cannot understand the problem.
Interesting. Looks like it failed due to some rounding issue.
Whats wrong here ?
This appears to be the best solution that doesn't use regexp
A good method. num2str
Sorry, I did not want to copy you! Just tried to understand what you did...
Doesn't work if x = 0.3000
The best solution n codesize for me and w/o cheating !
not fun at all :-)
bm, you have many good solutions in Cody. Why put in garbage like this?
You have just made me sad. Sorry.
i wrote this a long time ago (on the third day of Cody). i figured that as soon as the test suite was changed, this solution would be gone with the wind. sorry to anyone i offended :(
Doesn't work if x = 0.3000
Not general. Solution depends on the particular test case.
Doesn't work if x = 0.3000
1316 Solvers
521 Solvers
Find the maximum number of decimal places in a set of numbers
982 Solvers
778 Solvers
Right Triangle Side Lengths (Inspired by Project Euler Problem 39)
719 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!