Eclipse 中修改tomcat设置内存大小 修改1: 在Eclipse中下面Servers双击Tomcat Server... 然后点击General InformAtion 下的Open launch configuration; 会弹出Edit Configuration,然后在选中Arguments选项卡;...
分类:
系统相关 时间:
2014-07-23 13:58:06
阅读次数:
263
在项目中用到了一对多的实体类关系映射,之前接触的都是基于配置文件的映射实现,但是公司的大部分都是基于注解的,因此自己参考之前的代码捣鼓了基于注解的一对多的映射关系实现。
背景:
一的一端:QingAoCenterInfo:青奥场所信息,
多的一端:QingAoPlaceInfo:青奥场馆信息,
其中一个青奥场所下可以包含多个青奥场馆
one端:QingAoCenterIn...
分类:
系统相关 时间:
2014-07-23 13:10:46
阅读次数:
246
什么也不用说,并查集裸题,直接盲敲即可。 1 #include 2 #include 3 #include 4 #include 5 #include 6 #include 7 #include 8 #include 9 using namespace std;10 11 int f...
分类:
其他好文 时间:
2014-07-22 22:47:33
阅读次数:
207
//得到随机数function fRandomBy(under, over){ switch(arguments.length){ case 1: return parseInt(Math.random()*under+1); case 2: return parseInt(Math.random(...
分类:
Web程序 时间:
2014-07-22 22:46:12
阅读次数:
211
题目链接题意 : 给你每个柿子树的位置,给你已知长宽的矩形,让这个矩形包含最多的柿子树。输出数目思路 :数据不是很大,暴力一下就行,也可以用二维树状数组来做。 1 //2029 2 #include 3 #include 4 #include 5 6 using namespace std ...
分类:
其他好文 时间:
2014-07-22 22:41:34
阅读次数:
298
Now I believe thoughts leading to DP is brutal DFS.. DFS is brutal force enumeration, but that's too much and naive. We need pruning. So, DFS + Prunin...
分类:
其他好文 时间:
2014-07-22 22:40:34
阅读次数:
183
E. Invitation CardsTime Limit: 8000msMemory Limit: 262144KB64-bit integer IO format:%lld Java class name:MainIn the age of television, not many people...
分类:
其他好文 时间:
2014-07-22 22:37:14
阅读次数:
278
Invitation CardsDescriptionIn the age of television, not many people attend theater performances. Antique Comedians of Malidinesia are aware of this f...
分类:
其他好文 时间:
2014-07-22 22:35:15
阅读次数:
238
我已经两次因为不恰当的省略go中的函数返回值,一次造成MySql的too many connection错误,一次造成严重的内存泄漏。所以在这里大家分享一下这个问题和解决办法,也提醒自己以后不要再犯类似的错了。 众所周知,g...
分类:
其他好文 时间:
2014-07-22 22:33:12
阅读次数:
227
C - Ubiquitous ReligionsTime Limit:5000 MSMemory Limit:65536 KB64-bit integer IO format:%I64d , %I64uJava class name:MainDescriptionThere are so many ...
分类:
其他好文 时间:
2014-07-22 00:03:34
阅读次数:
211