240 B
240 B
Not much to say here. I needed to implement a way of merging numbers and a way of testing for pandigitals (we already did that in problem 32).
Then we start from 9999
downward, because bigger numbers will always lead to 10 digits or more.