Please ignore secret bonuses. Secret tests do NOT award bonus. Max hw grade is 30+2 bonus efficiency

Do you need help?

Notice Board

Per partecipare al corso di Fondamenti di programmazione 2023-24 loggatevi e attivatelo nella vostra pagina dei corsi preferiti. A quel punto il corso appare nel menù personale cliccando sul proprio avatar. Per i materiali degli anni precedenti seguite lo stesso metodo.

To join the Programming/Lab 2023-24 course, log-on and select it on the my courses page. It will appear on the personal menu of your avatar. For earlier years use the same method.

Lack of ideas - HW8_recovery

leonardo_13 (1540 points)
6 15 22
in HW8 by (1.5k points)
I don't have any  ideas about how to complete the homework 8 recovery, any advice?
360 views
closed

1 Answer

Best answer
andrea.sterbini (207940 points)
756 1270 2377
by (208k points)
selected by
Recursively search or the divisions ....
1
1985864 (300 points)
0 0 1
by (300 points)
what we have to return in the output file and in which format
andrea.sterbini (207940 points)
756 1270 2377
by (208k points)

As explained in the text, you must:

  1. build and save a png file containing in a single row the sequence of colors used to divide recursively the plot (including the background in first position)
  2. count how many plots have been produced by the divisions and return it