[Community Puzzle] Fractal Image Recognition

https://www.codingame.com/training/medium/fractal-image-recognition

Send your feedback or ask for help here!

Created by @CSGO_BOT,validated by @DaNinja,@Smelty and @KAbel.
If you have any issues, feel free to ping them.

The stub is faulty: It reads ‘imageSize’ chars per line, but input contains twice as much because of the separating spaces.

I think the best would be to just read it cell by cell:
loop imageSize loopline imageSize pixel:int

1 Like