1 from numpy import * 2 import random 3 import time 4 st = time.time() 5 6 def loaddata(filename): 7 fr = open(''.join([filename, '.txt']...
分类:
其他好文 时间:
2015-01-27 07:01:41
阅读次数:
194
前言
实时钟,英文名RTC(Real Time Clock),在PC里面很常见,在OpenWrt里面却鲜有提及,手头上有一个DS1307的TinyRTC实时钟模块,经过一番折腾,将其融合到了OpenWrt系统,遂将操作过程记录成文.
背景知识
DS1307在最新的OpenWrt中已经提供支持,却没有整合进ramips中,因此,本文的一个重点便是如何为ramips系统配置ds1307....
分类:
其他好文 时间:
2015-01-27 00:38:57
阅读次数:
449
Fruit Ninja Extreme
Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)
Total Submission(s): 1177 Accepted Submission(s): 321
Special Judge
Problem Description...
分类:
其他好文 时间:
2015-01-27 00:37:14
阅读次数:
184
防止按钮连续点击共通方法:public class Utils { private static long lastClickTime; public static boolean isFastDoubleClick() { long time = System.curre...
分类:
移动开发 时间:
2015-01-27 00:28:17
阅读次数:
157
题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=2544题目分析:比较简单的最短路算法应用。题目告知起点与终点的位置,以及各路口之间路径到达所需的时间,要求输出起点到终点的最短时间。/*最短路Time Limit: 5000/1000 MS (Java/...
分类:
其他好文 时间:
2015-01-27 00:17:39
阅读次数:
269
今日有针对NULL值有了相关实验. 对NULL 值插入的讨论.1, PL/SQL 中可以执行插入''或者NULL 的操作, 前提是栏位允许为空.2, 可以对NULL进行一系列数据库运算. 如: SELECTROUND(TO_NUMBER(MAX(A.IN_STATION_TIME)-SYSDATE)...
分类:
数据库 时间:
2015-01-27 00:12:24
阅读次数:
239
You Are All Excellent
Crawling in process...
Crawling failed
Time Limit:1000MS
Memory Limit:32768KB 64bit IO Format:%I64d & %I64u
Description
本次集训队共有30多人参加,毫无疑问,你们都是很优秀的,但是由于参赛名额有限...
分类:
编程语言 时间:
2015-01-26 22:59:17
阅读次数:
209
Text Reverse
Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)
Total Submission(s): 18240 Accepted Submission(s): 6900
Problem Description
Ignatius...
分类:
其他好文 时间:
2015-01-26 22:58:27
阅读次数:
256
Taking Bus
Time Limit: 10000/5000 MS (Java/Others) Memory Limit: 32768/32768
K (Java/Others)
...
分类:
其他好文 时间:
2015-01-26 22:58:10
阅读次数:
197
本文是在学习中的总结,欢迎转载但请注明出处:http://blog.csdn.net/pistolove/article/details/43155725
Say you have an array for which the ith element is the price of a given stock on day i.
Design an algorithm to find the maximum profit. You may complete as many tr...
分类:
其他好文 时间:
2015-01-26 22:57:31
阅读次数:
180