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

Problem I. 146. (December 2006)

I. 146. Make a program displaying a range of colours on a web page. The input of your program consists of the range (starting colour number, final colour number, both being hexadecimal HTML codes, e.g. A160BB) and the increment between adjacent colours displayed (a decimal number, e.g. 120). The colours should be displayed in increasing order, regardless of the order of the input parameters. The output i146.html should display a table with 8 columns, each cell containing the colour code in black letters with the actual background colour.

The source code of the program (i146.pas, i146.cpp, ...) generating the HTML page is to be submitted.

(10 pont)

Deadline expired on January 15, 2007.


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

Ridinger Tamás, 12. évf. (Budapest, Veres Péter Gimnázium)

Megoldása:

I146.pas


Statistics:

23 students sent a solution.
10 points:Balambér Dávid, Danka Miklós András, Fábián András, Gilián Zoltán, Gombos Gergely, Kiss Dániel Miklós, Kovács 129 Péter, Ridinger Tamás, Szél Péter, Takács László, Véges Márton, Vincze János.
9 points:Györök Péter, Hunyady Márton.
7 points:2 students.
6 points:1 student.
5 points:2 students.
4 points:1 student.
3 points:2 students.
2 points:1 student.

Problems in Information Technology of KöMaL, December 2006