资源列表
Monkey
- 猴子吃桃数组解决 有一群猴子摘了一堆桃子,他们每天都吃当前桃子的一半且再多吃一个,到了第10天就只余下一个桃子。求出原来这群猴子共摘了多少个桃子。-Monkey eating a group of monkeys to solve an array of peach picked a bunch of peaches, peaches they currently eat every day and then eat a half, to the first 10 days left in a
duoceng
- 多层有界边界吸收 c语言 弹性波波动方程求解方法-duo ceng you jie bian jie, C yu yan, tan xing bo dong fang chneg
mergesort
- 归并排序算法,c++代码。利用mergesort算法读取文件并对其中数据排序-Merge sort algorithm, c++ code
QuickSort
- 快速排序算法的代码,C语言编写,比较简单,不过思考要多一点-quicksort code,writtten by C language
play
- 耶稣有13个徒弟,其中有一个徒弟出卖了耶稣。现在将13个人标上号码1~13,并围成一个圆圈,然后1,2,3,1,2,3,1,2,3……的轮着报数,只要报到3的人被删除,如此循环着,最后剩下的那个人的就是叛徒。-Jesus has 13 disciple, and there is a disciple betray Jesus. Now 13 people will be marked with a number 1 ~ 13, and round in a circle, then 1,2,3
lab07
- 声明一个车(vehicle)基类,具有MaxSpeed、Weight等成员变量, Run、Stop等成员函数, 由此派生出自行车(bicycle)类、汽车(motorcar)类。-vehicle MaxSpeed、Weight, Run、Stop/bicycle、motorcar
nodeDispcutBatchRt
- ABAQUS中节点各属性显示的fortran代码,可以修改内部显示参数-Fortran code ABAQUS in the node properties displayed, you can modify the display parameters within
1
- 插入排序算法,对想了解排序的人有一定的帮助-Insertion sort algorithm, there are certain people who want to understand the sort
PriorityQueue
- 泛型化的优先级队列(最小堆),用C++实现 使用前应重载小于号 -Generic priority queue(the minimum heap) with C++ achieve
mlfbeibao
- 5蛮力法求背包问题 5蛮力法求背包问题 5蛮力法求背包问题-5 Brute Force Method knapsack problem 5 Brute Force Method knapsack problem brute force method to seek the knapsack problem
the-Josephus-problem
- 利用建立双向循环链表来解决约瑟夫环的问题-Doubly linked list to solve the Josephus problem
erchashu
- 假设自上而下按层次,自左至右输入每个结点的一个三元组(N, P, L/R)。其中N为本结点的元素,P为其夫结点,L指示N为P 的左孩子,R指示N为P的右孩子。试写一个建立二元树在内存的双链表示算法,并实现先根、中根、后根以及层序遍历算法。 -Assuming that the top-down hierarchy, from left to right input each node is a triple (N, P, L/R). N oriented junction element t
