自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

  • 博客(10)
  • 收藏
  • 关注

转载 Java 获取并格式化当前时间

import java.util.*;import java.text.*;public class Date1 { public static void main(String args[]) { /*try { long start = System.currentTimeMillis( );//获取此刻时间 Thread.s...

2016-07-24 10:38:00 58

转载 python基础语法总结

关于输出 print“字符串” //直接输出字符串末尾没符号 输入 user = raw_input(“提示内容 :可写可不写”) print“your name is ”, user 转载于:https://www.cnblogs.com/qq756648174/p/5694817.html...

2016-07-22 13:17:00 51

转载 线性表

#include <iostream>#include <cstdio>#include <cmath>#include <algorithm>#include <cstring>#include <stdlib.h> using namespace std; #define list_max 100typede...

2016-07-18 20:07:00 53

转载 哈夫曼树

#include <stdio.h>#include <limits.h>#include <string.h>#include <stdlib.h> #define N 6 typedef struct huffNode{ unsigned int weight; //权重 unsigned int lchild, rchild,...

2016-07-18 20:06:00 58

转载 图(基本算法)

#include <iostream>#include <string.h>#include <stdlib.h>#include <queue>#include <limits.h> using namespace std; #define MAXNUM 26 typedef struct { int adjvex; i...

2016-07-18 20:06:00 88

转载 二叉树常见算法

#include <iostream>#include <stdlib.h> using namespace std; typedef struct node { struct node *leftnode; struct node *rightnode; char data;}BiTNode, *BiTree; void creatBiTree(BiTre...

2016-07-18 20:05:00 52

转载 哈夫曼编码

#include <iostream>#include <limits.h>#include <string.h>#include <stdlib.h> using namespace std;#define N 6typedef struct huffNode{ int weight; int lchild, right, parent...

2016-07-18 20:05:00 77

转载 队列常见函数

#include <iostream>#include <malloc.h>#include <queue> using namespace std; int main(void){ queue<int> q; int a[10]; int n; cin >> n; for(int i = 0; i < n; i++)...

2016-07-18 20:04:00 187

转载 并查集路径压缩

//路径压缩并查集 #define N 100int father[N];void init() { for(int i=0; i<N; i++) father[i] = i;}// 合并两个元素所在的集合void union(int x,int y) { x = getfather(x); y = getfather(y); if(x!= y...

2016-07-18 20:04:00 47

转载 数据结构之链表 (随便写的)

#include <iostream>#include <malloc.h>#include <stdlib.h>#include <cstdio> using namespace std;typedef struct Node{ int data;//数据域 struct Node *pnext;//指针域}node, *pnode;/...

2016-07-18 20:02:00 54

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除