(本站为飞网专业下载站,域名:down.cfei.net)
                         
                        
                        
                            资源简介:
                            就是C语言#include #include #define MAX 5    //进程数/*短作业优先算法*/struct pro{int num;    //进程名int arriveTime; //到达时间int burst;    //运行时间;struct pro *next;};//函数声明struct pro* creatList();void insert(struct pro *head,struct pro *s); struct pro* searchByAT(struct pro *head,int AT); void run(struct pro *head);void del(struct pro* p);int getCount(struct pro *head,int time);struct pro* creatList()    //创建链表,按照进程的到达时间排列{struct pro* head=(struct pro*)malloc(sizeof(struct pro));head->next=NULL;s
飞网下载站,免费下载共享资料,内容涉及教育资源、专业资料、IT资源、娱乐生活、经济管理、办公文书、游戏资料等。