//夏国峰 E01014130 时间片算法 #include #include #define getpch(type) (type)malloc(sizeof(type) struct pcb{ char name[10]; char state; int ntime; int rtime; struct pcb* link; }*ready=NULL,