搜索资源列表
加锁法 解决两个进程合作累加数组
- 用加锁的方法解决两个进程累加数组的互斥问题-locked with two ways to solve the array of cumulative process Mutual Exclusion
QUIKSORT
- 快速排序,动态生成数组,然后通过算法实现排序-Quick Sort, dynamic generation array, then sorting algorithm
score_static
- 用一个数组和一个字符数组分别储存学生的分数和姓名,然后用排序算法进行排序,最后按降幂输出结果。 -With an array of characters and an array of storage, respectively, and the names of scores of students, and then sort sorting algorithm, and finally by the lower power output.
paixu
- 编写顺序查找的方法public static int[] ordinalSearch(int data[],int key),要求该方法返回一个数组(如果key存在,数组中各元素的值分别为关键字key在原数组data中的下标;如果key不存在,则返回一个长度为1的数组,数组元素为-1)。-Write a sequential search method public static int [] ordinalSearch (int data [], int key) This method re