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
349 Solvers
Make a random, non-repeating vector.
3013 Solvers
234 Solvers
Find the index of the largest value in any vector X=[4,3,4,5,9,12,0,4.....5]
300 Solvers
2472 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!