处理器调度算法
#include <bits/stdc++.h>using namespace std;ifstream infile;ofstream outfile; int n, k;//进程个数n 时间片长度kstruct pcb{ int id; // 进程编号 int st; // 到达时间 int len; // 运行时间 int res; // 剩余运行时间 };struct result{ int id, ariv, len, st, end, t1, t2;// 编
原创
2022-05-03 20:06:47 ·
295 阅读 ·
0 评论