198. House Robber You are a professional robber planning to rob houses along a street. Each house has a certain amount of money stashed, the only cons ...
分类:
编程语言 时间:
2018-01-08 22:30:02
阅读次数:
200
Java异常处理 异常是程序中的一些错误,但并不是所有的错误都是异常,并且错误有时候是可以避免的。比如说,你的代码少了一个分号,那么运行出来结果是提示是错误java.lang.Error;如果你用System.out.println(11/0),那么你是因为你用0做了除数,会抛出java.lang. ...
分类:
编程语言 时间:
2018-01-06 16:04:24
阅读次数:
143
# __author__ = 'STEVEN' import redis,time #连接池 polls = redis.ConnectionPool(host='192.168.43.22',port='6379') # 从连接池中选择连接 r = redis.Redis(connection_p... ...
分类:
编程语言 时间:
2018-01-03 19:45:02
阅读次数:
1301
E. Squares and not squares Ann and Borya have n piles with candies and n is even number. There are ai candies in pile with number i. Ann likes numbers ...
分类:
其他好文 时间:
2018-01-01 18:13:28
阅读次数:
152
You're trying to set the record on your favorite video game. The game consists of N levels, which must be completed sequentially in order to beat the ...
分类:
其他好文 时间:
2018-01-01 14:33:43
阅读次数:
226
一般电子商务网站都会遇到如团购、秒杀、特价之类的活动,而这样的活动有一个共同的特点就是访问量激增、上千甚至上万人抢购一个商品。然而,作为活动商品,库存肯定是很有限的,如何控制库存不让出现超买,以防止造成不必要的损失是众多电子商务网站程序员头疼的问题,这同时也是最基本的问题。 ...
分类:
数据库 时间:
2017-12-28 14:00:33
阅读次数:
241
1 2 3 4 5 Document 6 81 82 83 84 85 86 87 88 89 90 ... ...
分类:
其他好文 时间:
2017-12-20 03:57:09
阅读次数:
156
1.首先创建一个表 Sql代码 Sql代码 [sql] view plain copy create table TE ( ID VARCHAR2(2), T_CODE VARCHAR2(4), T_NAME VARCHAR2(4), T_AMOUNT INTEGER, T_DEPT VARCHAR ...
分类:
数据库 时间:
2017-12-16 18:38:44
阅读次数:
281
What can you achieve by implementing reverse key index?A.Reverse the bytes of each column indexed including the row ID.B.Store a bitmap for each key v ...
分类:
其他好文 时间:
2017-12-15 11:39:41
阅读次数:
167
let arr = [ { Category:'A', Amount:1, },{ Category:'B', Amount:2, },{ Category:'A', Amount:3, },{ ... ...
分类:
Web程序 时间:
2017-12-13 14:26:09
阅读次数:
140