How Many TablesTime Limit: 2000/1000 MS (Java/Others)Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 13040Accepted Submission(s): 6368Pr...
分类:
其他好文 时间:
2014-07-24 17:14:05
阅读次数:
220
在安装PyDev的时候发现装不上,不能连网的原因,所以只能用代理上,系统设置代理之后,发现Eclipse还是连不上,找了半天终于找到Eclipse自己也可以设置代理上网,设置方法如下:window-->preferences-->general-->network connections 选中man...
分类:
系统相关 时间:
2014-07-24 14:41:45
阅读次数:
773
my code:#include #include #includeusing namespace std;int find(int num,int A []){while(num!=A[num])//{ num = A[num];return num;}//bool follow(int a...
分类:
其他好文 时间:
2014-07-24 12:16:25
阅读次数:
175
Given n, how many structurally unique BST's (binary search trees) that store values 1...n?
For example,
Given n = 3, there are a total of 5 unique BST's.
1 3 3 2 1
\...
分类:
编程语言 时间:
2014-07-24 11:35:42
阅读次数:
245
一. redis
Redis is an in-memory database that persists on disk. The data model is key-value, but many different kind of values are supported: Strings, Lists, Sets, Sorted Sets, Hashes
http...
分类:
其他好文 时间:
2014-07-24 10:32:58
阅读次数:
223
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 transactions as you like (ie, buy on...
分类:
编程语言 时间:
2014-07-24 10:25:36
阅读次数:
227
刚到这个公司,开始进行cocos2d-x的真正项目开发,为了以后能够更好扩展,改动不大,决定使用3.X版本开发,而且使用ui编辑器。在导入的时候,今天遇到一个问题,Buffer is too small,搜了不少,但是都没有解决的方案,最后查到一个错误诱因,是因为ui中使用了label所致,于是我试...
分类:
Web程序 时间:
2014-07-23 16:13:21
阅读次数:
264
SquareInput:Standard InputOutput:Standard OutputGivennintegers you can generate2n-1non-empty subsets from them. Determine for how many of these subset...
分类:
其他好文 时间:
2014-07-23 15:17:56
阅读次数:
292
在项目中用到了一对多的实体类关系映射,之前接触的都是基于配置文件的映射实现,但是公司的大部分都是基于注解的,因此自己参考之前的代码捣鼓了基于注解的一对多的映射关系实现。
背景:
一的一端:QingAoCenterInfo:青奥场所信息,
多的一端:QingAoPlaceInfo:青奥场馆信息,
其中一个青奥场所下可以包含多个青奥场馆
one端:QingAoCenterIn...
分类:
系统相关 时间:
2014-07-23 13:10:46
阅读次数:
246
Thinkpad E431无线网卡无法开启
现象再现:
Thinkpad E431新机,原装win8系统,使用win7光盘换为win7系统,官方下载驱动程序,安装后无线上网正常。
点击功能软件Access Connections,将“无线通信”关闭,如下图位置:
点选关闭后,无线网卡便不能启动了。
尝试通过F8键或Fn+F8热键开启无线,均无反应。
重新安装驱动,重启,...
分类:
其他好文 时间:
2014-07-23 13:03:36
阅读次数:
211