Mathematical and Physical Journal
for High Schools
Issued by the MATFUND Foundation
Already signed up?
New to KöMaL?

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.

(10 pont)

Deadline expired on December 15, 2006.

Sorry, the solution is available only in Hungarian. Google translation

Balambér Dávid (Budapest, Fazekas Mihály Főv. Gyak. Gimn.)


és megoldása:



22 students sent a solution.
10 points:Balambér Dávid, Danka Miklós András, Földes Imre, Gombos Gergely, Györök Péter, Kovács 129 Péter, Polgárfi Bálint, Slemmer András, Vincze János.
9 points:Hunyady Márton, Véges Márton.
8 points:3 students.
7 points:2 students.
6 points:2 students.
5 points:4 students.

Problems in Information Technology of KöMaL, November 2006