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.
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
Problem Comments
-
2 Comments
Christian Schröder
on 28 Jun 2023
> Visualizations of Image creation: [21 FBS Draw]
Not publicly accessible.
Richard Zapor
on 28 Jun 2023
Fixed the access to the 21 FBS Draw and also to an earlier challenge avi.
Solution Comments
Show commentsProblem Recent Solvers1
Suggested Problems
-
Create a cell array out of a struct
1829 Solvers
-
Construct a string from letters and counts
142 Solvers
-
340 Solvers
-
248 Solvers
-
76 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!