15.1css中的背景与列表属性:background-attachment scroll 背景图像随视窗滚动 空格 条的移动而移动 fixed 背景图像不会随视窗滚动条 background-color 十六进制 background-color:#ff0000 英文名称 background-c ...
分类:
其他好文 时间:
2016-10-31 20:49:38
阅读次数:
182
Given an encoded string, return it's decoded string. The encoding rule is: k[encoded_string], where the encoded_string inside the square brackets is b ...
分类:
其他好文 时间:
2016-10-31 09:11:48
阅读次数:
278
bzoj1661[Usaco2006 Nov]Big Square 巨大正方形 题意: n*n的图中有一些J点,一些B点和一些空白点,问在空白点添加一个J点所能得到的有4个J点组成最大正方形面积。n≤100。 题解: 枚举两个点,然后根据这两个点组成的边尝试在4个上下两个方向组成四边形。 代码: 2 ...
分类:
其他好文 时间:
2016-10-30 17:01:33
阅读次数:
146
文本内连接 插入图片 无序列表 <ul type="disc"> //定义无序列表 <li>3333</li> //列表项 <li>4444</li> <li>5555</li> </ul> <ul type="circle"> //小圆点 <li>3333</li> <li>4444</li> < ...
分类:
Web程序 时间:
2016-10-29 11:31:14
阅读次数:
237
今天在国外的网站上看到了很多看似简单却又非常强大的纯CSS绘制的图形,里面有最简单的矩形、圆形和三角形,也有各种常见的多边形,甚至是阴阳太极和网站小图标,真的非常强大,分享给大家。 Square(正方形) Rectangle(矩形) Circle(圆形) Oval(椭圆形) Triangle Up( ...
分类:
Web程序 时间:
2016-10-29 02:01:13
阅读次数:
376
Given a set of words (without duplicates), find all word squares you can build from them. A sequence of words forms a valid word square if the kth row ...
分类:
其他好文 时间:
2016-10-28 02:42:37
阅读次数:
195
题意:给定一个n * n(1 <= n <= 10)的网格,有些已经填上了一些大写字母,需要补充完所有的字母,使每两两相邻的格子中的字母不同,且从上至下,从左至右,组成一个字符串后字典序最小。 由于组成字符串后的长度都为n * n,故字典序越往前的字母决定的优先级越大,所以贪心即可,从上到下,从左到 ...
分类:
其他好文 时间:
2016-10-25 11:41:33
阅读次数:
188
1.abstract 的应用 1 abstract class ShapesClass 2 { 3 public abstract int Area(); 4 } 5 class Square : ShapesClass 6 { 7 int side = 0; 8 9 public Square(i ...
分类:
其他好文 时间:
2016-10-24 23:16:19
阅读次数:
271
Given a sequence of words, check whether it forms a valid word square. A sequence of words forms a valid word square if the kth row and column read th ...
分类:
其他好文 时间:
2016-10-24 07:47:22
阅读次数:
330