Round 2

The winner of the CodeFu 2015 Round 2 is Jovan Krajevski

The winner of the first tablet is Jovan Krajevski

The winner of the second tablet is Robert Andonovski

The calculation for the random Samsung Galaxy Tab 4 tablet is (18 * 2 + 24 * 5 + 35 * 8 + 44 * 11 + 45 * 13) % 74 + 2 = 27


 

 

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

  • 5 numbers will be taken from the Euro Millions Lottery 22nd of May 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 74 and then added 2 (to get a range of 2-75, these are the competitors eligible for the prize)
  • Example
    Lottery numbers from a previous draw were 4, 13, 30, 34, 47
    4 * 2 + 13 * 5 + 30 * 8 + 34 * 11 + 47 * 13 = 1298
    1298 % 74 + 2 = 42  This means the person with number 42 (this is still an example) would receive the tablet

The position numbers are:

PositionUsername
2 nasadigital
3 yoyoyoman
4 Kuzmanoski
5 haris
6 shokymk
7 zigfrid
8 AleksovskiStefan
9 vavio
10 sonne
11 Nikola
12 mboncanoski
13 genius_mkd
14 Denis
15 ivicaobadic
16 add1ctus
17 kujta1
18 Awesomeness
19 despotovski01
20 ppetrov
21 Fjodor
22 w1cker
23 ivanB
24 MTrajk
25 Dvorog
26 Phreakout
27 pali_gasi
28 stojkowski
29 R2D2
30 AD5
31 Gocelinho
32 tStojkovski
33 Goran1
34 kiko1991
35 roberto
36 MrInF3ction
37 BookHouseEffect
38 AnaK
39 IlijaNikolovski
40 petar_gjeorgiev
41 Scentini
42 DruiDAlek
43 Kjosev
44 Jovanb
45 statik
46 VasilK
47 FILOZOF
48 schkolski
49 acker
50 nakamoto
51 Lepluto
52 VikiP
53 dusante1
54 crazystuff
55 srgjanx
56 martinbt
57 Vele
58 viktor11
59 mmK
60 schenock
61 unknownPlayer
62 kosta984
63 Kikuv4e
64 Leon123454321
65 Davd
66 i_arsovski
67 Mirage
68 Natasha
69 paunova
70 qwertyThis
71 elena992
72 biljanaristovska
73 Txe
74 mariomako
75 decobt