题目链接:http://lightoj.com/volume_showproblem.php?problem=1102 题目大意:求n有顺序的划分为k个数的方案数. 分析:显然这个就是一个组合公式,隔板法。可以把问题转化为x1+x2+…..xk = n 这个多元一次方程上。然后这个解就是C(n+k- ...
分类:
其他好文 时间:
2017-07-24 16:24:44
阅读次数:
204
题目链接:http://lightoj.com/volume_showproblem.php?problem=1319 题目大意:有 n 个猴子,n 棵树,树的高度为 L ,每个猴子刚开始的时候都在树的底部,后来往上跳,每次跳的距离是pi,最后不能跳到树上面所以最后会有个到顶端的距离ri,求L的最小 ...
分类:
其他好文 时间:
2017-07-20 17:25:09
阅读次数:
192
使用unity AutoLight.cginc文件里的内置函数 UNITY_LIGHT_ATTENUATION shader如下: ...
分类:
编程语言 时间:
2017-07-17 18:48:44
阅读次数:
1831
Pipe The GX Light Pipeline Company started to prepare bent pipes for the new transgalactic light pipeline. During the design phase of the new pipe sha ...
分类:
其他好文 时间:
2017-07-16 10:05:46
阅读次数:
211
纹理特征,材料分类(Material Classification),在MINC-2500、Flickr Material Database、KTH-TIPS-2b、4D-Light-Field-Material、GTOS上state-of-the-art(2017年)。 思想主要来源是:传统图片分 ...
分类:
Web程序 时间:
2017-07-15 19:57:39
阅读次数:
375
1214 - Large Division Given two integers, a and b, you should check whether a is divisible by b or not. We know that an integer a is divisible by an i ...
分类:
其他好文 时间:
2017-07-15 17:54:22
阅读次数:
165
2017年7月8日 星期六 --出埃及记 Exodus 27:20"Command the Israelites to bring you clear oil of pressed olives for the light so that the lamps may be kept burning. ...
分类:
其他好文 时间:
2017-07-15 14:46:17
阅读次数:
145
Code Labels Code labels are three-letter codes with which commit messages can be prefixed. CODE Label color name background text BLD: build light gree ...
分类:
其他好文 时间:
2017-07-13 17:41:48
阅读次数:
186
刷入recovery: fastboot flash recovery recovery.img 刷入boot: fastboot flash boot boot.img 刷入userdata: fastboot flash userdata userdata.img ...
分类:
移动开发 时间:
2017-07-10 18:10:16
阅读次数:
215
http://yanbin.is-programmer.com/posts/94214.html Registery的Key 1. 整数Key用于Lua的引用机制,所以不要使用整数作为Key 2. 通过lua_rawsetp将一个C指针包装成light userdata作为Key使用 3. 使用字符 ...
分类:
其他好文 时间:
2017-07-08 14:17:45
阅读次数:
131