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
Find the alphabetic word product
2482 Solvers
Project Euler: Problem 10, Sum of Primes
956 Solvers
Find a subset that divides the vector into equal halves
349 Solvers
793 Solvers
Calculate the area of a triangle between three points
1325 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!