Problem 677. Vine Contest 1-D Case Optimization: Board 78
The Vine contest was to slide tiles around and then identify a vine of increasing values that are four point connected with no repeats. See the Vine contest for full details.
This challenge is specifically for the linear [1 n] case.
This did not exist in the competition suite but did in the test suite as brd 78. The 1-D case was not optimized during the contest.
Input b = [1 5 2 3 1 2 8] ..limit 2
Output: v=[3 4 5] and moves =[7 6;6 5] making [1 5 2 3 8 0 0]
Score is 13.
The board may be flipped LR but will always be a row.
..............................................Limit 10000....7250...6681....1000........0
Nieto-Castanon Winning Code:...5705...5705...5705....3114 2564
Optimal Score values...................20244 20244 20167 13048 2564
Solution Stats
Problem Comments
-
1 Comment
optimal score values (until proven otherwise):...... 20244 20244 20238 14563 2564
Solution Comments
Show commentsProblem Recent Solvers1
Suggested Problems
-
27525 Solvers
-
11 Solvers
-
Getting the row and column location from a matrix
286 Solvers
-
Replace all zeros and NaNs in a matrix with the string 'error'
99 Solvers
-
Coin Tossing: Probability of Same Heads for N tosses
48 Solvers
More from this Author308
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!