自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(12)
  • 收藏
  • 关注

原创 Python简易百度百科爬虫

import urllib.requestimport urllib.parsefrom bs4 import BeautifulSoupimport repattern=re.compile(r'/view/\d+.html?')ulrs_ed=set([])queue=[]MAX=100def spider(url): url_full='http://baike.baidu

2016-04-15 20:50:56 877

原创 简易BBS

config.php<?php header("Content-type: text/html; charset=utf-8"); define('HOST','主机名'); define('USERNAME','用户名'); define('PASSWORD','密码'); define('DBNAME','数据库名');?>connect.php<?ph

2016-02-25 20:48:38 438

原创 搭建简易在线聊天室

chatroom.php<!DOCTYPE HTML><html> <head> <meta charset="utf-8"> <script src="jquery-2.2.0.min.js" type="text/javascript"></script> <link rel="stylesheet" href="style.css" t

2016-02-25 20:40:56 1030

原创 井字棋C源码

main.c//井字棋#include<stdio.h>#include<stdlib.h>#include<stdbool.h>unsigned short chessboard [ 3 ][ 3 ]; //棋盘,1代表空格,2代表玩家,5代表AIunsigned short scores [ 3 ][ 3 ]; //AI评分数组void playerSet (); //玩家下棋

2016-02-25 20:31:36 6572 1

原创 俄罗斯方块C++源码

源.cpp//TETRIS//源.cpp#include<iostream>#include<thread>#include<graphics.h >#include"tetromino.h"using namespace std;bool panel [ 1000 ][ 1000 ]; //面板,true=空,false=占据tetromino *p

2016-02-25 20:29:43 14130

原创 贪吃蛇

源.cpp//贪吃蛇//Author:wzh190015//Date:2015/12/29#include<iostream>#include<Windows.h>#include<conio.h>#include<thread>#include<ctime>#include"snake.h"using namespace std;void drawmap ();void moveo

2015-12-30 18:54:53 1180

原创 数独计算器

源.cpp//数独计算器//源.cpp//Author:wzh190015//Date:2015/12/28#include<iostream>#include<fstream>#include<array>#include<set>#include"cell.h"using namespace std;array<array<cell , 9> , 9> sud;bool chan

2015-12-29 18:21:03 1058

原创 用Huffman树实现文本的压缩

用Huffman树实现文本的压缩

2015-12-20 13:17:30 499

原创 用广度优先遍历求有向带权图的最短路径

用广度优先遍历求有向带权图的最短路径

2015-12-14 21:45:17 6496

原创 八皇后问题的求解代码和全部解

八皇后问题的求解代码和全部解

2015-12-11 21:47:28 495

原创 C++大数类

C++大数类,支持加减乘除取模乘方比较运算,支持与负数和int型混合运算

2015-12-08 14:45:39 662 1

原创 蓝桥杯 ALGO-124 算法训练 数字三角形 的两种算法

蓝桥杯练习系统算法训练数字三角形的两种算法

2015-11-30 22:25:47 3093 2

空空如也

空空如也

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

TA关注的人

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