We are given 9 tasks \(T_1, T_2, \ldots, T_9\). The execution of each task requires one unit of time, and only one task can be executed at a time. Each task \(T_i\) has a profit \(P_i\) and a deadline \(d_i\); the profit \(P_i\) is earned if the task is completed before the end of the \(d_i\)-th unit of time.\[\begin{array}{|c|c|c|c|c|c|c|c|c|c|}\hline \text{Task} & T_1 & T_2 & T_3 & T_4 & T_5 & T_6 & T_7 & T_8 & T_9 \\\hline \text{Profit } P_i & 15 & 20 & 30 & 18 & 18 & 10 & 23 & 16 & 25 \\\hline \text{Deadline } d_i & 7 & 2 & 5 & 3 & 4 & 5 & 2 & 7 & 3 \\\hline \end{array}\]Are all tasks completed in the schedule that gives maximum profit?
- AAll tasks are completed
- BT1 and T6 are left out
- CT1 and T8 are left out
- DT4 and T6 are left out