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
Find state names that start with the letter N
Find matching parenthesis
Find the maximum number of decimal places in a set of numbers
String Find with Wildcards of a Cell array
Unique: Faster 'rows' for large array of uint8
Criss-Cross: NHL - Optimize Matrix Size
GJam 2014 Rd 1c: Reordering Train Cars (Large)
GJam 2014 China Rd B: Sudoku Checker
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