Problem 207. hackathon impossible
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
-
1 Comment
It can be done in Size=1
-
2 Comments
your hacking skills are unmistakable *bow*
this +1
-
4 Comments
I'm not sure this code is always right because the help says that I should not depend on the format of State property.
I'm not sure this code is always correct because the help says that I should not depend on the format of State property.
very cool, traveling to the past!
haha, we came up with the same solution just about. awesome!
Problem Recent Solvers49
Suggested Problems
-
Renaming a field in a structure array
1194 Solvers
-
Matrix with different incremental runs
119 Solvers
-
105 Solvers
-
Return the first and last characters of a character array
7344 Solvers
-
272 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!