The winner of the CodeFu Seasonal 2009 Winter is Daniel Smilkov

Congratulations to dsmilkov who solved all 5 problems in 1 hour 40 minutes.
Congratulations to palikrusev who also solved all 5 problems in 1 hour 57 minutes.

The winner of the second iPod is Valentina Koteva

The random winner of the second iPod is choosen with the algorythm below:
Numbers choosen from 27th February are 5 9 37 44 45
5 * 2 + 9 * 5 + 37 * 8 + 44 * 11 + 45 * 13 = 1420
1420 % 52 + 2 = 18
Position 18 in the predefined list is user domenica.

In order to be transparent with the choice, the following algorithm will be used:

• 5 numbers will be taken from the Euro Millions Lottery 27th of February 2009 draw
• You can see the numbers here
• Those 5 numbers will be sorted
• Then multiplied with the following factors: 2 for the smallest number, 5, 8, 11 and 13 for the biggest number, and then a total sum calculated
• Note: The factors: 2, 5, 8, 11, 13 are chosen so that there is a smallest deviation among all possibilities, i.e. all positions have the same (or very close) possibility for being a winner
• The total sum will be cut modulo 52 and then added 2 (to get a range of 2-53, these are the competitors eligible for the prize)
• Example
Lottery numbers from the last week were 4, 8, 21, 35, 45
4 * 2 + 8 * 5 + 21 * 8 + 35 * 11 + 45 * 13 = 1186
1186 % 52 + 2 = 42 This means the person with number 42 (this is still an example) would receive the random iPod

The position numbers are:

2 palikrushev
3 igorkulev
4 toroman
5 dimitar
6 KrvaviZmaj
7 ivan85mk
8 martinancevski
9 mangelovski
10 angel
11 Zlate87
12 bojanilijoski
13 nik0la
14 diki
15 goran
16 bPop
17 gorgiRankovski
18 domenica
19 sheno
20 diverge
21 delpfine
24 mg
25 vl4d1m1r4
26 filipse
27 Fisher
28 alek9
29 jastuk
30 vikjo
31 Krcko
32 risto_alcinov
33 fris
34 kareski
35 brashnarski
36 azder
37 mephisto
38 vik
40 deki
41 марко
42 vasja
43 nikolakoco
44 borismk
45 monkey