weishao666
V2EX  ›  问与答

求教一个路径规划的算法题

  •  
  •   weishao666 · Sep 29, 2019 · 1160 views
    This topic created in 2439 days ago, the information mentioned may be changed or developed.

    朋友们,请教一下,这样一张地图,地图上有两种停靠站,每个站携带不同的能量和金币值,绿色停靠站补充能量和金币,红色扣能量和金币,我作为游戏人物,总体移动 500 步,每移动一步消耗单位能量,现在想要在 500 步移动后积攒最大的金币量,用什么算法呀,先谢为敬

    https://imgchr.com/i/uGGbJU

    No Comments Yet
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   3133 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 27ms · UTC 14:34 · PVG 22:34 · LAX 07:34 · JFK 10:34
    ♥ Do have faith in what you're doing.