NSDictionary * attrs = @{ NSFontAttributeName:[UIFont systemFontOfSize:13], NSForegroundColorAttributeName:[UIC... ...
分类:
移动开发 时间:
2017-06-18 22:41:35
阅读次数:
173
other technologies besides HTML are generally used to describe the webpage's appearance. besides HTML这是个介词短语做后置定语修饰前面的technologies,后置的意思就是放在后面的意思,句子主干 ...
分类:
其他好文 时间:
2017-06-18 10:26:41
阅读次数:
141
Given an array of size n, find the majority element. The majority element is the element that appears more than ? n/2 ? times. You may assume that the ...
分类:
其他好文 时间:
2017-06-17 10:10:52
阅读次数:
195
在手机端上写了一个页面,按钮的地方是用input标签button按钮,给的是绿色的背景颜色,在安卓手机上显示正常,在苹果手机上显示不正常,如下图 解决办法: css加上下面这一行代码就可以了,input[type=button], input[type=submit], input[type=fil ...
分类:
移动开发 时间:
2017-06-15 12:59:02
阅读次数:
324
负数的存储 首先需要知道的是整数在计算机中的存储。 正数和0就不用多说了,就是二进制原码。问题在于负数。 负数在计算机中以二进制补码的形式存储。补码是反码 + 1; 7的二进制是 0111 。-7的二进制是多少呢? 以8位为例,-7的原码是 1000 0111,其中首位的1是符号位,表示负数的意思。 ...
分类:
编程语言 时间:
2017-06-12 00:36:56
阅读次数:
287
Faulty Odometer Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 1664 Accepted Submission(s): 114 ...
分类:
其他好文 时间:
2017-06-10 18:28:24
阅读次数:
272
Given an array of numbers nums, in which exactly two elements appear only once and all the other elements appear exactly twice. Find the two elements ...
分类:
其他好文 时间:
2017-06-09 23:40:30
阅读次数:
209
在Safari浏览器中如果想对select控件进行高度设置,最常用的方法是下面几个: -webkit-appearance: menulist-button; -webkit-appearance: none; 从行为上看这是Safari的一个bug,但是如果从设计思想出发的话,这个也许并不算是b ...
分类:
其他好文 时间:
2017-06-09 00:56:18
阅读次数:
312
Given an integer array of size n, find all elements that appear more than ? n/3 ? times. The algorithm should run in linear time and in O(1) space. 第一 ...
分类:
其他好文 时间:
2017-06-08 17:48:08
阅读次数:
160
一、 POI简介 Apache POI是Apache软件基金会的开放源码函式库,POI提供API给Java程序对Microsoft Office格式档案读和写的功能。 org.apache.poi.poifs.filesystem.OfficeXmlFileException: The suppli ...
分类:
其他好文 时间:
2017-06-08 16:39:33
阅读次数:
182