码迷,mamicode.com
首页 >  
搜索关键字:python time    ( 184154个结果
强大易用的日期和时间库 Joda Time
作为一名开发者,我们不可避免的会使用日期API,如果您使用过JDK的API,或者您会发现JDK的API用的很别扭,尤其是在做日期运算和比较的时候,幸好我们活在开源的世界,也有其他朋友遇到同样的问题,因此joda-time就这样应运而生,jotat-time就是为了简化日期的操作而创建的一个开源项目,...
分类:其他好文   时间:2014-05-12 05:57:17    阅读次数:328
【LeetCode】Best Time to Buy and Sell Stock
Best Time to Buy and Sell StockSay you have an array for which theithelement is the price of a given stock on dayi.If you were only permitted to compl...
分类:其他好文   时间:2014-05-12 05:56:14    阅读次数:315
HDUOJ---1236 排名(浙大考研题)
排名Time Limit: 2000/1000 MS (Java/Others)Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 14513Accepted Submission(s): 5318Problem Descrip...
分类:其他好文   时间:2014-05-12 05:35:42    阅读次数:281
[leetcode]Flatten Binary Tree to Linked List @ Python
原题地址:http://oj.leetcode.com/problems/flatten-binary-tree-to-linked-list/题意:Given a binary tree, flatten it to a linked list in-place.For example,Given...
分类:编程语言   时间:2014-05-12 05:30:32    阅读次数:367
hust 1032 Jim
题目描述Jim is boss of a big company . There are so many workers in his company that it will take a long time for his command send to all of his workers ....
分类:其他好文   时间:2014-05-12 04:51:29    阅读次数:307
Python解析DNS数据包
工作中有时需要对DNS数据包进行解析,抽取出其中的Qurey Name和Answer中的IP地址,今天写了一个简单的脚本分析PCAP包中的DNS,用到了dpkt模块。我只抽取了关键的Query Name和Answer中的IP地址,没有解析授权和额外信息。如果不想写脚本,可以使用tshark工具(wi...
分类:编程语言   时间:2014-05-12 03:21:23    阅读次数:939
[leetcode]Sum Root to Leaf Numbers @ Python
原题地址:http://oj.leetcode.com/problems/sum-root-to-leaf-numbers/题意:Given a binary tree containing digits from0-9only, each root-to-leaf path could repre...
分类:编程语言   时间:2014-05-12 01:28:30    阅读次数:440
hdu4336之状态压缩慨率DP
Card Collector Time Limit: 2000/1000 MS (Java/Others)    Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 2141    Accepted Submission(s): 1008 Special Judge Problem Description ...
分类:其他好文   时间:2014-05-11 02:25:56    阅读次数:391
fasta矩阵组合脚本
又是给女朋友做的……没有需求就没有动力这真的是一个合格的程序员么喂。 因为是在Windows下用,不能用bash也不能写Python,只好写成VBS。 第一次用VBS,这货比起Python真是难用得要命,微软太不争气了。不过也算是学了一门新技能吧。 其实这脚本一点也不健壮,文件数量过多时会堆栈溢出,文件名太长会报错,文件太大倒是没测过,想必也有问题。 她已经用完了,咱也没动力改了。...
分类:其他好文   时间:2014-05-11 02:02:27    阅读次数:372
hdu4035之经典慨率DP
Maze Time Limit: 2000/1000 MS (Java/Others)    Memory Limit: 65768/65768 K (Java/Others) Total Submission(s): 1419    Accepted Submission(s): 511 Special Judge Problem Description When wake...
分类:其他好文   时间:2014-05-11 01:46:38    阅读次数:421
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!