Randall's Blog

Randall's Blog

Study

AS报错“Could not find com.android.tools.build:gradle:4.1.2.”

更改build.gradle文件,换用阿里镜像 解决报错:Using insecure protocols with repositories, without explicit opt-in, is unsupported. Switch Maven repository 'maven(http:
0
0
2021-10-14

21春数据库系统设计小学期——大学实验材料管理信息系统数据库设计(附源码)

大学实验材料管理信息系统数据库设计 由于本人云服务器系统更新问题,项目后端数据库已经移植,下载后的程序无法连接到数据库,可重构项目并且自行搭建数据库 本程序是我都小学期作业,内部肯定存在很多不是最合适的代码跟算法,望大佬指正。最终程序采用云服务器 大学实验材料管理信息系统数据库设计.zip 课程设计

稳定匹配StableMaching

代码: #include<queue> #include <iostream> #define MAX 10 //医院学生最多为MAX个 using namespace std; int main(){ int hospital_num, student_num; //
0
0
2021-05-25

快速排序QuickSort

代码: #include <stdio.h> #include <iostream> #include <vector> using namespace std; //快速排序算法(从小到大) //arr:需要排序的数组,begin:需要排序的区间左边界,end:需要排序的区间的右边界 void
0
0
2021-05-25

区间调度IntervalScheduling

代码: #include <iostream> #include <vector> using namespace std; int _count[100][100]; //构造最优矩阵 int p[100][100]; int numbers[100]; void dp(int start[]
0
0
2021-05-25

背包问题BackpackProblem

代码 #include <stdio.h> #include <iostream> #include <vector> #include <string.h> using namespace std; void package(int *weight,int *size,int n,int c);/
0
0
2021-05-25

全点对最短路径All point pair shortest path

代码 #include <iostream> #include <vector> using namespace std; int minnum
2
0
2021-05-25

霍夫曼编码Huffman

代码: #include <stdio.h> #include <stdlib.h> #include <string.h> #include <limits.h> // 统计字符频度的临时结点 typedef struct { unsigned char uch;// 以8bits为单元的
0
0
2021-05-25

算法分析与设计大作业——期末测试

title: 算法分析与设计大作业——期末测试 tags: [] id: '41' categories: C++ 算法 date: 2021-05-20 06:11:00 需要代码请评论或者与我联系! 问题描述 助教小明给期末测验出了n道算法题目。他希望在即将到来的期末测验试卷中使用其中k道题目。
0
0
2021-05-20

算法分析与设计大作业——截止日期

问题描述: 某学科老师布置了n个题目,每个题目都有相应的分数及截止日期。各个题目的分数及截止日期可能并不相同。对某题目而言,如果在该题目的截止日期前完成则可获得对应的分数,否则无法得分。假设每个题目均需要花费一天的时间来完成,这期间无法完成其他题目。请你设计算法指定题目的完成计划,从而使总的得分最大
0
0
2021-05-20