Problem 207. hackathon impossible
You might have found a solution to our previous hackathon entry, or its sequel but do you think you can do that (yet) again?
As before, I am thinking of a number between 1 and 10000... can you guess what this number is?
Description
The test suite has random entries. Your job is to find a hack and have your function return the correct answer.
notes
Neither the @bmtran's evalin trick nor a lookup table nor the solution to our previous hackathon entries would work here...
Solution Stats
Problem Comments
-
2 Comments
There is something very strange about the contest system RandStream... it keeps reverting to a 'legacy' mode randomly. I submitted the same solution several times in a row and kept getting an error since the legacy mode has the State in a cell format. Finally I lucked out and got it to default back to the standard format.
I observed the same effect, it is rather interesting, my guess was that other people submissions including rand('state',...) commands might be producing this (I imagine we should be sharing a matlab session for this to happen, the context might be running on some sort of distributed environment, I am not sure about the details...)
Solution Comments
Show commentsProblem Recent Solvers50
Suggested Problems
-
Replace NaNs with the number that appears to its left in the row.
2925 Solvers
-
Remove the polynomials that have positive real elements of their roots.
1625 Solvers
-
String substitution, sub problem to cryptoMath
228 Solvers
-
Getting the row and column location from a matrix
282 Solvers
-
Volume of a sphere given its surface area
144 Solvers
More from this Author38
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!