摘要:
7月5日 今天完成了二路归并排序,下面是我的源代码 #include<iostream>using namespace std; int n;int* a; // 定义为指针,用于动态分配内存void Merge(int a[], int t[], int low, int mid, int hig 阅读全文
摘要:
7月5日 今天完成了数据结构第三题;寻找大富翁,下面是我的源代码 #include <iostream>#include <vector>using namespace std;const int max_size = 1000010;int num[max_size]; void sift(int 阅读全文
摘要:
7月四日 完成了数据结构的第二个题目;老板的作息表,这是我的源代码 #include <iostream>#include <cstdio>#include <string>#include <vector>#include <queue>#include <map>#include <algori 阅读全文