Good day everyone! I'm new here, and I need your help!

I'm making a software that receive an image via console, wich rapresents a simple map (where colored pixels corresponds to various objects),...