今天初识css3看来JQuery高级编程要放到最后去看了。笔记:a:link{color:blue;}未访问a:visited{color:blue;}已访问a:hover{color:red;}悬浮a:active{color:yellow;}活动链接css代码格式p{css属性:属性值}border-radius:xxpx;(边框圆角)padding-(top,left,right,bottom):xxp..
分类:
Web程序 时间:
2014-07-31 10:00:36
阅读次数:
447
一、颜色名 大多数的浏览器都支持颜色名集合。 仅仅有 16 种颜色名被 W3C 的 HTML4.0 标准所支持。它们是:aqua, black, blue, fuchsia, gray, green, lime, maroon, navy, olive, purple, red, silver, ....
分类:
Web程序 时间:
2014-07-30 00:54:22
阅读次数:
394
问题描述:
Given an input string, reverse the string word by word.
For example,
Given s = "the sky is blue",
return "blue is sky the".
解题思路:
每遍历出一个单词时,将该单词添加一个空格字符(如果临时字符串为空,即扫描出第一个单词,就不要添加空格字符),然后添加...
分类:
其他好文 时间:
2014-07-29 21:52:52
阅读次数:
239
题目:Given an array with n objects colored red, white or blue, sort them so that objects of the same color are adjacent, with the colors in the order r....
分类:
编程语言 时间:
2014-07-28 11:34:20
阅读次数:
297
LeetCode: Reverse Words in a StringGiven an input string, reverse the string word by word. For example,Given s = "the sky is blue",return "blue is sky...
分类:
其他好文 时间:
2014-07-27 23:33:19
阅读次数:
173
1)enum提供了另一种创建符号常量的方式,可以代替const,还允许定义新类型,但有严格的限制;例:enum spectrum{red,orange,yellow,green,blue,violet,indigo,ultraviolet};//对应整数值0~7;spectrum band=blue...
分类:
其他好文 时间:
2014-07-27 09:38:52
阅读次数:
274
题意:输入N个DNA序列,每个DNA序列长度都为60。找到这些串的最长共有子序列。
注:若找不到,或最长子序列长度小于2,则输出no significant commonalities,否则输出最长公共子串,若长度相同输出字典序最小的
思路:暴力枚举第一个DNA序列的每一个子序列,用strstr()函数与其余的序列进行匹配...
分类:
其他好文 时间:
2014-07-26 02:50:36
阅读次数:
162
Blue JeansDescriptionThe Genographic Project is a research partnership between IBM and The National Geographic Society that is analyzing DNA from hund...
分类:
其他好文 时间:
2014-07-25 14:14:51
阅读次数:
290
Necklace of Beads
Time Limit: 1000MS
Memory Limit: 10000K
Total Submissions: 6547
Accepted: 2734
Description
Beads of red, blue or green colors are connected togeth...
分类:
其他好文 时间:
2014-07-25 11:04:01
阅读次数:
260
本页提供了被大多数浏览器支持的颜色名。提示:W3C 的 HTML 4.0 标准仅支持 16 种颜色名,它们是:aqua、black、blue、fuchsia、gray、green、lime、maroon、navy、olive、purple、red、silver、teal、white、yellow。如...
分类:
Web程序 时间:
2014-07-24 17:24:26
阅读次数:
472