什么是伪类: 伪类用于定义元素的特殊状态。 例如,它可用于: 当用户将鼠标悬停在元素上时为其设置样式 样式访问和未访问的链接不同 在获得焦点时设置元素的样式 伪类的用法:伪类:{ } 伪类的种类: /*链接伪类*/ 注意:link,:visited,:target是作用于链接元素的! :link 表 ...
分类:
Web程序 时间:
2018-10-30 14:51:28
阅读次数:
378
YouhavebeenemployedbytheorganisersofaSuperKryptonFactorContestinwhichcontestantshaveveryhighmentalandphysicalabilities.Inonesectionofthecontestthecontestantsaretestedontheirabilitytorecallasequenaceof
分类:
其他好文 时间:
2018-10-27 19:54:10
阅读次数:
127
没接触过面向对象的语言,运用R的时候还会保留一些过去的操作逻辑,比如构造循环啊什么的,这些东西R已经为你准备好了。 《O'reilly-R》练习4.1:第n个三角形数表示为n*(n+1)/2。创建一个包含前20个三角形数的序列。R有一个内置常数letters,它包含小写的英文字母。使用前20个英文字 ...
分类:
其他好文 时间:
2018-10-27 00:20:28
阅读次数:
994
Python pass 语句 Python pass是空语句,是为了保持程序结构的完整性。 Python 语言 pass 语句语法格式如下: pass 实例: #!/usr/bin/python for letter in 'Python': if letter == 'h': pass print ...
分类:
编程语言 时间:
2018-10-26 15:09:38
阅读次数:
208
International Morse Code defines a standard encoding where each letter is mapped to a series of dots and dashes, as follows: "a"maps to ".-", "b" maps ...
分类:
其他好文 时间:
2018-10-25 11:10:14
阅读次数:
197
S and T are strings composed of lowercase letters. In S, no letter occurs more than once. S was sorted in some custom order previously. We want to per ...
分类:
编程语言 时间:
2018-10-24 10:43:35
阅读次数:
223
下面的程序用一个方法对字符进行了分类。这个程序会打印出什么呢? 如果你猜想该程序将打印LETTER UNKNOWN NUMERAL,那么你就掉进陷阱里面了。这个程序连编译都通不过。让我们再看一看相关的部分,这一次我们用粗体字突出注释部分: 正如你之所见,注释在包含了字符*/的字符串内部就结束了,结果 ...
分类:
其他好文 时间:
2018-10-24 01:18:32
阅读次数:
187
笔者欲将原机的硬盘更换为更大容量的SSD。由于新旧硬盘的型号规格不一致,GHOST之后发现硬盘上的Windows10不能启动。下面简单记录修复过程。一、准备Windows10PE启动盘二、修复Windows启动配置
Given a string S, we can transform every letter individually to be lowercase or uppercase to create another string. Return a list of all possible stri ...
分类:
其他好文 时间:
2018-10-23 12:02:54
阅读次数:
155
We are to write the letters of a given string S, from left to right into lines. Each line has maximum width 100 units, and if writing a letter would c ...
分类:
其他好文 时间:
2018-10-22 14:53:15
阅读次数:
137