摘要:
#include<stdio.h>#include<stdlib.h>#define EQ(a,b) ((a) == (b))#define LT(a,b) ((a) < (b))#define LE(a,b) ((a) <= (b))typedef struct{ int key; int data;}SElemType;typedef struct{ SElemType *elem; int length;}SSTable;SSTable * create(int n){ SSTable *sst = (SSTable *)malloc(sizeof(S 阅读全文
摘要:
#include<stdio.h>#include<stdlib.h>#define EQ(a,b) ((a) == (b))#define LT(a,b) ((a) < (b))#define LE(a,b) ((a) <= (b))typedef struct{ int key; int data;}SElemType;typedef struct{ SElemType *elem; int length;}SSTable;SSTable * create(int n){ SSTable *sst = (SSTable *)malloc(sizeof(S 阅读全文