Feu un programa que dibuixi “nines russes” amb uns colors donats.
Entrada
L’entrada consisteix en dos naturals
i
,
seguits de
noms de colors. Suposeu
i
.
Sortida
Genereu una imatge
.
Usant els colors de forma cíclica, cal omplir la imatge de fora cap a
dins amb marcs d’amplada 50.
About statements
The official statement of a problem is always the one
in the PDF document. The HTML version of the statement
is also given to help you, but may contain some content
that is not well displayed. In case of doubt, always use the PDF.