Sudoku Time Limit: 2000MS Memory Limit: 65536K Total Submissions: 14100 Accepted: 6961 Special Judge Description Sudoku is a very simple task. A squar ...
分类:
其他好文 时间:
2017-07-03 12:01:21
阅读次数:
166
查询[start,start+limit],包含start,包含start+limit,如start=21,limit=10结果就是21到30,包含21和30SELECT * FROM (SELECT A.*, rownum rn FROM (SELECT * FROM tableName ORDE... ...
分类:
数据库 时间:
2017-07-03 12:01:10
阅读次数:
147
mac 安装lua google了好个看起来都不怎么好操作,这个是在命令行下操作的很简单。 http://www.lua.org/download.html [plain] view plain copy print? curl -R -O http://www.lua.org/ftp/lua-5. ...
分类:
系统相关 时间:
2017-07-03 10:15:59
阅读次数:
179
共享模式acquire实现流程 上文我们讲解了AbstractQueuedSynchronizer独占模式的acquire实现流程,本文趁热打铁继续看一下AbstractQueuedSynchronizer共享模式acquire的实现流程。连续两篇文章的学习,也可以对比独占模式acquire和共享模 ...
分类:
其他好文 时间:
2017-07-02 23:20:42
阅读次数:
207
idea中scala编程环境及建立maven工程 1、下载idea软件并破解:http://blog.csdn.net/nn_jbrs/article/details/70139178 2、安装scala 首先在安装好了idea后,要运行scala程序首先在自己的主机上安装Scala,scala的安 ...
分类:
其他好文 时间:
2017-07-02 22:07:57
阅读次数:
168
You are given several logs that each log contains a unique id and timestamp. Timestamp is a string that has the following format: Year:Month:Day:Hour: ...
分类:
其他好文 时间:
2017-07-02 20:24:15
阅读次数:
183
Centos 6.6 1. modify /etc/modprobe.d/bond.conf alias bond0 bonding 2. config eth0 & eth1 cat /etc/sysconfig/network-scripts/ifcfg-eth0 DEVICE=eth0 TYP... ...
分类:
系统相关 时间:
2017-07-02 19:47:07
阅读次数:
240
http://blog.csdn.net/dong123dddd/article/details/21372179 xampp启动时显示的错误为: 9:52:41 [Apache] Attempting to start Apache app... 9:52:41 [Apache] Status c ...
分类:
Web程序 时间:
2017-07-02 19:09:31
阅读次数:
406
好题。字符串。线性时间。 我认为第一次拿到这个题的人应该不会知道该怎么做吧,要么就是我太弱了。。先搞清楚这个题要求的是什么。从一个长字符串中找一个字串,这个字串中的字符全然包括了另一个给定目标串中的字符,且这个字串的长度要求最小。另一个很重要的简化,题干指明了要求这样的最短字串仅仅有一个,这个限制事 ...