ReputationZh
V2EX  ›  问与答

类完全背包拓展问题

  •  
  •   ReputationZh · Nov 30, 2021 · 1602 views
    This topic created in 1650 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   ·   2685 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 99ms · UTC 11:13 · PVG 19:13 · LAX 04:13 · JFK 07:13
    ♥ Do have faith in what you're doing.