一、动画类型Android的animation由四种类型组成:alpha、scale、translate、rotateXML配置文件中alpha渐变透明度动画效果scale渐变尺寸伸缩动画效果translate画面转换位置移动动画效果rotate画面转移旋转动画效果Java
Code代码中Alpha...
分类:
移动开发 时间:
2014-06-13 19:54:50
阅读次数:
397
又是一条数论题目,最近学习数论,看完书本感觉并不能掌握数论的,还是需要多多练习,多运用才能掌握这个思想武器的。
本题可以简单点过,不需要太高级的数论内容;
但是也可以运用好数论的内容,可以应用上三个数论的内容:
1 扩展欧几里得
2 快速求模
3 乘法逆元(inverse of modulo)
2 快速求模,也可以生成一个数组,因为这里最大是40000,故此数值不大,可以使用数组,然后查表,速度很快。
但是这里使用快速的时间效率也几乎接近常数,没必要保存一个数组。如下面的powMod函数。
3 乘法...
分类:
其他好文 时间:
2014-06-11 00:55:53
阅读次数:
351
转自:http://www.oschina.net/translate/12-best-bootstrap-tools-for-web-designersBootstrap是一个非常棒的前端网站开发平台,它提供了大量的开发高体验的、高效的网站所需要的组件。这给网站开发人员与网站设计师提供了很好的便捷...
分类:
Web程序 时间:
2014-06-10 21:57:14
阅读次数:
458
转自:http://www.oschina.net/translate/20-useful-jquery-google-maps-pluginsGoogle
地图在寻找我们想要了解的商店或者其它有趣的地方这种用途方面很流行和实用. 地图被一些商店特地集成到了它们的网站上面,这样就可以让人们容易找到它...
分类:
Web程序 时间:
2014-06-10 21:55:13
阅读次数:
483
解决办法 :
把 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
一、功能代码函数实现 private function _baiduDic($keyword)
{ $tranurlaip =
"http://openapi.baidu.com/public/2.0/bmt/translate?client_id=9peNkh97N6B...
分类:
微信 时间:
2014-06-08 18:39:59
阅读次数:
560
newdelete与new[]delete[]必须配对使用
//注意,由于内置数据类型没有构造、析构函数,所以针对内置数据类型时,释放和内存使用delete或delete[]的效果是一样的。
例如:
int *pArray = new int[10];
...//processing code
delete pArray; //等同于delete[] pArray;
虽然针对...
分类:
其他好文 时间:
2014-06-08 08:33:53
阅读次数:
209