Problem 58468. ICFP 2022 - Create Command Script from Color-Region-Fill

The ICFP2023 Challenge is Jul 7-10, registraion opens late June. Updates at TwitICFP2023. These contests are insanely complicated and competitive. The challenge evolves every 12 hours with new files and rule updates.
The ICFP2022 HomePage has details of the RoboPaint contest. Twit2022, WriteUps, PriorEvents, Spec, ImageSubmissions, Puzzles, SawickiSolutions are useful links. Posted 6/27/23.
The of Command Scripting is detailed in the function template. The commands have been matrixed and simplified but are based onthe Spec. Commands are Horiz split, Vertical split, Quad split, Color, and Reset.
Given a sequence of regions and colors writes that produce the Lower Right image, Img 13999, create commands to fill the image. The Goal 21.png. Base costs Cmds:1525, Img 13999, Submission combined score must be less than 17000.
Visualizations of Image creation: [21 FBS Draw], adjust speed in settings.
Input: Color regions [M,7] of [r1 r2 c1 c2 r g b] where r1,c1 is TopLeft of a square and r2,c2 is BotRight
Output: cmds [N,5] matrix of integer cmd, index, and parameters that vary based on cmd

Solution Stats

100.0% Correct | 0.0% Incorrect
Last Solution submitted on Jun 28, 2023

Problem Comments

Solution Comments

Show comments

Problem Recent Solvers1

Suggested Problems

More from this Author304

Problem Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!