题目链接:http://codeforces.com/problemset/problem/495/B题目意思:给出两个非负整数a,b,求出符合这个等式 的所有x,并输出 x 的数量,如果 x 有无限多个,那么输出 infinity。 想了半个多小时......有个地方想遗漏了。 a mod ...
分类:
其他好文 时间:
2014-12-17 23:53:11
阅读次数:
256
Vim的颜色主题在/usr/share/vim/vim73/colors目录里。打开vim后在normal模式下输入“:colorscheme”查看当前的主题,改动主题使用命令“:colorscheme mycolor”,当中mycolor是你usr/share/vim/vim73/colors目录...
分类:
系统相关 时间:
2014-12-17 22:13:23
阅读次数:
266
DescriptionConsider equations having the following form: a*x1*x1 + b*x2*x2 + c*x3*x3 + d*x4*x4 = 0 a, b, c, d are integers from the interval [-50,50] ...
分类:
其他好文 时间:
2014-12-17 12:27:56
阅读次数:
175
jquery代码:
$(function(){
$("#a").click(function( e ){
e.preventDefault();
if ($("#test").is(":hidden") ){
$("#test").show("normal");
}else{
$("#test").hide("slow");
}
});
}...
分类:
Web程序 时间:
2014-12-16 13:38:36
阅读次数:
192
最近的一些小的update:
1.normal map VS bump map
2.material LOD 细节更新
3.UV坐标系
分类:
其他好文 时间:
2014-12-16 13:10:45
阅读次数:
281
1.生成幻灯片页面文件之后,在engine1/wowslider.js里找到如下代码段: 1 e.css({ 2 "font-weight": "normal", 3 "font-style": "normal", 4 padding: "1px 5px", 5 ma...
分类:
Web程序 时间:
2014-12-16 13:06:23
阅读次数:
297
链接:http://codeforces.com/problemset/problem/495/B首先 a = b(mod x) 可以根据同余定理 b|a-b . 然后从1开始枚举到a-b。 还有一个定理,在sqrt(a-b)范围内 就可以枚举出所有的因子式,例如16,sqrt(16) = 4 , ...
分类:
其他好文 时间:
2014-12-14 19:59:22
阅读次数:
201
ref:http://stackoverflow.com/questions/271743/whats-the-difference-between-b-and-strong-i-and-emThey have thesame effect on normal web browser renderi...
分类:
Web程序 时间:
2014-12-14 15:47:08
阅读次数:
297