1,修改记事本 颜色:具体步骤如下:1、打开注册表:运行“regedit”确定;2、依次打开[HKEY_CURRENT_USER\Control Panel\Colors], 把Windows的值改为“202 234 206”3、注销后重新登录,打开记事本或word可以看到窗口背景色变为淡绿色(护眼 ...
题目如下: 解题思路:本题和【leetcode】75. Sort Colors类似,但是没有要求在输入数组本身修改,所以难度降低了。引入一个新的数组,然后遍历输入数组,如果数组元素是是偶数,插入到新数组头部,否则追加到尾部。 代码如下: ...
分类:
其他好文 时间:
2018-09-17 11:38:00
阅读次数:
119
https://www.materialpalette.com/ 在这个工具中,你可以先选择主色和重点色。选完之后工具会自动生成即时预览图并提供多种下载的方式。 https://www.materialui.co/colors 这是一个漂亮的“小抄”,它把所有能提供给你的颜色汇聚在一个页面上供你选择 ...
分类:
移动开发 时间:
2018-09-11 18:42:42
阅读次数:
438
Eva would like to make a string of beads with her favorite colors so she went to a small shop to buy some beads. There were many colorful strings of b ...
分类:
其他好文 时间:
2018-09-05 14:00:59
阅读次数:
164
This example demonstrates how to convert between a color value in RGB (three integer values in the range 0 to 255 representing red, green, and blue) a ...
分类:
其他好文 时间:
2018-09-02 23:44:05
阅读次数:
184
例1:默认的log_colors 默认的color_colors的值为: 代码运行结果: 例2:自定义log_colors 代码运行结果: 例3:secondary_log_color的使用 代码运行结果: ...
分类:
其他好文 时间:
2018-09-02 17:09:03
阅读次数:
251
https://cn.vjudge.net/problem/ZOJ-1610 题意 给一个n,代表n次操作,接下来每次操作表示把[l,r]区间的线段涂成k的颜色其中,l,r,k的范围都是0到8000。 分析 把区间看作点,即[3,4]看作点4。查询时进行前序遍历,记录上一段的颜色,不连续的就+1。注 ...
分类:
其他好文 时间:
2018-09-02 10:26:18
阅读次数:
160
任意门:http://acm.zju.edu.cn/onlinejudge/showProblem.do?problemCode=1610 Count the Colors Painting some colored segments on a line, some previously paint ...
分类:
其他好文 时间:
2018-08-29 20:30:31
阅读次数:
167
Given an array of n objects with k different colors (numbered from 1 to k), sort them so that objects of the same color are adjacent, with the colors ...
分类:
其他好文 时间:
2018-08-29 10:49:38
阅读次数:
123
There is a fence with n posts, each post can be painted with one of the k colors. You have to paint all the posts such that no more than two adjacent ...
分类:
其他好文 时间:
2018-08-28 10:37:14
阅读次数:
148