
资源分享
计算机相关资源分享,包括书籍,文章等。
会编程的道君
一个立志于卷在当下,躺在日后的苦逼搬砖人!
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
算法导论4
0-1背包 #include<iostream> #include<vector> #include<algorithm> using namespace std; struct VER { int w;//每个物品的重量 int v;//每个物品的价值 }; #define N 100 //默认有99个物品。第一个不使用 int x[N]; //x[i]=1:物品i放入背包,0代表不放入 int n,c; //n:一共有多少物品,c:原创 2021-06-27 15:17:55 · 300 阅读 · 0 评论 -
算法导论三
背包问题 // 1.knapsack 背包问题 #include<iostream> #include<algorithm> #include<vector> #include<math.h> using namespace std; const int volume = 100;// 背包容量 const int N = 5;//物品数量 struct OBJECTS{ int value; int weight; float ra原创 2021-06-27 15:15:54 · 393 阅读 · 0 评论 -
Ubuntu20.04下添加自定义系统调用
Ubuntu20.04下添加自定义系统调用 实验环境 1.VM15.15Pro 2.Ubuntu20.04 3.内核版本Linux-5.6.15 操作步骤 添加系统调用内核 下载Linux-5.6.15内核版本,将压缩包复制到虚拟机的桌面,并移动到/usr/src文件夹中并解压。 命令:sudo mv linux-5.6.15.tar.xz /usr/src sudo tar -xvf linux-5.6.15.tar.xz 下载编译所需的软件依赖包 sudo apt-get update sudo ap原创 2020-06-08 15:56:07 · 3838 阅读 · 2 评论 -
专业书书单
C++ Prime Plus(第6版)中文版 现代操作系统-第三版-中文 数字电子技术(西电第三版) 计算机组成与设计-李伯成,顾新 The C++Programing Language special edition 现代操作系统第四版 深度学习中文版 ...原创 2020-03-26 15:43:25 · 299 阅读 · 0 评论