Ricerca il quadrifoglio nella foresta II

Extend your program from task 4 so that Kara can deal with several trees next to each other. Hint: The solution to this task requires two states. Why is a single state not enough?

 

Estendi il tuo programma precedente(esercizio 4) in modo tale che Kara possa avere a che fare con diversi alberi vicini l'un l'altro. Suggerimento: La soluzione a questo esercizio richiede due stati. Come mai un singolo stato non basta?