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
Most nonzero elements in row
Specific Element Count
MATCH THE STRINGS (2 CHAR) very easy
Find third Side of a right triangle given hypotenuse and a side. No * - or other functions allowed
Create Circular Perfect Square Sequence
Script file size
Cody Matlab Version
Vector Linear sum: (p1-m1)V1+(p2-m2)V2+...(pK-mk)Vk
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