Nicosa wrote:
the "question" is not totally defined as far as I understand. (To be more clear, I feel that one given input doesn't have a unique possible output).

The requirements are fuzzy because it's not a real problem, it's a game of "Code Golf".

If an actual user came up to you and said, 'I have a random string of digits, can you convert them into a series of distinct integers summing to the smallest possible total while using all the digits?' you'd tell them, in the politest possible fashion, to do one.

Undoubtedly there are some arcane areas of human endeavour (such as cryptography) which might have such problems but they wouldn't be using a much more suitable language than PL/SQL to solve them.

APC wrote:
The requirements are fuzzy because it's not a real problem, it's a game of "Code Golf".

I'm fine with the fact that it is a game, I pretty much love games +(and I love Golf)+.
But in order to be "completable" +(does this word exist ?)+ it still needs well defined rules and goal (as Golf does).