*===============================================================*
Copyright (C) 2013 All rights reserved.* * 文件名称:StringProcess.cpp* 创 建 者:* ...
分类:
编程语言 时间:
2014-05-26 23:50:13
阅读次数:
690
原题地址:https://oj.leetcode.com/problems/populating-next-right-pointers-in-each-node/题意:
1 / \ 2 3 / \ / \ 4 5 6 7变为: ...
分类:
编程语言 时间:
2014-05-26 23:43:29
阅读次数:
332
1、系统环境变量Fedora: yum install libacl-devel
libblkid-devel gnutls-devel \ readline-devel python-devel gdb pkgconfig
libattr-devel \ krb5-workstationD...
分类:
其他好文 时间:
2014-05-26 23:19:30
阅读次数:
394
在开始后面的内容之前,先来解释一下urllib2中的两个个方法:info and
geturlurlopen返回的应答对象response(或者HTTPError实例)有两个很有用的方法info()和geturl()1.geturl():这个返回获取的真实的URL,这个很有用,因为urlopen(或...
分类:
编程语言 时间:
2014-05-26 23:17:30
阅读次数:
352
先来说一说HTTP的异常处理问题。当urlopen不能够处理一个response时,产生urlError。不过通常的Python
APIs异常如ValueError,TypeError等也会同时产生。HTTPError是urlError的子类,通常在特定HTTP
URLs中产生。1.URLError...
分类:
编程语言 时间:
2014-05-26 23:17:09
阅读次数:
341
原题地址:https://oj.leetcode.com/problems/copy-list-with-random-pointer/题意:A
linked list is given such that each node contains an additional random pointe...
分类:
编程语言 时间:
2014-05-26 23:16:12
阅读次数:
368
select * from all_tab_comments-- 查询所有用户的表,视图等select
* from user_tab_comments -- 查询本用户的表,视图等select * from
all_col_comments--查询所有用户的表的列名和注释.select * fro...
分类:
数据库 时间:
2014-05-26 22:57:50
阅读次数:
363
字典Python的高效的key/value哈希表结构叫做"dict",
dict的内容可以写成一系列的key:value对并放入{ }中, 相当于: dict = {key1:value1, key2:value2, ...},
一个空的字典就是俩个大括号{ }. 下面是从一个空字典创建字典以及一些...
分类:
编程语言 时间:
2014-05-26 22:46:30
阅读次数:
342
DescriptionAccounting for Computer Machinists (ACM)
has sufferred from the Y2K bug and lost some vital data for preparing annual
report for MS Inc.All...
分类:
其他好文 时间:
2014-05-26 22:06:57
阅读次数:
213
linux centos 下代理http、https、ftp全局使用代理:export
http_proxy=http://host:port/export https_proxy=http://host:port/export
ftp_proxy=http://host:port/使用wget按需...
分类:
系统相关 时间:
2014-05-24 07:53:34
阅读次数:
420