ReputationZh
V2EX  ›  问与答

类完全背包拓展问题

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