自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

挽风

记录生活的点点滴滴

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

原创 爬新浪新闻

import requestsfrom bs4 import BeautifulSoupres = requests.get('http://news.sina.com.cn/china/')res.encoding = 'utf-8'soup = BeautifulSoup(res.text,'html.parser')for news in soup.select('.news-it

2016-09-12 21:44:31 364

原创 urllib2下载器网页的三种方法

python网络爬虫第一步:#coding:utf8import urllib2import cookieliburl = 'https://www.baidu.com/'print("第一种方法")response1 = urllib2.urlopen(url)print response1.getcode()print len(response1.read())print(

2016-08-02 16:04:08 959

原创 腾讯内部简历评定标准,有兴趣的同学参考。

腾讯内部简历评定标准,有兴趣的同学参考。

2016-07-28 10:07:22 6733

原创 机器学习进阶书单

自然语言处理有一套严整的理论体系,如果希望系统学习可以参考StanfordNLP Group几位教授的三本教科书,基本都有中文翻译版本。以下按照我心目中的浅易程度排序:ChristopherD. Manning,PrabhakarRaghavan, andHinrichSchütze. 2008.Introduction toInformation Retrieva

2016-07-04 23:04:44 389

原创 A strange lift (HDU1548)

HDU 1548 bfs(一维)题意:电梯每层有一个不同的数字,例如第n层有个数字k,那么这一层只能上k层或下k层,            但是不能低于一层或高于n层,给定起点与终点,要求出最少要按几次键。#include #include #include #include using namespace std;#define N 210struct N

2016-07-04 22:40:26 226

原创 求1到n的全排列(搜索入门)

#include#includeusing namespace std;#define N 1009int use[N];int num[N];void dfs(int n,int t){ t:num[]中准备存放的第t-1个数 if(t==n){ for(int i=0;i<n;i++){ printf("%d ",num[i]); }

2016-07-04 22:23:39 2029

原创 大数求和(A+B) JAVA

import java.util.Scanner;import java.math.BigInteger;public class Main { public static void main(String[] args){ BigInteger a,b; Scanner cin = new Scanner(System.in); while(cin.hasNext()){

2016-07-04 15:22:17 474

原创 java 求和(A+B) 九度OJ1000题

import java.util.Scanner;public class Main { public static void main(String[] args){ int a,b; Scanner cin = new Scanner(System.in); while(cin.hasNext()){ a = cin.nextInt(); b = cin.next

2016-07-03 16:26:03 1633 1

空空如也

空空如也

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

TA关注的人

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