Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
因此,据我所知,这个解决方案的问题在于它太耗时了。在我正在阅读的解释中以及在维基百科上,假设哲学家#1同时具有叉子#3和#5。但现在他还需要#2 分叉,所以他放下#3 和#5,然后分别拿起#2、#3 和#5。现在,在我们例子的框架中,如果一个哲学家只需要两把吃饭,为什么他实际上会同时需要三把叉子呢?还是我在此过程中误解了什么?