摘要: java 一共含有四种线程池: newCachedThreadPool, newFixedThreadPool, newSingleThreadExecutor, newScheduledThreadPool。 newCachedThreadPool:顾名思义是一种可缓存的线程池, 线程池除了维护初 阅读全文
posted @ 2018-01-20 11:56 FireCool 阅读(1522) 评论(0) 推荐(1) 编辑
摘要: <select ng-model="inventory.vegetableId+''" ng-options="vegetable.id as vegetable.name for vegetable in vegetables"> <option value=""> 蔬菜 </option></s 阅读全文
posted @ 2017-12-27 16:41 FireCool 阅读(563) 评论(0) 推荐(0) 编辑
摘要: 今早配置项目环境,启动tomcat后,访问主页面 后台出现 java.lang.OutOfMemoryError: Java heap space 。 依照正常的思维,调大jvm堆的大小,修改tomcat/bin/catalina.sh 加上 set java_opts=-Xms512m -Xmx4 阅读全文
posted @ 2017-12-26 09:57 FireCool 阅读(378) 评论(0) 推荐(0) 编辑
摘要: Description Our Black Box represents a primitive database. It can save an integer array and has a special i variable. At the initial moment Black Box 阅读全文
posted @ 2016-11-19 16:58 FireCool 阅读(469) 评论(0) 推荐(0) 编辑
摘要: C. Ancient Berland Circustime limit per test2 secondsmemory limit per test64 megabytesinputstandard inputoutputstandard outputNowadays all circuses in 阅读全文
posted @ 2016-06-10 21:54 FireCool 阅读(177) 评论(0) 推荐(0) 编辑
摘要: 1013 - Love Calculator PDF (English) Statistics ForumTime Limit: 2 second(s) Memory Limit: 32 MBYes, you are developing a 'Love calculator'. The softw 阅读全文
posted @ 2016-06-09 13:09 FireCool 阅读(348) 评论(0) 推荐(0) 编辑
摘要: 1147 - Tug of War PDF (English) Statistics ForumTime Limit: 4 second(s) Memory Limit: 32 MBA tug of war is to be arranged at the local office picnic. 阅读全文
posted @ 2016-06-08 23:44 FireCool 阅读(643) 评论(0) 推荐(0) 编辑
摘要: 1193 - Dice (II) PDF (English) Statistics ForumTime Limit: 3 second(s) Memory Limit: 32 MBYou have N dices; each of them has K faces numbered from 1 t 阅读全文
posted @ 2016-06-08 01:46 FireCool 阅读(403) 评论(0) 推荐(0) 编辑
摘要: 1110 - An Easy LCS PDF (English) Statistics ForumTime Limit: 2 second(s) Memory Limit: 32 MBLCS means 'Longest Common Subsequence' that means two non- 阅读全文
posted @ 2016-06-08 01:03 FireCool 阅读(468) 评论(0) 推荐(0) 编辑
摘要: 1145 - Dice (I) PDF (English) Statistics ForumTime Limit: 2 second(s) Memory Limit: 32 MBYou have N dices; each of them has K faces numbered from 1 to 阅读全文
posted @ 2016-06-07 13:59 FireCool 阅读(398) 评论(0) 推荐(0) 编辑