}
}
jobs[p]start_time=current_hour*+current_minute;
jobs[p]wait_time=(current_hourjobs[p]reach_hour)*+(current_minutejobs[p]reach_minite)+jobs[p
]need_time;
cout< time< current_hour=current_hour+(jobs[p].need_time+current_minute)/60;
current_minute=(jobs[p].need_time+current_minute)%60;
jobs[p].visited=1;
total_time+=jobs[p].wait_time;
}
cout< }
//响应比最高者优先调度算法
void excellent()
{
int i,j,p;
int current_hour;
int current_minute;
float current_excellent;
int total_time=0;
//输出作业流
cout< cout< cout<<"------------------------------------------------------------------------"< cout.setf(2);
cout< current_hour=jobs[quantity-1].reach_hour;
current_minute=jobs[quantity-1].reach_minite;
for(i=0;i current_excellent=-1;
[1] [2] [3] [4] [5] [6] [7] [8] [9]