schedule.addtask(new Task(2, 20, 'A1'));
schedule.addtask(new Task(8, 10, 'A2'));
schedule.addtask(new Task(10, 15, 'A3'));
schedule.addtask(new Task(12, 10, 'A4'));
taskBs.add(new Task(2, 2, 'B1')); (实际长度8)
taskBs.add(new Task(12, 10, 'B2')); (实际长度26)
taskBs.add(new Task(22, 3, 'B3')); (实际长度29)
taskBs.add(new Task(12, 50, 'B4')); (实际长度66)
A1 A2 A3 A4
|>!