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
12519 Solvers
Count from 0 to N^M in base N.
220 Solvers
589 Solvers
351 Solvers
277 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!