与Edit Distance问题类似, 纯dp状态转移方程如下在poj上找了一道题目 poj1458, 水过代码如下 1 #include 2 #include 3 #include 4 #include 5 #include 6 #include 7 #include 8 #...
分类:
其他好文 时间:
2014-08-22 12:52:28
阅读次数:
204
常量有两种配置方式:
1)在struts.xml中配置:(建议使用此种配置方式)
2)在struts.properties中配置常量:
truts.action.extension = action
因为常量可以在下面多配置文件中进行定义,所以我们需要了解struts2加载常量的搜索顺序:
struts-default.xml
struts-plugin.xml
st...
分类:
其他好文 时间:
2014-08-22 09:23:35
阅读次数:
269
VMware网络配置详解一:三种网络模式简介安装好虚拟机以后,在网络连接里面可以看到多了两块网卡:其 中VMnet1是虚拟机Host-only模式的网络接口,VMnet8是NAT模式的网络接口,这些后面会详细介绍选择虚拟机网络模 式方法如下,单击Edit virtual machine settin...
分类:
其他好文 时间:
2014-08-22 00:16:55
阅读次数:
247
leetcode的题目Given two wordsword1andword2, find the minimum number of steps required to convertword1toword2. (each operation is counted as 1 step.)You h...
分类:
其他好文 时间:
2014-08-21 22:29:54
阅读次数:
279
Q.怎么配置Hibernate?A.Configuration类使用配置hibernate.cfg.xml(或者hibernate.properties)以及映射文件*.hbm.xml来创建(例如,配置和引导hibernate)SessionFactory,然后SessionFactory创建Ses...
分类:
系统相关 时间:
2014-08-21 19:02:44
阅读次数:
254
1,在crystal report 报表的右边field explorer导航栏里面新建一个formula field 并命名2,右键edit刚建好的formula field ,写一个控制checkbox 显示的表达式如下:if {Command.CLAIMANT_SIGNATURE_FLAG} ...
分类:
其他好文 时间:
2014-08-21 18:56:54
阅读次数:
230
android混淆打包时注意事项:
1、project.properties用于配置Android工程的一些属性,#号的话表示当前行是注释,这里的proguard.config就用于指定ProGuard的混淆配置文件
2、在project.properties文件中添加proguard.config=proguard.cfg.
3、混淆是为了防止代码被反编译,一般引用第三方的jar包...
分类:
移动开发 时间:
2014-08-21 15:03:04
阅读次数:
167
新建android 项目
右击→properties→C/C++ Build 。去掉默认的build command
设置成${NDKROOT}/ndk-build.cmd
分类:
移动开发 时间:
2014-08-21 11:11:43
阅读次数:
240
1、把VMwarePlayer生成的网络适配器VMware Network Adapter VMnet1 设置成自动获取IP地址。2、在VMwarePlayer中选择对应的虚拟机,点击edit virtual machine settings选项,在三种网络连接方式中选择Bridged(桥接方式)。...
分类:
其他好文 时间:
2014-08-21 10:59:13
阅读次数:
182
Unity3D中自带了9中天空盒,在Assets - Import Package - Skyboxes 即可导入天空盒资源。为Scene添加Skybox:在Edit菜单项里的Render Settings的面板中有一个 Skybox Material属性,可为其指定天空盒材质,直接将刚才导入的天空...
分类:
其他好文 时间:
2014-08-21 09:45:23
阅读次数:
279