Loading

Revision differences

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