Old revision #pnp04lwfn | New revision #po46thby7 | ||
---|---|---|---|
1 | /////////// | 1 | /////////// |
2 | my approach | 2 | my approach |
3 | /////////// | 3 | /////////// |
4 | cur_worst: 664 = 2343 * 84 / 296 | 4 | cur_worst: 642 = 2769 * 120 / 517 |
5 | moved: +3 | 5 | moved: +2 |
6 | amount: 1679 = 2343 - 664 | 6 | amount: 2127 = 2769 - 642 |
7 | ratings_sum: 212 = 296 - 84 | 7 | ratings_sum: 397 = 517 - 120 |
8 | moved: +6 | 8 | cur_worst: 991 = 2127 * 185 / 397 |
9 | moved: +4 | ||
10 | amount: 1136 = 2127 - 991 | ||
11 | ratings_sum: 212 = 397 - 185 | ||
12 | moved: +4 | ||
9 | 13 | ||
10 | ///////////////// | 14 | ///////////////// |
11 | nielsm's approach | 15 | nielsm's approach |
12 | ///////////////// | 16 | ///////////////// |
13 | cur_worst: | 13 | cur_worst: 426 = 2769 * 120 * 120 / 93569 |
14 | moved: +1 | 18 | moved: +1 |
15 | amount: 2026 = 2343 - 317 | 19 | amount: 2343 = 2769 - 426 |
16 | ratings_square_sum: 44944 = 52000 - 84 * 84 | 20 | ratings_square_sum: 79169 = 93569 - 120 * 120 |
17 | moved: +8 | 21 | cur_worst: 1012 = 2343 * 185 * 185 / 79169 |
22 | moved: +5 | ||
23 | amount: 1331 = 2343 - 1012 | ||
24 | ratings_square_sum: 44944 = 79169 - 185 * 185 | ||
25 | moved: +5 | ||
18 | 26 | ||
19 | 27 | ||
20 | /////////////// | 28 | /////////////// |
21 | master approach | 29 | master approach |
22 | /////////////// | 30 | /////////////// |
23 | worst_cargo: | 23 | worst_cargo: 1290 = 2769 * 185 / (212 + 185) |
24 | moved: 6 | 32 | moved: 6 |
25 | amount - worst_cargo: 1 | 25 | amount - worst_cargo: 1479 = 2769 - 1290 |
26 | moved: + | 26 | moved: +5 |