先进先出页面置换算法(FIFO)

算法规则: 顾名思义,最早进来的元素,若发生缺页要最先出去。   code: #include <iostream> #include <cstdlib> #include <vector> #include <cstdio> #define pause system("pause") using namespace std; const int maxn = 1005; int a[ma
相关文章
相关标签/搜索