Is it possible to correct the test suite? I have 8 cases where they are not accepted by test suite even though they evolve to having one cell.
Apart from that, is the minimum achievable score 0?. i.e. are there 600 combinations ending with one cell? Since even if I solve the problem mentioned in my first paragraph, I end up with 552 cases ending with one cell. Can someone please enlighten me on this?
Testing for alive cells at the borders makes no difference to the solution apparently.
The border of zeros is unnecessary. In fact, it is a flaw in the test suite that it regards a case as being "multi-survivor" when one of those survivors is in the border.
I do not allowed my self to become a Zero-Score here... ;-)
Duplicate to 344012 by mistake.
Catched by uniqueness
Cody team please remove this solution. That scale of solution map seems ugly
The test code needs some improvement if this passes...
I need to understand how this passed.
x = 2*x; % ... SUBLIME!!! BRILLIANT!!! +21k Solutions!!
I knew someone who has had quite the same idea... XDDD
Back to basics 6 - Column Vector
Make an awesome ramp for a tiny motorcycle stuntman
Rotate a Matrix
Sum the entries of each column of a matrix which satisfy a logical condition.
Count consecutive 0's in between values of 1
QWERTY Shift Code Decoder
GJam March 2016 IOW: Clock Dance
Create Circular Perfect Square Sequence
Kaggle: Reverse Game of Life - Create Isle prior State
PONG 001: Player vs Wall, 4 Lives, Interactive download
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