Feu un programa que llegeixi tots els enters de l’entrada estàndard i
escrigui el més gran i el més petit. Suposseu que almenys n’hi ha
un.
Restriccions:
No podeu utilitzar la recursivitat per resoldre aquest
exercici.
Només podeu utilitzar un foldl per recorrer la
llista d’enters.
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.