自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(14)
  • 资源 (5)
  • 收藏
  • 关注

原创 sublime text 3安装golang环境

1、安装sublime text 3 ,目前gosublime不再支持sublime text2 2、安装之后打开sublime,安装package control,打开控制台control+`,在控制台输入: import urllib.request,os,hashlib; h=’7183a2d3e96f11eeadd761d777e62404’+’e330c659d4bb41d3bdf02

2016-09-03 10:00:52 817

原创 Android 安装 Linux(ubuntu)记录笔记

材料准备:需要软件:busybox,手机vnc客户端, 终端模拟器Android设备:获得root权限linux版本:可以到http://sourceforge.net/projects/linuxonandroid/files/?source=navbar 选择需要文件:ubuntu.sh : ubuntu安装脚本 bootscript.sh:每次启动ubuntu脚本

2015-12-22 20:36:20 648

原创 Ubuntu 15 安装 indicator-sysmonitor显示内存网速

Ubuntu 15 安装 indicator-sysmonitor显示内存网速

2015-11-14 14:22:31 739

原创 1045 access denied for user 'root'@'localhost'

navicat 提示“1045 access denied for user ‘root’@’localhost’ ”解决

2015-11-13 22:31:37 937

转载 Kali2.0安装小度wifi驱动

非常感谢github的mr.wrfly,找了网络上绝大部分驱动,只有这个好用,而且还收到了耐心指导,这里只是做个备注,直接引自大神的操作 如下:kali安装编译工具 sudo apt-get install linux-headers-$(uname -r) #!/bin/bash# By-WrFlycp /etc/apt/sources.list /etc/apt/sources.list.b

2015-10-31 10:15:00 1645

原创 二叉搜索树

///二叉搜索树,左孩子<=root<=右孩子,使用中序遍历产生升序序列#include<stdio.h>#include<stdlib.h>typedef struct Node{ int key; Node* left; Node* right; Node* parent;}Node,*Pnode;void InsertTree(Pnode &Root

2015-09-01 10:42:15 415

原创 二叉树相关

#include<stdio.h>#include<stdlib.h>#include<string.h>#include<stack>#include<queue>using namespace std;bool IsRight=true;typedef struct node{ char data; node *left; node *right;}Tr

2015-08-21 16:41:38 362

转载 C++Huffman树的构造实现及编码译码过程

#include<stdio.h>#include<stdlib.h>#include<string.h>typedef struct { int *code; char str;}Num;typedef struct { int weight,parent,left,right; bool Selected; ///是否已经选过该节点,两个节点构

2015-08-18 21:53:25 1529

转载 冒泡和快排

#include<stdio.h>#include<stdlib.h>// bool Swap(int *arr,int x,int y)// {// if(x==y)// return false;// else// {// arr[x]=arr[x]^arr[y];// arr[y]=arr[x]^arr[y];// arr[x]

2015-07-29 21:13:15 451

转载 动态规划-钢条切割

///给定各长度钢铁单位价格,以及一个长度为n的钢条,求最大效益//////////1-10价格分别为p[]={1,5,8,9,10,17,17,20,24,30}#include<stdio.h>#include<math.h>int Memorized_Cut_Rod_Aux(int *p,int len,int *r);/////朴素递归算法///////////算法复杂度为2^n级

2015-07-27 11:40:00 417

转载 位图法寻找数组中重复出现的数字

//////位图法实现查找数组中重复数字/////#include<stdio.h>#include<stdlib.h>#include<memory.h>#define SHIFT 5 //////一个int型的变量最多可以存储0-31个数字2^5#define MAXLINE 32#define MASK 0x1F////////31////设置整型数存储的位置bitmap为

2015-07-27 11:39:39 857

转载 二分查找

#include<stdio.h>int BinaryFind(int *a,int n,int data) //非递归实现{ if(a==NULL||n<=0) return -1; int begin=0; int end=n-1; while(begin<=end) { int mid=begin+(end-begin)/2; if(a[

2015-07-27 11:35:48 330

转载 二分查找数组交集初级版

#include<stdlib.h>#include<stdio.h>int BinarySearchInter(int *a ,int lena,int *b,int lenb,int *Inter){ if(lena<1||lenb<1) return 0; int k=0; for(int i=0;i<lena;i++) { int begin=0; int end=

2015-07-27 11:35:48 377

转载 动态规划-钢条切割《算法导论》

`///给定各长度钢铁单位价格,以及一个长度为n的钢条,求最大效益////// ////1-10价格分别为p[]={1,5,8,9,10,17,17,20,24,30}#include<stdio.h>#include<math.h>int Memorized_Cut_Rod_Aux(int *p,int len,int *r);/////朴素递归算法///////////算法复杂度为2^n

2015-07-27 11:31:11 645

vim7.4安装文件

包括vim-7.4.tar,vim-7.2-extra.tar,vim-7.2-lang.tar

2015-07-06

韩顺平PHP(全149讲)课堂笔记

该文件是韩顺平PHP视频教程的随堂笔记,详细易懂适用于PHP入门者使用

2014-10-16

MAC.exe执行文件

实现简单的MAC地址十六进制和十进制相互转换的功能,程序健壮性还不够,希望各位指导

2014-03-16

计算机原理实验

该文档用于计算机原理实验的预习报告使用,包含各个实验的预习重点

2012-11-07

空空如也

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

TA关注的人

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