Skip to content
CalcGospel 國際數學圖譜
返回

IAL 2025 Jan D1 Q1

A Level / Edexcel / D1

IAL 2025 Jan Paper · Question 1

题目

Problem

The following list of eleven numbers is to be packed into bins of size 55

2619311014303318328526 \quad 19 \quad 31 \quad 10 \quad 14 \quad 30 \quad 33 \quad 18 \quad 3 \quad 28 \quad 5

(a) Use the first-fit bin packing algorithm to pack the numbers into bins of size 55.

(3)

(b) Use quick sort to sort the list into descending order, showing the result after each pass. You must clearly identify the pivots used.

(4)

(c) Apply the first-fit decreasing bin packing algorithm to pack the numbers into bins of size 55.

(2)
题目中文翻译

以下十一个数字列表需要装入容量为 55 的箱子中

2619311014303318328526 \quad 19 \quad 31 \quad 10 \quad 14 \quad 30 \quad 33 \quad 18 \quad 3 \quad 28 \quad 5

(a) 使用首次适应装箱算法将数字装入容量为 55 的箱子。

(b) 使用快速排序将列表按降序排列,显示每轮后的结果。必须清楚标明所使用的基准元素。

(c) 应用首次适应递减装箱算法将数字装入容量为 55 的箱子。

解答