01. 状态压缩 DP 知识 #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.
-
01. 状态压缩 DP 知识
https://algo.itcharge.cn/10.Dynamic-Programming/07.State-DP/01.State-DP/
Beta Was this translation helpful? Give feedback.
All reactions