1、错误描述
六月 03, 2014 11:00:35 下午 freemarker.log.JDK14LoggerFactory$JDK14Logger error
严重: Template processing error: "Expression nums is undefined on line 10, column 25 in list.ftl."
Expression nums is...
分类:
其他好文 时间:
2014-06-20 12:59:50
阅读次数:
229
1、错误描述
六月 04, 2014 10:31:47 下午 freemarker.log.JDK14LoggerFactory$JDK14Logger error
严重: Template processing error: "Expected number, sequence, or string. maps evaluated instead to freemarker.core.Hash...
分类:
其他好文 时间:
2014-06-20 11:26:40
阅读次数:
303
问题:错误提示如下:Received exception processing
F:/apjp/apjp_remote_appengine/war\web-inf/appengine-web.xmlcom.google.apphosting.utils.config.appengineconfige...
分类:
移动开发 时间:
2014-06-20 08:56:07
阅读次数:
335
又是一条数论题目,最近学习数论,看完书本感觉并不能掌握数论的,还是需要多多练习,多运用才能掌握这个思想武器的。
本题可以简单点过,不需要太高级的数论内容;
但是也可以运用好数论的内容,可以应用上三个数论的内容:
1 扩展欧几里得
2 快速求模
3 乘法逆元(inverse of modulo)
2 快速求模,也可以生成一个数组,因为这里最大是40000,故此数值不大,可以使用数组,然后查表,速度很快。
但是这里使用快速的时间效率也几乎接近常数,没必要保存一个数组。如下面的powMod函数。
3 乘法...
分类:
其他好文 时间:
2014-06-11 00:55:53
阅读次数:
351
解决办法 :
把 deploy.bat 文件中的 下面一句话中的蓝色部分 换为红色部分
http://localhost:8081/GetMsgService/servlet/AxisServlet deploy.wsdd
set Axis_Lib=D:\axis-1_4\lib
set Java_Cmd=java -Djava.ext.dirs=%Axis_Lib%
set Axis_Servlet=http://localhost:8080/axistest/services/AxisServle...
分类:
Web程序 时间:
2014-06-10 15:42:16
阅读次数:
265
1、错误描述
六月 09, 2014 11:11:09 下午 freemarker.log.JDK14LoggerFactory$JDK14Logger error
严重: Template processing error: "Expression a is undefined on line 27, column 23 in tag.ftl."
Expression a is undefi...
分类:
其他好文 时间:
2014-06-10 07:33:34
阅读次数:
293
Graph coloring is the problem of assigning a color to each vertex of an undirected graph such that no two adjacent vertices have the same color. We implement the greedy algorithm from Scalable parallel graph coloring algorithms. The algorithm iteratively f...
分类:
其他好文 时间:
2014-06-10 07:10:19
阅读次数:
260
freemarker自定义标签
1、错误描述
六月 05, 2014 11:31:35 下午 freemarker.log.JDK14LoggerFactory$JDK14Logger error
严重: Template processing error: "Error executing macro: write\nrequired parameter: nums is not s...
分类:
其他好文 时间:
2014-06-09 23:18:11
阅读次数:
353
newdelete与new[]delete[]必须配对使用
//注意,由于内置数据类型没有构造、析构函数,所以针对内置数据类型时,释放和内存使用delete或delete[]的效果是一样的。
例如:
int *pArray = new int[10];
...//processing code
delete pArray; //等同于delete[] pArray;
虽然针对...
分类:
其他好文 时间:
2014-06-08 08:33:53
阅读次数:
209
1、错误描述
六月 04, 2014 11:04:03 下午 freemarker.log.JDK14LoggerFactory$JDK14Logger error
严重: Template processing error: "Expression maps.key is undefined on line 15, column 25 in map.ftl."
Expression maps...
分类:
其他好文 时间:
2014-06-07 13:59:28
阅读次数:
298