Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // Add module weight
- fuel := module/3 - 2
- totalFuel += fuel
- // Add fuel weight
- for {
- fuel = fuel/3 - 2
- if fuel <= 0 {
- break
- }
- totalFuel += fuel
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement