Strange - the test suites are not independent. I thought they normally were.
Yes Andrew, they are not. I also had to struggle with the same, when only the first input data passed and rest failed.
I can't get a way to solve this problem. Some hint?
Can't solve this either. Not even a clue on how to do it.
Hint see documentation for presistent variables
PS : last test case is evil
Tricky problem;)
new things..
What is the next step in Conway's Life?
655 Solvers
Count from 0 to N^M in base N.
220 Solvers
Back to basics 22 - Rotate a matrix
768 Solvers
Make an awesome ramp for a tiny motorcycle stuntman
337 Solvers
Generate a random matrix A of (1,-1)
214 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!