自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

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

原创 selenium安装和chromedriver配置

1.selenium 的安装我是用的pip install2.在第一次使用时,from selenium import webdriverbrowser = webdriver.Chrome()browser.get('http://www.baidu.com')报错了: selenium.common.exceptions.WebDriverException: 'ch

2017-05-06 15:57:18 602

原创 Mac 装Mongodb步骤

我用的homebrew来装的- -1. 打开终端 brew updatebrew install mongodb安装完成后 输入 mongodb --version 查看是否安装成功,如果显示了版本号等信息就是安装好了2.创建存放data的文件夹 mkdir  -p /data/db3. 配置环境变量 touch .base_profile   

2017-03-22 20:39:16 334

原创 Mac 安装scrapy报错及解决方案

sudo pip install scrapyThe directory '/Users/hermione/Library/Caches/pip/http' or its parent directory is not owned by the current user and the cache has been disabled. Please check the permissions

2017-03-12 00:51:31 3071

原创 Leetcode 70. Climbing Stairs

爬楼梯问题。给定 n steps can reach the top。其实就是说n阶楼梯Each time you can either climb 1 or 2 steps. In how many distinct ways can you climb to the top?1.递归法最开始知道的是递归方法 因为最简单。然而时间复杂度超出限制。。。 JAVA实现。

2016-10-12 17:44:16 450

原创 蓝桥杯基础练习题 BASIC-9 特殊回文数

#includeint main(){int n;scanf("%d",&n);char i,j,k;if(1{ for(i='1';i{for(j='0';j{for(k='0';k{if((2*(i-'0')+2*(j-'0')+(k-'0'))==n){printf("%c%c%c%c%c\n",i,j,k,j,

2015-03-21 20:56:51 486

空空如也

空空如也

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

TA关注的人

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