自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(7)
  • 收藏
  • 关注

原创 SRTF算法

srtf算法

2022-06-01 14:25:49 1024

原创 HRRF算法

hrrf算法

2022-06-01 14:14:16 981

原创 SJF算法(c语言)

#include<iostream>#include<algorithm>#include<vector>#define num 4#define col 3using namespace std;int data[num][col] = {{1,0,120}, {2,50,50}, {3,60,10}, {4,110,20}}...

2022-05-10 17:47:13 1354

原创 FCFS算法(c语言)

#include<iostream>#include<algorithm>#include<vector>#define num 4#define col 3using namespace std;int data[num][col] = {{1,0,120}, {2,50,50}, {3,60,10}, {4,110,20}}...

2022-05-10 17:46:23 1374 1

原创 FCFS和SJF c语言实现

#include<stdio.h>#include<string.h>struct job{ char name[10]; //作业的名字 int starttime; //作业到达系统时间 int needtime; //作业服务时间 int runtime; //作业周转时间 int endtime; //作业结束时间 double dqzz_time; //...

2022-05-10 17:18:34 450

原创 一维数组累加代码

#include<stdio.h>#include<stdlib.h>#define N 10int main(){ int arr[N]; int sum = 0; float avg; int i; for(i=0;i<N;i++) { arr[i] = rand()%100; printf("arr[%d] = %d\n",i,arr[i]); } for(i=0;i...

2022-05-09 15:04:11 267

原创 sublime text搭建C语言环境

sublime_text: 菜单栏: tool –> Build System –> New Build System ---------------------------------------------------------------------------------------------------------- { "shell_cmd": "gcc \"${file}\" -o \"${file_p...

2022-04-27 20:40:03 321

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除