KöMaL - Középiskolai Matematikai és Fizikai Lapok
Sign In
Sign Up
 Magyar
Information
Contest
Journal
Articles

 

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 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.)

megoldásmenete:

és megoldása:

I142.PAS


Statistics:

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.

Our web pages are supported by:   Ericsson   Cognex   Emberi Erőforrás Támogatáskezelő   Emberi Erőforrások Minisztériuma   Nemzeti Tehetség Program    
MTA Energiatudományi Kutatóközpont   MTA Wigner Fizikai Kutatóközpont     Nemzeti
Kulturális Alap   ELTE   Morgan Stanley