1 #include <stdio.h> 2 #include <stdlib.h> 3 4 #define OK 1 5 #define ERR 2 6 #define TRUE 1 7 #define FALSE 0 8 #define MAXSIZE 20 //定义线性表的最大长度 9 10 ...
分类:
编程语言 时间:
2020-01-18 19:36:00
阅读次数:
130
create tablespace HNNW logging datafile '\app\oratable_space\HNNW_20200114.dbf' size 50m autoextend on next 50m maxsize 20480m extent management local ...
分类:
数据库 时间:
2020-01-14 11:35:16
阅读次数:
109
简介 是一种一种储存数据的容器,遵循着先进先出的原则,没有特定顺序,但可以在内部设定方法输出特定元素如首元素 包含两个指针,一个front指向第一个元素的前一个位置,一个rear指向最后一个元素,两者初始值均为-1 front=rear时队列为空,rear=maxSize时队列为满 其他方法可以在类 ...
分类:
其他好文 时间:
2020-01-12 20:13:23
阅读次数:
71
using log4net; using log4net.Appender; using log4net.Core; using log4net.Layout; using log4net.Repository.Hierarchy; using System; using System.Collec ...
分类:
Web程序 时间:
2020-01-08 18:46:18
阅读次数:
96
这道题思路很简单,就是在一个loop下找最大的和第二大的数值。记住,python最小的数值是-sys.maxsize-1 ...
分类:
其他好文 时间:
2020-01-06 09:48:25
阅读次数:
66
创建表空间 create temporary tablespace user_name_temp tempfile '/oradata/ORA11G/user_name_temp.dbf' size 50m autoextend on next 50m maxsize unlimited --max ...
分类:
数据库 时间:
2020-01-05 22:07:01
阅读次数:
104
HashMap HashMap的数据结构:HashMap实际上是一个数组和链表(“链表散列”)的数据结构。底层就是一个数组结构,数组中的每一项又是一个链表。 hashCode是一个对象的标识,Java中对象的hashCode是一个int类型值。通过hashCode来算出指定数组的索引可以快速定位到要 ...
分类:
其他好文 时间:
2020-01-01 12:02:03
阅读次数:
73
typedef struct LNode *List;struct LNode{ int Data[MAXSIZE]; int Last;//最后一个,表长为last+1};struct LNode L;List PtrL;List MakeEmpty(){ List PtrL; PtrL = (L ...
分类:
其他好文 时间:
2019-12-30 11:53:05
阅读次数:
71
#include<bits/stdc++.h> #define MaxSize 100 using namespace std; //哈夫曼树结点结构 typedef struct { int weight;//结点权重 int parent, left, right;//父结点、左孩子、右孩子在数 ...
分类:
其他好文 时间:
2019-12-30 11:19:05
阅读次数:
89
typedef int Position; struct QNode { ElementType *Data; /* 存储元素的数组 */ Position Front, Rear; /* 队列的头、尾指针 */ int MaxSize; /* 队列最大容量 */ }; typedef struct ...
分类:
其他好文 时间:
2019-12-29 13:23:26
阅读次数:
72