码迷,mamicode.com
首页 >  
搜索关键字:time    ( 52982个结果
javascript中遇到Cannot read property 'split' of undefined问题
function NewDate(dateTime) { var fulldate = dateTime.split('-'); var day = fulldate[2].split(" "); var time = day[1]....
分类:编程语言   时间:2014-07-07 12:43:39    阅读次数:701
Python守护进程(多线程开发)
#!/usr/bin/pythonimport sys,time,json,loggingimport Queue, threading, datetimefrom lib.base.daemon import Daemonfrom lib.queue.httpsqs.HttpsqsClient i...
分类:编程语言   时间:2014-07-07 11:30:23    阅读次数:276
POJ3026 最小生成树
问题: POJ3026分析:采用BFS算出两两之间的距离,再用PRIM算法计算最小生成树。AC代码: 1 //Memory: 220K Time: 32MS 2 #include 3 #include 4 #include 5 #include 6 #include...
分类:其他好文   时间:2014-07-03 23:17:55    阅读次数:362
Leetcode Search in Rotated Sorted Array II
Follow up for "Search in Rotated Sorted Array":What ifduplicatesare allowed?Would this affect the run-time complexity? How and why?Write a function to...
分类:其他好文   时间:2014-07-03 21:59:51    阅读次数:199
TTL
TTL(Time To Live )是IP协议包中的一个值,它告诉网络,数据包在网络中的时间是否太长而应被丢弃。有很多原因使包在一定时间内不能被传递到目的地。解决方法就是在一段时 间后丢弃这个包,然后给发送者一个报文,由发送者决定是否要重发。TTL的初值通常是系统缺省值,是包头中的8位的域。TTL的...
分类:其他好文   时间:2014-07-02 20:08:18    阅读次数:210
分支-04. 出租车计价(15)
#includeusing namespace std;int main(){ double miles; int time,fee; while(cin>>miles>>time){ if(miles<=3) fee=10+(time/5)*2; else if(miles<=10) ...
分类:其他好文   时间:2014-07-02 19:13:40    阅读次数:241
ajax长轮询实现即时聊天室
前段js://处理ajax长轮询 $(function(){ ask_order(); function ask_order(){ var ask_action = "{:U('index/order_commet',array('time'=>10,'desk_id'=>$desk_id)...
分类:其他好文   时间:2014-07-02 17:52:33    阅读次数:195
HDOJ 1261 字串数
JAVA大数.... 字串数 Time Limit: 2000/1000 MS (Java/Others)    Memory Limit: 65536/32768 K (Java/Others) Total Submission(s): 2893    Accepted Submission(s): 679 Problem Description 一个A和两个B...
分类:其他好文   时间:2014-07-02 16:43:57    阅读次数:194
计算几何-hdoj-1147-Pick-up sticks
Pick-up sticks Problem Description Stan has n sticks of various length. He throws them one at a time on the floor in a random way. After finishing throwing, Stan tries to find the top sticks,...
分类:其他好文   时间:2014-07-02 15:29:53    阅读次数:295
PKU 1276 Cash Machine
/* Cash Machine Time Limit: 1000MS Memory Limit: 10000K Total Submissions: 26604 Accepted: 9397 Description A Bank plans to install a machine for cash withdrawal. The machine is able to deliver ...
分类:其他好文   时间:2014-07-02 10:44:41    阅读次数:215
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!