- 博客(13)
- 收藏
- 关注
原创 Select Sort
#include<stdio.h>#include<iostream>#include<string>using namespace std;#define OK 1 #define ERROR -1#define MAXNUM 11typedef int Status;// use define a basic struct shape...
2018-04-06 11:47:20
523
原创 Straight Insert Sort
#include<stdio.h>#include<iostream>#include<string>using namespace std;#define OK 1 #define ERROR -1#define MAXNUM 11typedef int Status;// use define a basic struct shape...
2018-04-06 11:38:45
197
原创 Quick Sort
#include<stdio.h>#include<iostream>#include<string>using namespace std;#define OK 1 #define ERROR -1#define MAXNUM 11typedef int Status;// use define a basic struct shape...
2018-04-06 11:24:26
155
转载 Python 安装 第三方库的安装技巧
Python 安装 第三方库的安装技巧我的电脑:Windows 10 64位。 Python IDE 软件:PyCharm 2016.1.4 Python version : Python 3.5.0安装一个两条建议: 1. 使用 pip 命令行工具在线下载你需要的第三方库 2. 手动下载 第三方库,再使用 pip 命令安装1. 使用 pip 命令行工具在线下载你需要的第三方库Q: 什么是 pip...
2018-03-22 10:30:11
499
转载 python 数据库
c1 = conn.cursor()c1.execute('SELECT * FROM TV')c2 = conn.cursor()c2.execute('SELECT * FROM TV WHERE salesrep =%s', Arr[i])with pymssql.connect(server, user, password, database) as conn: with...
2018-03-13 14:22:06
167
翻译 拓扑排序
//算法6.12 拓扑排序#include <iostream>using namespace std;#define MVNum 100 //最大顶点数#define OK 1 #define ERROR 0 typedef char VerTexType;//- - - - -图的邻接表存储表示- - - - - typed...
2018-02-21 22:00:54
548
原创 迪杰斯特拉算法
// ConsoleApplication16.cpp: 定义控制台应用程序的入口点。//迪杰斯特拉算法#include "stdafx.h"#include<iostream>using namespace std;#define OK 1#define ERROR -1#define MAXINT 32767#define MAXNUM 100typedef char VerTex...
2018-02-19 20:53:48
305
原创 克鲁斯卡尔算法求最小生成树
// Keruskal#include "stdafx.h"#include<iostream>using namespace std;#define OK 1#define ERROR -1#define MAXINT 32767#define MAXNUM 100typedef char VerTexType;typedef int ArcType;typedef struct {...
2018-02-19 11:53:06
851
原创 表达式计算
#pragma once#include<iostream>using namespace std;const char oper[7] = {'+', '-', '*', '/', '(', ')', '#' };#define OK 1#define ERROR -1#define OVERFLOW -2typedef char SElemType;typedef int Stat...
2018-02-15 20:40:39
275
原创 数据结构——图之广度优先遍历算法
//图的广度优先遍历算法、#include "stdafx.h"#include<iostream>using namespace std;#define OK 1#define ERROR -1#define MAXNUM 100#define MAXINT 32767typedef int Status;typedef char VerTexType;typedef int Arc...
2018-02-13 21:00:00
793
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人