参考:http://www.zhangxinxu.com/wordpress/2012/04/inline-block-space-remove-去除间距/觉得比较有用的是:加注释应付金额:¥20元间距调整前:间距调整后:
分类:
Web程序 时间:
2015-08-25 14:01:55
阅读次数:
457
占位,待完善。。。bash的基础特性(2)(1)glob文本名“通配”*:匹配任意长度的任意字符;?:匹配任意单个字符;a*b:aab,ab,a123b;a?b:[]:匹配指定范围内的任意单个字符;[0-9][^]:匹配范围外的任意单个字符;[^a-b]字符集合:[:lower:][:upper:][:alnum:][:digit:][:space:][:..
分类:
其他好文 时间:
2015-08-25 12:20:32
阅读次数:
182
基础特性2
1、文本名"通配"
特殊符号的含义
*任意长度的任意字符
?任意单个字符
[:alnum:]大、小写字母和数字
[:alpha:]大、小写字母
[:upper:]大写字母
[:lower:]小写字母
[:digit:]数字
[:space:]空白字符
[:punct:]特殊符号
显示/tmp下非字母开头的文件
复制/etc下.d结..
分类:
其他好文 时间:
2015-08-25 12:16:10
阅读次数:
180
在当前工程目录中gradle.properties 添加org.gradle.jvmargs=-XX\:MaxHeapSize\=256m -Xmx256mhttp://stackoverflow.com/questions/30045417/android-studio-gradle-could-...
分类:
移动开发 时间:
2015-08-21 19:04:44
阅读次数:
226
Given two sorted integer arrays nums1 and nums2, merge nums2 into nums1 as one sorted array.
Note:
You may assume that nums1 has enough space (size that is greater or equal to m + n) to hold addit...
分类:
其他好文 时间:
2015-08-21 09:28:30
阅读次数:
173
#include<stdio.h>
#include<assert.h>
#include<stdlib.h>
voidreplace_space(char*str)
{
assert(str);
char*pstr=str;
intspace=0;
intlen=0;
intnewlen=0;
while(*str)
{
if(*str==‘‘)
space++;
len++;
str++;
}
newlen=len+space..
分类:
移动开发 时间:
2015-08-21 00:29:11
阅读次数:
316
求除了自己之外数组所有元素的乘积。新建一个数组,每个位置保存前面所有数的乘积。反过来,另一个数组每个位置保存后面所有数乘积。两个数组每个位置相乘即为所求。这样时间复杂度为O(n);为了保证O(1)space,所以上面的操作进行融合,具体见代码。 1 class Solution { 2 public...
分类:
其他好文 时间:
2015-08-20 22:25:11
阅读次数:
185
题目Given two sorted integer arrays nums1 and nums2, merge nums2 into nums1 as one sorted array.Note:
You may assume that nums1 has enough space (size that is greater or equal to m + n) to hold addition...
分类:
其他好文 时间:
2015-08-20 19:01:02
阅读次数:
177
Given two sorted integer arraysnums1andnums2, mergenums2intonums1as one sorted array.Note:You may assume thatnums1has enough space (size that is great...
分类:
其他好文 时间:
2015-08-20 15:07:24
阅读次数:
114
Given an integer array of sizen, find all elements that appear more than? n/3 ?times. The algorithm should run in linear time and in O(1) space. 这道题就....
分类:
其他好文 时间:
2015-08-20 12:56:19
阅读次数:
112