print all unique solution to split number n, given choice of 1 3 5 10for example if n is 4{1, 1, 1, 1}{1, 3}思路:用DFS肯定可以求解,但需要遍历所有可能,进行剪纸之后用递推实现。主要剪枝思想...
分类:
其他好文 时间:
2014-09-10 19:27:20
阅读次数:
144
1.首先安装JDK,必须是sun公司的jdk,最好1.6版本以上。最后java–version查看成功与否。注意配置/etc/profile文件,在其后面加上下面几句:exportJAVA_HOME=/usr/local/jdk1.6.0_17exportPATH=$JAVA_HOME/bin:$J...
分类:
其他好文 时间:
2014-09-10 19:24:20
阅读次数:
299
google test version: 1.6c++ builder version: xe61 download google test 1.62 unzip the zip file. The project file for c++ build is in codegear folder3 ...
分类:
编程语言 时间:
2014-09-10 19:08:20
阅读次数:
197
[java] view plaincopyprint? <?xml?version="1.0"?encoding="utf-8"?>
<LinearLayout?xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical"
android:layout_width=?...
分类:
移动开发 时间:
2014-09-10 18:01:31
阅读次数:
249
codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0"
height="165" width="319">
value="FlvPlayer.swf?vcastr_file=播放的文件地址&IsAutoPlay=自动播放1否则0&Is...
分类:
Web程序 时间:
2014-09-10 17:49:50
阅读次数:
446
JDev version: 11.1.2.0.0
ADF页面的打印样式、邮件样式通常比普通样式简单,打印时有许多不需要显示的内容(按钮、滚动条),邮件样式尽可能简单以便在邮件中正常操作。
可以使用ADF提供的变量adfFacesContext.outputMode来控制组件是否显示显示:
rendered="#{...
分类:
其他好文 时间:
2014-09-10 15:50:50
阅读次数:
328
验证码类的代码:ValidationCodewidth=$width; $this->height=$height; $this->codeNum=$codeNum; $this->checkCode=$this->createCheckCode(); $number=floor($...
分类:
Web程序 时间:
2014-09-10 15:47:40
阅读次数:
235
NaN&INF定义
在一些情况会出现无效的浮点数,例如除0,例如负数求平方根等,像这类情况,获取到的浮点数的值是无效的。
NaN 即 Not a Number 非数字
INF 即 Infinite 无穷大...
分类:
其他好文 时间:
2014-09-10 14:17:40
阅读次数:
908
Usage: vmstat [options] [delay [count]]Options: -a, --active active/inactive memory -f, --forks number of forks since boot -m, --...
分类:
其他好文 时间:
2014-09-10 14:02:10
阅读次数:
206
1functionconvertCurrency(currencyDigits){2//Constants:3varMAXIMUM_NUMBER=99999999999.99;4//Predefinetheradixcharactersandcurrencysymbolsforoutput:5/*6...
分类:
Web程序 时间:
2014-09-10 13:54:10
阅读次数:
265