甚至DFS也能过吧 Mayor's posters POJ - 2528 The citizens of Bytetown, AB, could not stand that the candidates in the mayoral election campaign have been plac ...
分类:
其他好文 时间:
2017-07-24 14:53:04
阅读次数:
199
题目网址:http://poj.org/problem?id=1753 题目: Flip Game Description Flip game is played on a rectangular 4x4 field with two-sided pieces placed on each of i ...
分类:
其他好文 时间:
2017-07-21 12:35:16
阅读次数:
177
使用unity AutoLight.cginc文件里的内置函数 UNITY_LIGHT_ATTENUATION shader如下: ...
分类:
编程语言 时间:
2017-07-17 18:48:44
阅读次数:
1831
我们知道IOS上的应用。状态栏的颜色总能与应用标题栏颜色保持一致,用户体验非常不错。那安卓能否够呢?若是在安卓4.4之前,答案是否定的,但在4.4之后,谷歌同意开发人员自己定义状态栏背景颜色啦,这是个不错的体验!若你手机上安装有最新版的qq,而且你的安卓SDK版本号是4.4及以上。你能够看下它的效果 ...
分类:
其他好文 时间:
2017-07-17 16:18:10
阅读次数:
246
题目网址:http://acm.hdu.edu.cn/showproblem.php?pid=2795 题目: Billboard Time Limit: 20000/8000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Tot ...
分类:
其他好文 时间:
2017-07-17 12:31:53
阅读次数:
191
2.布尔值 真或假 1或0 3.字符串类型 "hello world" 字符串常用功能: -移除空白 -分隔 -长度 -索引 -切片 ...
分类:
编程语言 时间:
2017-07-16 00:49:16
阅读次数:
240
刚刚学习的想记录一下: 第一次接触可持续化线段树,很懵。。。 题目: 题目描述 izon the Champion has recently finished painting his wood fence. The fence consists of a sequence of n panels ...
分类:
其他好文 时间:
2017-07-09 16:19:12
阅读次数:
216
当旧版本号的用户升级新版本号的时候须要又一次设定一些值处理,这时候须要监听升级版本号的广播 <receiver android:name=".OnUpgradeReceiver"> <intent-filter> <action android:name="android.intent.action ...
分类:
移动开发 时间:
2017-07-03 22:35:00
阅读次数:
219
先来段英文的: 看不太懂,没有关系,来个中文版本的: /bin 存放所有用户皆可用的系统程序,系统启动或者系统修复时可用(在没有挂载 /usr 目录时就可以使用) /sbin 存放超级用户才能使用的系统程序 /usr/bin 存放所有用户都可用的应用程序/usr/sbin 存放超级用户才能使用的应用 ...
分类:
系统相关 时间:
2017-06-28 13:07:46
阅读次数:
252
1. 你有没有尝试给一组数字排序? Javascript 的sort()函数在默认情况下使用字母数字(字符串Unicode码点)排序。 所以[1,2,5,10].sort() 会输出 [1, 10, 2, 5]. 要正确的排序一个数组, 你可以用 [1,2,5,10].sort((a, b) => ...
分类:
编程语言 时间:
2017-06-25 19:37:28
阅读次数:
180