码迷,mamicode.com
首页 >  
搜索关键字:python os os.path sys    ( 285836个结果
SSD上安装win7
本来弄个SSD是个开心事,结果比较头疼的是只要选了AHCI模式就装不上系统,废话少说,直接上解决方案: 1.先选者IDE模式装Win7。 2.正常进入系统后,在运行里输入regedit,然后敲回车,进入注册表。 3.找到并单击下面的注册表子项:    HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\Msahci 4.将右窗格中的s...
分类:Windows程序   时间:2014-04-27 21:47:05    阅读次数:603
Timus 1404. Easy to Hack! 有一个密码问题
When Vito Maretti writes an important letter he encrypts it. His method is not very reliable but it’s enough to make any detective understand nothing in that letter. Sheriff doesn’t like such state ...
分类:其他好文   时间:2014-04-27 21:45:00    阅读次数:459
G++和C++ && POJ 1113 Wall
G++和C++的思考 POJ1113....
分类:编程语言   时间:2014-04-27 21:44:59    阅读次数:346
购物数据意淫分析(2)
在淘宝的打数据比赛中,我有一次提高了自己的思维方式...
分类:其他好文   时间:2014-04-27 21:38:05    阅读次数:269
Timus 1120. Sum of Sequential Numbers 数学题
There is no involute formulation concerning factitiously activity of SKB Kontur in this problem. Moreover, there is no formulation at all. Input There is the only number N, 1 ≤ N ≤ 109. O...
分类:其他好文   时间:2014-04-27 21:38:05    阅读次数:544
python获得bing壁纸,并下载到本地
微软bing搜索每天都会换一张壁纸,而且分辨率都高,很适合当做壁纸,写了一个python去获取张壁纸,代码很简单 import urllib import re import time def getHtml(url): return urllib.urlopen(url).read() def getImgUrl(html): reg=re.compile(r'(http:/...
分类:编程语言   时间:2014-04-27 21:31:06    阅读次数:558
POJ 1269 Intersecting Lines
直线相交问题...
分类:其他好文   时间:2014-04-27 21:23:59    阅读次数:250
hdu-3436-Queue-jumpers-伸展树
5KB的代码。。。250+行。。。就错在一个离散化上,郁闷了好久。。。 RANK就是找出第K位是多少 TOP是将某个人移至队首,对中间区间没有影响 QUERY是某个人的位置 则: TOP:将目标点旋转至根部,然后删除,最后插入到队首 RANK:通过size查找即可,注意每个点的size是区间长度 QUERY:把该点旋转至根部,左子树的大小+1便是结果 ...
分类:其他好文   时间:2014-04-27 21:23:00    阅读次数:330
CSU 1411: Longest Consecutive Ones
关键是通过预处理吧每个区间内的一移动到一起的最少步骤算出来.... 1411: Longest Consecutive Ones Time Limit: 1 Sec  Memory Limit: 128 MB Submit: 185  Solved: 40 [Submit][Status][Web Board] Description Given a...
分类:其他好文   时间:2014-04-27 21:21:05    阅读次数:305
HDU 1115 Lifting the Stone
几何:多边形重心...
分类:其他好文   时间:2014-04-27 21:16:00    阅读次数:223
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!