8.12 状态压缩动态规划 #106
Replies: 6 comments 2 replies
-
将集合 A 设置为全集: |
Beta Was this translation helpful? Give feedback.
-
设为全集应该是 |
Beta Was this translation helpful? Give feedback.
-
代码1的13行这里: |
Beta Was this translation helpful? Give feedback.
-
枚举集合 A的子集(包含 A)内容中的subB啥意思?另外此代码的含义是不是枚举“非空”子集? |
Beta Was this translation helpful? Give feedback.
-
设A为全集不应该是 A = (1 << n) - 1吗?减法的优先级高于左移,应该需要加括号吧? |
Beta Was this translation helpful? Give feedback.
-
枚举全集的所有子集第三行代码: |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
8.12 状态压缩动态规划
https://algo.itcharge.cn/08_dynamic_programming/08_12_state_compression_dp/
Beta Was this translation helpful? Give feedback.
All reactions