Riddle_Training_c909285e - arc-community/arc GitHub Wiki

riddles/training/images/c909285e.png

ARC Game

Observations

I observe that the input has dazzling colours, but also has black

I observe that all the colours from the input are in the output

My eyes are constantly bouncing between input and output, as if I was trying to have both in my mind at the same time

I observe that the output has a thick border

I observe that the input has a special, rare colour, and connect that to the colour of the border in the output

I observe that the content of the output is 3x larger than the cropping of the input, and that the cropping is taken at the special colour, including that special colour

Concepts Used

  • cropping

  • border, detect, draw

  • magnify by 2x or 3x

  • colour statistics, find rare colour

  • periodicity, find what is NOT periodic (does not belong to a general pattern)

Solution Approach