ReputationZh
V2EX  ›  问与答

类完全背包拓展问题

  •  
  •   ReputationZh · Nov 30, 2021 · 1695 views
    This topic created in 1696 days ago, the information mentioned may be changed or developed.

    条件

    1. 你有 n 个石头
    2. 你有一个承重限额的背包

    问题

    1. 如何使用最少的次数把所有石头带走
    2. 每次带哪几块石头?
    No Comments Yet
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   3283 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 25ms · UTC 11:00 · PVG 19:00 · LAX 04:00 · JFK 07:00
    ♥ Do have faith in what you're doing.