Problem I. 142. (November 2006)
I. 142. The file I142in.txt contains a few thousand words of length between 5 and 8 characters, one word per line. No two words have the same number of letters of each kind.
The file I142rnd.txt contains 10 words from the previous file, separated by spaces, but with letters of each word arranged in a random order.
Prepare your program to unscramble the words in the file I142rnd.txt. The output file I142out.txt should contain the 10 original words separated by spaces. The file names are fixed, so the program is run without parameters. The data, the program and the output files are (and should be) stored in the same folder.
The source code and an appropriate documentation should be submitted.
Deadline expired on 15 December 2006.
Sorry, the solution is available only in Hungarian. Google translation
Balambér Dávid (Budapest, Fazekas Mihály Főv. Gyak. Gimn.)