先進先出頁面置換算法(FIFO)

算法規則: 顧名思義,最早進來的元素,若發生缺頁要最先出去。   code: #include <iostream> #include <cstdlib> #include <vector> #include <cstdio> #define pause system("pause") using namespace std; const int maxn = 1005; int a[ma
相關文章
相關標籤/搜索