25336641ed5d2f00ede5bc7f82e981b5ba7b09d8ffba44709be5750597060c62b3bd4b840fa297e36b56d3050a2682c9bfd2b41f7d55057dbbeb9f9e04a09c95 a.colors = { bold: [1 ...
分类:
其他好文 时间:
2019-01-25 17:48:37
阅读次数:
205
Canvas提供了一个方法drawBitmapMesh(Bitmap bitmap, int meshWidth, int meshHeight, float[] verts, int vertOffset, int[] colors,int colorffset,Paint paint) 这个方法 ...
分类:
移动开发 时间:
2019-01-23 21:37:26
阅读次数:
243
注意:1.itextpdf的版本为7.0.5(7.1.4的版本过高,用本示例会报错(比如7.0.5是这个包是com.itextpdf.kernel.color.Color,在7.1.4会升级为com.itextpdf.kernel.colors.Color); 7.0.0的版本低, 也会报错。) 2 ...
分类:
其他好文 时间:
2019-01-22 15:53:41
阅读次数:
482
1092 To Buy or Not to Buy (20 分) Eva would like to make a string of beads with her favorite colors so she went to a small shop to buy some beads. Ther ...
分类:
其他好文 时间:
2019-01-22 14:19:46
阅读次数:
229
1027 Colors in Mars (20 分) People in Mars represent the colors in their computers in a similar way as the Earth people. That is, a color is represente ...
分类:
其他好文 时间:
2019-01-20 20:54:53
阅读次数:
224
public class Solution { / @param n: non negative integer, n posts @param k: non negative integer, k colors @return: an integer, the total number of wa ...
分类:
其他好文 时间:
2019-01-17 16:28:01
阅读次数:
138
题目:http://codeforces.com/gym/101933/problem/K 其实每个点的颜色只要和父亲不一样即可; 所以至多 i 种颜色就是 \( i * (i-1)^{n-1} \),设为 \( f(i) \),设恰好 i 种颜色为 \( g(i) \) 那么 \( f(i) = ...
分类:
其他好文 时间:
2019-01-15 19:06:37
阅读次数:
232
"传送门" 解题思路 首先给出的树形态没用,因为除根结点外每个点只有一个父亲,它只需要保证和父亲颜色不同即可。设$f(k)$表示至多染了$k$种颜色的方案,那么$f(k)=(k 1)^(n 1) k$,而我们要求的是恰好染$k$种颜色的方案数,设其为$g(k)$,易得 $$ g(k)=\sum\li ...
分类:
其他好文 时间:
2019-01-14 10:52:07
阅读次数:
232
1、Eclipse中java文件和jsp字体大小设置 1、更改所有文件的字体显示大小过程: Window->preferences->General->Appearance->Colors and Fonts->Basic->TextFont->右边按钮Change 2、Eclipse-Eclisp ...
分类:
系统相关 时间:
2019-01-09 14:19:17
阅读次数:
236
People in Mars represent the colors in their computers in a similar way as the Earth people. That is, a color is represented by a 6-digit number, wher ...
分类:
其他好文 时间:
2019-01-06 12:49:51
阅读次数:
147