第五章的代码运行有问题呢,未按优先级排序
hu-shuaishuai opened this issue · 1 comments
hu-shuaishuai commented
[QueueElement, QueueElement, QueueElement, QueueElement, QueueElement]
0: QueueElement {element: "A", priority: 10}
1: QueueElement {element: "B", priority: 15}
2: QueueElement {element: "C", priority: 11}
3: QueueElement {element: "D", priority: 20}
4: QueueElement {element: "E", priority: 18}
hu-shuaishuai commented
测试成功了,经过检查,是看错了