ReputationZh
V2EX  ›  问与答

类完全背包拓展问题

  •  
  •   ReputationZh · Nov 30, 2021 · 1619 views
    This topic created in 1660 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   ·   1050 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 42ms · UTC 22:52 · PVG 06:52 · LAX 15:52 · JFK 18:52
    ♥ Do have faith in what you're doing.