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
Project Euler: Problem 3, Largest prime factor
Back to basics 8 - Matrix Diagonals
Convert a numerical matrix into a cell array of strings
Matrix indexing with two vectors of indices
Divisible by 3
Chezz_000 : Simplified chess
Mastermind III: Solve in 1
Solve Rubik's Cube - Up to Two Face Moves
Top of the Hour : Return from your routine within 1 second of the hour
Unique: Faster for options 'rows' and 'stable' for large array of uint8
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