Guess, predict or calculate :-)
(You will be scored by the accuracy).
Update: TRENDY is here!
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!!
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 ;-)
Find the longest sequence of 1's in a binary sequence.
2 b | ~ 2 b
Getting the indices from a vector
Generate a NaN...on purpose
Find the area of a triangle
Another colon problem
Polite numbers. Politeness.
Which permutation is it?
expand intervals vol.3
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list:
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Contact your local office