ReputationZh
V2EX  ›  问与答

类完全背包拓展问题

  •  
  •   ReputationZh · Nov 30, 2021 · 1601 views
    This topic created in 1649 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   ·   2892 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 26ms · UTC 05:46 · PVG 13:46 · LAX 22:46 · JFK 01:46
    ♥ Do have faith in what you're doing.