代码搜索结果

找到约 15,351 项符合 9 的代码

9-8-1.tex

% 9-8-1.tex \documentclass{article} \usepackage{amsmath} \usepackage{CJK} \newcommand*{\mi}{\mathrm{i}} \begin{document} \begin{CJK*}{GBK}{song} \CJKtilde \begin{align*} (x+\mi y)(x-\mi y) &=

9-10-1.tex

% 9-10-1.tex \documentclass{article} \usepackage{amsmath} \usepackage{CJK} \begin{document} \begin{CJK*}{GBK}{song} \CJKtilde \begin{gather} \text{这是第一个公式}\\ \begin{split} \text{这是第二

9-10-2.tex

% 9-10-2.tex \documentclass{article} \usepackage{amsmath} \usepackage{CJK} \newcommand*{\me}{\mathrm{e}} \begin{document} \begin{CJK*}{GBK}{song} \CJKtilde \begin{align} \text{圆周率~}\pi &

9-10-4.tex

% 9-10-4.tex \documentclass{article} \usepackage{amsmath} \usepackage{CJK} \begin{document} \begin{CJK*}{GBK}{song} \CJKtilde \begin{equation} \begin{aligned} a&=b+c \\ d&=bb+cc \end{aligned}

9.26.c

9.26② 试将折半查找算法改写成递归算法。 实现下列函数: int BinSearch(SSTable s, int low, int high, KeyType k); /* Index the element which key is k */ /* in StaticSearchTable s. */ /* Return 0 if x is not

9.40.c

<mark>9</mark>.40③ 在平衡二叉排序树的每个结点中增设一个 lsize域,其值为它的左子树中的结点数加1。试写 一时间复杂度为O(logn)的算法,确定树中第k小的 结点的位置。 实现下列函数: BiTNode *Ranking(BiTree T, int k) /* 在含lsize域的平衡二叉排序树T中确定第k小的结点指针 */ 二叉树的类型BiTree定义如下: typedef ...

9.45.c

9.45③ 假设哈希表长为m,哈希函数为H(x),用链地址法 处理冲突。试编写输入一组关键字并建造哈希表的算法。 实现下列函数: int BuildHashTab(ChainHashTab &H, int n, HKeyType es[]); /* 直接调用下列函数 */ /* 哈希函数:

9.31.c

<mark>9</mark>.31④ 试写一个判别给定二叉树是否为二叉排序树 的算法,设此二叉树以二叉链表作存储结构。且树中 结点的关键字均不同。 实现下列函数: Status IsBSTree(BiTree t); /* 判别给定二叉树t是否为二叉排序树。*/ /* 若是,则返回TRUE,否则FALSE */ 二叉树的类型BiTree定义如下: typedef struct { ...

9.33.c

9.33③ 编写递归算法,从大到小输出给定二叉排序树 中所有关键字不小于x的数据元素。要求你的算法的时 间复杂度为O(log2n+m),其中n为排序树中所含结点数, m为输出的关键字个数。 实现下列函数: void OrderOut(BiTree t, KeyType x, void(*visit)(TElemType)); /* Output is to use visit(t-