Punctul c)
...................

E un algoritm pentru rezolvarea acestor tipuri de probleme: