摘要:
public class 亲密数{ public static void main(String argv [] ){ int a,i,b,n; System.out.println("There are following friendly-numbers pai... 阅读全文
摘要:
#include #define HASH_LEN 13#define TABLE_LEN 8int data[TABLE_LEN]={69,65,90,37,92,6,28,54}; //原始数据 int hash[HASH_LEN]={0};//哈希表,初始化为0 void InsertHash... 阅读全文
摘要:
int source[]={54,90,6,69,12,37,92,28,65,83};void InsertBST(BSTree *t,int key)//在二叉排序树中插入关键字key{ head=t; while(head) //查找需要添加的父结点 { pa... 阅读全文