码迷,mamicode.com
首页 >  
搜索关键字:maxsize    ( 995个结果
python 第八天
1、paramiko模块 1.1、此函数是ssh模块: class queue.Queue(maxsize=0) #先入先出 class queue.LifoQueue(maxsize=0) #last in fisrt out class queue.PriorityQueue(maxsize=0 ...
分类:编程语言   时间:2019-01-03 12:55:43    阅读次数:199
交换排序
#include "stdio.h" #define MAXSIZE 20 typedef int ElemType; typedef struct { ElemType r[MAXSIZE+1]; int length; }SortList; /* 冒泡排序:BubbleSort */ void ... ...
分类:编程语言   时间:2019-01-03 12:03:39    阅读次数:183
三种插入排序
#include "stdio.h" #define MAXSIZE 20 typedef int ElemType; typedef struct { ElemType r[MAXSIZE+1]; int length; }SortList; void crelist(SortList *L) {... ...
分类:编程语言   时间:2019-01-03 10:52:54    阅读次数:202
queue队列
python2.x Queue python3.x queue 作用:1、提高效率;2、完成程序的解耦。 队列可以理解为一个有序的容器,但跟列表不同的是,队列里的数据取出来就没有了。 class queue.Queue(maxsize=0) 先入先出 class queue.LifoQueue(ma ...
分类:其他好文   时间:2019-01-01 18:56:40    阅读次数:159
算法之迷宫问题
数据结构相关知识 一、什么是数据结构? 数据结构是指相互之间存在着一种或多种关系的数据元素的集合和该集合中数据元素之间的关系组成。 简单来说,数据结构就是设计数据以何种方式组织并存储在计算机中。 比如:列表、集合与字典等都是一种数据结构。 “程序=数据结构+算法” 二、数据结构的分类 数据结构按照其 ...
分类:编程语言   时间:2018-12-27 03:19:05    阅读次数:233
【数据结构】6-1内部排序(选择、插入、快排)
dataList类定义: 构造函数 选择排序 插入排序 快速排序 菜单 额,复制过来格式就乱了,自己对齐吧 测试函数 完整代码 #include<iostream> #include<ctime> const int maxsize = 10; using namespace std; class ...
分类:编程语言   时间:2018-12-21 22:44:59    阅读次数:305
sql server和my sql 命令(语句)的区别,sql server与mysql的比较
sql与mysql的比较1、连接字符串sql :Initial Catalog(database)=x; --数据库名称 Data Source(source)=x; --服务器 Persist Security Info=True; --集成sql server身份验证 Integrated Se ...
分类:数据库   时间:2018-12-18 17:16:25    阅读次数:339
ShellSort
#include using namespace std; #define MAXSIZE 200000 typedef int KeyType; typedef struct { KeyType key; }RedType; typedef struct { RedType r[MAXSIZE +... ...
分类:系统相关   时间:2018-12-05 00:09:31    阅读次数:258
InsertSort
1 #include 2 3 using namespace std; 4 #define MAXSIZE 200000 5 typedef int KeyType; 6 typedef struct { 7 KeyType key; 8 }RedType; 9 typedef struct { 1... ...
分类:其他好文   时间:2018-12-05 00:09:14    阅读次数:180
Python_queue单项队列
队列(queue),实现程序间的松耦合 队列的三种类: class queue.Queue(maxsize)# 先进先出, maxsize 指定队列长度 class queue.LifoQueue(maxsize) # 后进先出(栈) class queue.PriorityQueue(maxsiz ...
分类:编程语言   时间:2018-12-01 22:14:22    阅读次数:173
995条   上一页 1 ... 22 23 24 25 26 ... 100 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!