Loading

Paste #pnp04lwfn

  1. ///////////
  2. my approach
  3. ///////////
  4. cur_worst: 664 = 2343 * 84 / 296
  5. moved: +3
  6. amount: 1679 = 2343 - 664
  7. ratings_sum: 212 = 296 - 84
  8. moved: +6
  9.  
  10. /////////////////
  11. nielsm's approach
  12. /////////////////
  13. cur_worst: 317 = 2343 * 84 * 84 / 52000
  14. moved: +1
  15. amount: 2026 = 2343 - 317
  16. ratings_square_sum: 44944 = 52000 - 84 * 84
  17. moved: +8
  18.  
  19.  
  20. ///////////////
  21. master approach
  22. ///////////////
  23. worst_cargo: 664 = 2343 * 84 / (212 + 84)
  24. moved: 6
  25. amount - worst_cargo: 1679 = 2343 - 664
  26. moved: +3

Comments