Because of necessary network maintenance, Jutge.org may be unavailable during the 25 and 26 of March.
Ceros y unos
P20867
Statement
html
Escribe todas las combinaciones de c ceros y u unos tales que c + u = n,
para un n dado.
Entrada
La entrada consiste en un natural 0 < n < 11.
Salida
Escribe las combinaciones en orden lexicográfico (mira el ejemplo),
una por línea, los caracteres separados por espacios.
Autor: Salvador Roura
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.