using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Exam_os1
{
class Program
{
static void Main(string[] args)
{
Console.WriteLine(" 采用先进先出OTP算法实现页面置换算法: ");
int k;
int y = 0;
int t = 0;
int f = 0;
int x = 0;
int h = 0;
float n = 0;
float m;
int[] arr = {
7, 0, 1, 2, 0, 3, 0, 4, 2, 3, 0, 3, 2, 1, 2, 0, 1, 7, 0, 1 };
int[] arr1 = new int[3];
for (int i = 0; i < 3; i++)
{
arr1[i] = arr[i];
C#之FIFO算法实现页面置换算法代码
最新推荐文章于 2025-02-21 10:51:57 发布