上一页 1 2 3 4 5 6 ··· 53 下一页
摘要: Best FinancingTime Limit: 20000/10000 MS (Java/Others)Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 148Accepted Submission(s): 35Probl... 阅读全文
posted @ 2014-05-26 21:18 剑不飞 阅读(119) 评论(0) 推荐(0) 编辑
摘要: ChessTime Limit: 6000/3000 MS (Java/Others)Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 271Accepted Submission(s): 87Problem Descript... 阅读全文
posted @ 2014-05-26 19:16 剑不飞 阅读(160) 评论(0) 推荐(0) 编辑
摘要: Disk ScheduleTime Limit: 2000/1000 MS (Java/Others)Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 153Accepted Submission(s): 86Problem ... 阅读全文
posted @ 2014-05-25 20:23 剑不飞 阅读(252) 评论(0) 推荐(0) 编辑
摘要: ZOJ Problem Set - 3780Paint the Grid AgainTime Limit:2 Seconds Memory Limit:65536 KBLeo has a grid withN×Ncells. He wants to paint each cell with a sp... 阅读全文
posted @ 2014-05-08 21:35 剑不飞 阅读(192) 评论(0) 推荐(0) 编辑
摘要: ZOJ Problem Set - 3777Problem ArrangementTime Limit:2 Seconds Memory Limit:65536 KBThe 11th Zhejiang Provincial Collegiate Programming Contest is comi... 阅读全文
posted @ 2014-05-08 16:27 剑不飞 阅读(178) 评论(0) 推荐(0) 编辑
摘要: 1.date date "+%y/%m%d %H/%M/%S %j" +是格式必须的,年月日 时分秒 1.1到现在的天数2.who显示所有进入系统的用户,who am i 自己3.uptime开机到现在的时间4.write name与用户名为name 的通信mesg 显示通信状态mesg n关通信... 阅读全文
posted @ 2014-05-07 11:03 剑不飞 阅读(136) 评论(0) 推荐(0) 编辑
摘要: 9.2 构造方法python 中也属于自己的构造函数和析构函数,class fibs: def __init__(self): self.a = 0 self.b = 1 def next(self): self.a,self.b = self.b,self.a+self.b return ... 阅读全文
posted @ 2014-05-05 13:04 剑不飞 阅读(318) 评论(0) 推荐(0) 编辑
摘要: 功能 :读入文本内容转化为HTMLimport sysdef lines(file): for line in file: yield line yield '\n'def blocks(file): block = [] ... 阅读全文
posted @ 2014-05-03 20:43 剑不飞 阅读(258) 评论(0) 推荐(0) 编辑
摘要: Python 用异常对象来表示异常,遇到错误会引发异常程序回溯。python已经建立了许多的异常类方法,用户自己也建立自己异常类型8.2.1 raise语句如果不是继承的Exception的类或方法,想处理异常就需要借助raise语句>>> raise "The information of err... 阅读全文
posted @ 2014-05-03 11:23 剑不飞 阅读(331) 评论(0) 推荐(0) 编辑
摘要: # -*- coding: cp936 -*-import string,urllib2path = "G:/New Knowledge/practice/python/tmp/"def baidu_tieba(url,begin_page,end_page): for i in range(... 阅读全文
posted @ 2014-05-02 17:50 剑不飞 阅读(174) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 ··· 53 下一页