上一页 1 ··· 105 106 107 108 109 110 111 112 113 ··· 155 下一页
摘要: 近期,公司线上tomcat常常无缘无辜宕机。总结了一下定位问题的方法,仅供參考: 报错信息: Maximum number of threads (200) created for connector with address null and port 9443 # There is insuff 阅读全文
posted @ 2017-05-25 14:55 yfceshi 阅读(6991) 评论(0) 推荐(0) 编辑
摘要: 【网络问卷—2014.06.30 上午11:30左右回答】 网络121班《对象程序设计》课程设计自我评估调查(问卷网址:http://www.sojump.com/jq/3614612.aspx) 利用每一次实践的机会,培养“团队合作”的意识,来完好自己的人生。尽管我们卑微,但我们也可以发挥自己的才 阅读全文
posted @ 2017-05-25 13:14 yfceshi 阅读(166) 评论(0) 推荐(0) 编辑
摘要: 题目:有n个人分成两组,两组人数差不能超过1,找到两组的人重量之差的最小值。 分析:dp,二维01背包。 由于必须放在两个组中的一组,直接背包全部可到状态, 取出相差不超过 1的最接近 sum/2的值就可以。 说明:430ms。。好慢啊。。 (2011-9-30 18:37)。 #include < 阅读全文
posted @ 2017-05-25 11:41 yfceshi 阅读(148) 评论(0) 推荐(0) 编辑
摘要: //主功能接受:使用MCU STM8S105C6 的PWM通道2 PC2 来做呼吸灯 已经验证OK,呵 //呵,这个PWM设置刚開始用还是有点麻烦,由于是自己摸索。花点时间。还是解决了 。 //所用子函数都是调用STM8S的库函数stm8s_tim.c 中的。 宏定义: //分频宏 //计数器的时钟 阅读全文
posted @ 2017-05-25 10:03 yfceshi 阅读(1135) 评论(0) 推荐(0) 编辑
摘要: 关于消息的提示有两种:一种是Toast,一种就是Notification。前者维持的时间比較短暂。后者维持的时间比較长。 并且我们寻常手机的应用比方网易、贴吧等等都有非常多的推送消息,就是用Notification实现的。 Notification是显示在手机状态栏的通知—手机状态栏位于手机屏幕的上 阅读全文
posted @ 2017-05-25 10:01 yfceshi 阅读(319) 评论(0) 推荐(0) 编辑
摘要: 题意:在n*m的方格里有t个棋子,问最多能放多少个炮且每一个炮不能互相攻击(炮吃炮) 炮吃炮:在同一行或同一列且中间有一颗棋子。 #include <stdio.h> #include <iostream> #include <algorithm> #include <string.h> #incl 阅读全文
posted @ 2017-05-25 10:00 yfceshi 阅读(171) 评论(0) 推荐(0) 编辑
摘要: 本文为senlie原创,转载请保留此地址:http://blog.csdn.net/zhengsenlie 经验:Templates 生成多个 classes 和多个函数,所以不论什么 template 代码都不该与某个造成膨胀的 template 參数产生相依关系 因非类型模板參数(non-typ 阅读全文
posted @ 2017-05-25 08:34 yfceshi 阅读(177) 评论(0) 推荐(0) 编辑
摘要: UDEV SCSI Rules Configuration for ASM in Oracle Linux 5 and 6 For Oracle Automatic Storage Manager (ASM) to use disks, it needs to be able to identify 阅读全文
posted @ 2017-05-24 21:05 yfceshi 阅读(213) 评论(0) 推荐(0) 编辑
摘要: Failed t bind to server socket:tcp://localhost:61616 due to : java.net.BindException 通过netstat -aon | findstr "61616" 查找port被谁占用了。但是一直没有找到,google说是 In 阅读全文
posted @ 2017-05-24 20:30 yfceshi 阅读(1342) 评论(1) 推荐(1) 编辑
摘要: Say you have an array for which the ith element is the price of a given stock on day i. If you were only permitted to complete at most one transaction 阅读全文
posted @ 2017-05-24 19:53 yfceshi 阅读(156) 评论(0) 推荐(0) 编辑
上一页 1 ··· 105 106 107 108 109 110 111 112 113 ··· 155 下一页