【题目】
Given n non-negative integers a1, a2, ..., an, where each represents a point at coordinate (i, ai). n vertical lines are drawn such that the two endpoints of line i is at (i, ai) and (i, 0). Fin...
分类:
其他好文 时间:
2015-05-06 23:10:19
阅读次数:
391
题意:给定4321 5678,结果再反转(1234+8756)一开始以为是poj1503一样,就稀里糊涂的敲代码,实际上有不同如题:先求1234 +8765----------------------这样就相似poj150343215678不过在str串与fin相加时,就按给定的顺序加就行fo...
分类:
其他好文 时间:
2015-05-06 09:15:43
阅读次数:
176
原文连接:www.itokit.com/2012/0516/73950.html# netstat -an|awk '/tcp/ {print $6}'|sort|uniq -c 16 CLOSING 130 ESTABLISHED 298 FIN_WAIT1 13 FIN_WAIT2 9 LAST...
分类:
Web程序 时间:
2015-05-04 23:53:54
阅读次数:
1090
继承的弊端:打破了封装性解决方式:finalfinal关键字的特点: 1、final是一个修饰符,即可以修饰类,也可以修饰方法,还可以修饰变量 2、final修饰的类不可以被继承 3、final修饰的方法不可以被覆盖 4、fin...
分类:
其他好文 时间:
2015-05-03 21:53:25
阅读次数:
97
1.如何从状态图得到真正的代码:(1)找出所有状态:没有25分钱,有25分钱,糖果售罄,售出糖果。(2)创建一个实例变量来持有目前状态,并且定义每个状态的值:1 final static int SOLD_OUT = 0;2 final static int NO_QUARTER = 1;3 fin...
分类:
其他好文 时间:
2015-05-02 06:17:24
阅读次数:
208
解决TCP连接数过多的问题 TCP状态迁移,CLOSE_WAIT & FIN_WAIT2 的问题 TCP状态迁移 大家对netstat -a命令很熟悉,但是,你有没有注意到STATE一栏呢,基本上显示着established,time_wait,close_wait等,这些到底是...
分类:
其他好文 时间:
2015-05-01 21:21:13
阅读次数:
187
1. copy libQt5DBus.so.52. add QT_PLUGIN_PATHblog.csdn.net/windows_nt/article/details/24205671his application failed to start because it could not fin....
分类:
移动开发 时间:
2015-04-30 18:05:25
阅读次数:
325
public class Test{ public static void main(String[] args) { String s = "中转地设置导出模板"; String tt = gbEncoding(s); } public static String gbEncoding(fin.....
分类:
编程语言 时间:
2015-04-30 15:42:51
阅读次数:
137
CREATE VIEW v_total_asset (cid,fin,wallet)AS SELECT c.cid,nvl(( SELECT SUM(f.total_num*nvl( CASE ...
分类:
其他好文 时间:
2015-04-30 10:33:21
阅读次数:
244
Icerainlikes strings very much. Especially the strings only consist of0and1,she call them easy strings. One day, she is so boring that she want to fin...
分类:
其他好文 时间:
2015-04-30 00:58:18
阅读次数:
127