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.
I only find 544 cases. Back in the day scoring could be a function of performance. Thus a score of zero was not expected. Scoring is now code size thus I will need to tweak the passing criteria to some minimum unique solutions.
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
Compute a dot product of two vectors x and y
Is it an Armstrong number?
Converting numbers back from extended form
Hard limit function
Unique: Faster for options 'rows' and 'stable' for large array of uint8
PACMAT 07 - Optimized Ghosts, PAC 2X Ghost Speed, 4 Lives; Interactive Download
AVIRIS Hyperspectral Bit Mask
PACMAT - Ghosts Random; 3 Lives
RISK Calculator - Large Armies, High Accuracy, Fast
Find the treasures in MATLAB Central and discover how the community can help you!
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