Description Eric has a long rope whose length is N, now he wants to mark on the rope with different colors. The way he marks the rope is:1. He will ch ...
分类:
其他好文 时间:
2017-05-11 14:43:28
阅读次数:
141
Settings——>Editor——>Colors&Fonts——>Console Font 如图: 字体调好了以后使用起来眼睛就轻松多了 ...
分类:
其他好文 时间:
2017-05-05 20:20:52
阅读次数:
416
View 创建 colors.xml 文件定义两个颜色 1. <resources> 2. <color name="blue_pressed">@android:color/holo_blue_dark</color> 3. <color name="blue_normal">@android:c ...
分类:
移动开发 时间:
2017-04-30 20:37:20
阅读次数:
244
直接上程序代码: index.html [html] view plain copy <div> <div ng-repeat="color in colors"> <input type="checkbox" ng-checked="isChecked(color.id)" ng-click="u ...
分类:
Web程序 时间:
2017-04-27 16:20:26
阅读次数:
224
1.粒子材质和粒子几何体 创建粒子系统的点,可以存放在Geometry几何体中。使用Geometry的vertices保存点、colors保存点的颜色。但我们必须使用粒子的专用材质对象PointCloudMaterial(原名叫做ParticleBasicMaterial)设置材质。包含的属性如下列 ...
分类:
其他好文 时间:
2017-04-24 01:04:40
阅读次数:
301
JDK安装及环境变量的配置; Ecplise中的相关配置: 改变字号: General -> Appearance -> Colors and Fonts -> Basic -> Text Font -> Edit 配置JDK版本及路径: Java -> Installed JREs -> 选中,E ...
分类:
其他好文 时间:
2017-04-18 23:00:37
阅读次数:
197
var colors = new Array(20); 创建长度值为20的数组 var colors = new Array('red','blue','green');创建包含三个字符串的数组; 在使用Array构造函数的时候也可以省略new操作,var colors = Array(3); Ar ...
分类:
Web程序 时间:
2017-04-13 23:21:44
阅读次数:
213
Time Limit: 1000MS Memory Limit: 10000K Total Submissions: 8263 Accepted: 3452 Description Beads of red, blue or green colors are connected together i ...
分类:
其他好文 时间:
2017-04-11 09:26:52
阅读次数:
255
Time Limit: 2000MS Memory Limit: 65536K Total Submissions: 10322 Accepted: 3360 Description Beads of N colors are connected together into a circular n ...
分类:
其他好文 时间:
2017-04-11 09:23:27
阅读次数:
282
题目:Sort Colors 一个一维数组只有三个元素要把它排序。 思路1:快速排序。 后面专门总结这个排序算法。 思路2:计数排序。 例如:2 5 3 0 2 3 0 3的数组,先申请长度为6的数组,初始值为0. 然后统计其中0-5的每个数字的个数, 在按照大小顺序输出每个数字统计的次数,即排好序 ...
分类:
其他好文 时间:
2017-04-09 17:03:38
阅读次数:
154