KöMaL - Mathematical and Physical Journal for Secondary Schools
Hungarian version Information Contest Journal Articles News
Entry form to the contest
Problems and solutions
Results of the competition
Problems of the previous years



Order KöMaL!

Competitions Portal

I. 174. Money Eater Ltd. deals with currency exchange. The boss wants all employees to have access to all exchange rates, so he uses a web page with the following structure:

<tr><td>Hungarian Dollar</td>
<tr><td>Australian Shekel</td>
<tr><td>Swiss Yen</td>

The first row of the table is the base currency, while other exchange rates are quoted in terms of this currency. In the example, 100 Hungarian Dollar correspond to 76 Australian Shekel or 80 Swiss Yen.

Write a program that converts exchange rates given in an HTML file (the input of your program) to a TXT file (the output of your program), so, for example, a command line could be i174 in.html out.txt.

The output of the above example would be the following TXT file:

The source code of your program (i174.pas, i174.cpp, ...) together with a short documentation (i174.txt, i174.pdf, ...) should be submitted, also containing a short description of your code and the name of the developer environment to use.

(10 points)

Deadline expired on 15 January 2008.

Google Translation (Sorry, the solution is published in Hungarian only.)

A feladatra sok jó megoldás érkezett. Ezek közül Adrián Patrik (Fazekas Mihály Gimnázium, Debrecen, 8. o.) munkáját közöljük.


Statistics on problem I. 174.
9 students sent a solution.
10 points:Adrián Patrik, Szoldatics András, Véges Márton.
9 points:Gulyás 990 Péter, Molnár Gábor.
8 points:2 students.
7 points:1 student.
5 points:1 student.

  • Problems in Information Technology of KöMaL, December 2007

  • Our web pages are supported by:   Ericsson   Google   Cognex   Emberi ErőforrĂĄs TĂĄmogatĂĄskezelő   Emberi ErőforrĂĄsok MinisztĂŠriuma  
    OktatĂĄskutatĂł ĂŠs Fejlesztő IntĂŠzet   Nemzeti TehetsĂŠg Program     Nemzeti
KulturĂĄlis Alap   ELTE   Morgan Stanley