nice one! the answer just be "flooded" in your test suite...
and I'm wondering why this solution is smaller in size than this: http://www.mathworks.com/matlabcentral/cody/problems/2312-how-many-solutions-has-this-problem/solutions/440185 O_o
Well, when you submit a solution, correct answer changes a little bit, isn't it? :-P
but my solution is also a general solution and has less operations in it. O_o
Wellcome to the world of TRENDY!!
http://www.mathworks.de/matlabcentral/trendy/?s_tid=gn_mlc_tnd
What a score! Impressive
Thanks Marco! ;-)
José, I've mixed up scoring a little, sorry for that. But you'll probably be happy with an other update to the test suite.
HEHEHE nice!! ;-)
Ooooh! the Cody servers are not the same as the Trendy servers... :-(
yes, this function is so useful it could be builtin, don't you think?
urlfilter is also available here: http://www.mathworks.com/matlabcentral/fileexchange/44751-url-filter
I had the function in my computer, so i added the code of "urlfilter" as a sub function to this other solution: http://www.mathworks.com/matlabcentral/cody/problems/2312-how-many-solutions-has-this-problem/solutions/440187 ;-)
First non-zero element in each column
603 Solvers
869 Solvers
07 - Common functions and indexing 3
331 Solvers
Sum of diagonals elements of a matrix
169 Solvers
158 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!