码迷,mamicode.com
首页 >  
搜索关键字:beautiful soup    ( 1340个结果
python 的一句神奇的语句
import this 输出的居然是: The Zen of Python, by Tim Peters Beautiful is better than ugly. Explicit is better than implicit. Simple is better than complex. Complex is better than compli...
分类:编程语言   时间:2014-12-05 14:23:53    阅读次数:145
字符串处理
比较字符串:str1.CompareTo("abc");定位运算符:str1.IndexOf("abc");格式化运算符:?截取字符串:str.Substring(0,5);分裂字符串:str.Split('.','!');插入字符串:str.Insert(10,"beautiful");填充字符串...
分类:其他好文   时间:2014-12-04 13:43:30    阅读次数:146
Python windows 平台下安装BeautifulSoup
Windows平台安装Beautiful Soup? :http://kevinkelly.blog.163.com/blog/static/21390809320133185748442/
分类:编程语言   时间:2014-12-03 17:19:29    阅读次数:236
codeforces 268C
?? Manao has invented a new mathematical term — a beautiful set of points. He calls a set of points on a plane beautiful if it meets the following conditions: The coordinates of each point i...
分类:其他好文   时间:2014-11-24 11:52:56    阅读次数:263
FZU2179/Codeforces 55D beautiful number 数位DP
题目大意:求 1(m)到n直接有多少个数字x满足 x可以整出这个数字的每一位上的数字思路:整除每一位。只需要整除每一位的lcm即可但是数字太大,dp状态怎么表示呢发现 1~9的LCM 是2520 ....也就是说只要对这个数mod2520 剩下的余数能整除lcm就可以整除了。。计数的时候还有一个技巧...
分类:其他好文   时间:2014-11-20 13:21:00    阅读次数:146
HDU 4782 Beautiful Soup(模拟)
HDU 4782 Beautiful Soup(模拟)...
分类:其他好文   时间:2014-11-11 22:52:09    阅读次数:292
让 Sublime Text 2 更漂亮些,Mac皮肤优化
1,文章写的挺好 http://www.oschina.net/translate/making-sublime-text-2-beautiful 可惜,没有写操作。 https://github.com/mrappleton/aqua-theme 相同的项目还有: https://github.com/buymeasoda/soda-theme (最后使用的是这个) 还好...
分类:系统相关   时间:2014-11-07 23:37:45    阅读次数:459
hdu - 4782 - Beautiful Soup(模拟)
题意:输出一堆乱排版的html标签,去多余空字符,转换为按缩进输出。 题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=4782 ——>>2013年成都区赛题目,当时挺多做不出最后一题的队伍做出了此题,而我,无限WA到比赛结束。。今天,我AC了。。 题目中有一句话非常重要:you shouldn’t change anything of any t...
分类:其他好文   时间:2014-11-05 07:03:30    阅读次数:254
hdu - 4782 - Beautiful Soup(模拟)
[cpp] view plaincopy#include#includeconstintMAXN=200;constchar*stop="";charch;boolIsSpace(charch){returnch==32||ch==9||ch==10;}voidPrintSpace(intn){wh...
分类:其他好文   时间:2014-11-05 07:00:05    阅读次数:282
acd - 1216 - Beautiful People(二维LIS)
题意:一个人有两个属性S, B(1 ≤ Si, Bi ≤ 10^9),当两个人的这两个属性满足 S1 S2 && B1 > B2 时,这两个人不会讨厌对方。现给出 N 个人(2 ≤ N ≤ 100 000)的属性,求最多能有多少个人,他们之间任意两人都不会讨厌对方。 题目链接:http://acdream.info/problem?pid=1216 ——>>容易想到是一个二维的LIS模型。。...
分类:其他好文   时间:2014-11-01 06:19:17    阅读次数:219
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!