思路: 参考题解:https://leetcode-cn.com/problems/the-dining-philosophers/solution/zhe-xue-jia-jiu-can-wen-ti-by-mike-meng/ 解法1:控制同时拿筷子的哲学家人数(不多于4个……