4 ms·
Without that rule, you could decompose everything into 1's, and then recompose from there. Not the most efficient solution, but a boring one that always exists.
by two-star 2y ago
Without that rule, you could decompose everything into 1's, and then recompose from there. Not the most efficient solution, but a boring one that always exists.
- raverbashing 2y agoOk so how about allowing only non contiguous repeated numbers