【操作系统概念-作业1】Introduction
Operating System Concepts Exercises 1 Introduction 操作系统作业1
1.1, 1.5, 1.61.12, 1.15, 1.19, 1.22, 1.23, 1.27
每题最后一个引用块是老师提供的参考答案 Practice Exercises
1.1 What are the three main purposes of an ope…
题目链接 把平均数写出来,发现就是一个斜率公式。容易证明上凸点一定不是最优解,所以我们用单调队列维护下凸序列。
#include<cstdio>
#include<queue>
#include<algorithm>
using namespace std;
const int N1e510;
int n,l;
double…