码迷,mamicode.com
首页 >  
搜索关键字:maxsize    ( 995个结果
线性表的实现--用通用方法实现线性表的初始化、求表长、插入元素、删除元素等
//线性表的通用程序,c语言实现 #include <stdio.h> #include <stdlib.h> #define MaxSize 50 typedef char DataType; typedef struct node { DataType data[MaxSize]; int la ...
分类:其他好文   时间:2019-06-27 17:52:46    阅读次数:144
dialog - 从 shell 显示对话框
总览 (SYNOPSIS) dialog --clear dialog --create-rc file dialog --print-maxsize dialog common-options box-options 描述 (DESCRIPTION) Dialog 是一个 让 shell scri ...
分类:系统相关   时间:2019-06-25 09:16:23    阅读次数:243
leetcode1091
这道题使用dfs会超时,看评论区也有人遇到同样的问题,比赛时调试了1个多小时尝试改进,没有意识到应该换用非递归的bfs可以解决,消耗了大量的时间。 超时的方案如下,使用python实现:(经过尝试,能通过的测试用例中,使用5个方向就可以了) 暂时先这样吧。 ...
分类:其他好文   时间:2019-06-16 13:21:14    阅读次数:89
哈夫曼树
#include #define n 5 //叶子数目 #define m (2*n-1) //结点总数 #define maxval 10000.0 #define maxsize 100 //哈夫曼编码的最大位数 typedef struct { char ch; float weight; i... ...
分类:其他好文   时间:2019-06-12 23:06:13    阅读次数:106
顺序队列的基本操作
1 #include 2 #include 3 #define MAXSIZE 10 4 5 typedef int ElemType; 6 //队列结构体 7 typedef struct{ 8 ElemType data[MAXSIZE]; 9 int front,rear;//队头与队尾指针 ... ...
分类:其他好文   时间:2019-06-10 19:58:15    阅读次数:163
线程队列、事件以及协程
线程的几个队列 都是从queue这个模块中导入 1、Queue队列(先进先出的队列) from queue import Queue q = Queue(maxsize=3) # 实例化产生队列对象 # maxsize 设置队列里能容纳的最大的数据个数 q.put("first") q.put("s ...
分类:编程语言   时间:2019-06-09 20:50:52    阅读次数:119
Python并发编程—进程间通信
进程间通信(IPC) 1.必要性: 进程间空间独立,资源不共享,此时在需要进程间数据传输时就需要特定的手段进行数据通信。 2.常用进程间通信方法:管道通信、消息队列、共享内存、信号量 管道通信(Pipe) 1.通信原理:在内存中开辟管道空间,生成管道操作对象,多个进程使用同一个管道对象进行读写即可实 ...
分类:编程语言   时间:2019-06-07 22:33:06    阅读次数:149
链式树
int main(){ BinTree tree,parent,child; char ch[maxsize]; int i,n=0,k=0,j; printf("请给赋值二叉树:\n"); for(i=0;idata); printf("双亲结点为:%c",getParent(tree,paren... ...
分类:其他好文   时间:2019-06-06 19:03:22    阅读次数:89
链式二叉树
include include define maxsize 100 typedef char TElemType; typedef struct node{ TElemType data[maxsize]; TElemType n; }SqBTree; void createBinTree_Pre ...
分类:其他好文   时间:2019-06-06 17:27:04    阅读次数:81
Informatica学习:安装介质的获取与安装
阅读目录 一、准备 1、安装介质的获取 2、数据库端准备 (1)创建存放info相关信息的表空间 (2)创建域用户并分配权限,用来管理域 (3)创建资源库用户并赋权 (4)创建数据分析用户并赋权 (5)创建元数据用户并赋权 二、服务器端安装 三、客户端安装 三、组件介绍 阅读目录 一、准备 1、安装 ...
分类:其他好文   时间:2019-06-04 17:54:44    阅读次数:119
995条   上一页 1 ... 16 17 18 19 20 ... 100 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!