html:(hypertext mark-up language)超文本标记语言; 标记分两种: 1.闭合的:<p>test<p> 2.非闭合的:<br/> 标记的嵌套: 如:<div><i></i></div> 浏览器只认识:html,通过css进行修饰,并用javescript做一些特效; 后台 ...
分类:
Web程序 时间:
2016-07-14 21:27:17
阅读次数:
139
题意: 给定一个n*m的矩阵,一些格子是空地“F”,一些是障碍"R",找出一个全部由F组成的面积最大的子矩阵; 思路: 对每个格子维护up[i][j],le[i][j],ri[i][j].表示这个格子能向上的最长的长度,这个长度能向左向右移动的最长距离: 面积的最大值就是ans=max(ans ,u ...
分类:
其他好文 时间:
2016-07-14 13:20:12
阅读次数:
150
Pie Font: Times New Roman | Verdana | Georgia Font Size: ← → Problem Description My birthday is coming up and traditionally I'm serving pie. Not just ...
分类:
其他好文 时间:
2016-07-14 09:53:41
阅读次数:
147
Balanced Lineup Description For the daily milking, Farmer John's N cows (1 ≤ N ≤ 50,000) always line up in the same order. One day Farmer John decides ...
分类:
其他好文 时间:
2016-07-14 01:57:21
阅读次数:
361
#!/bin/bash
./etc/init.d/functions
start=$1
up=0
down=0
#addcolorfunction
functioncolor()
{
RED_COLOR=‘\E[1;31m‘
GREEN_COLOR=‘\E[1;32m‘
YELLOW_COLOR=‘\E[1;33m‘
BLUE_COLOR=‘\E[1;34m‘
RES=‘\E[0m‘
}
#judgeusagefunction
functionjudge()
{
#axargs
[$#-ne2]&&a..
分类:
其他好文 时间:
2016-07-13 23:32:42
阅读次数:
156
LeetCode 第 73 题 (Set Matrix Zeroes)
Given a m x n matrix, if an element is 0, set its entire row and column to 0. Do it in place.
Follow up:
Did you use extra space?
A straight forward sol...
分类:
其他好文 时间:
2016-07-13 23:21:18
阅读次数:
139
Sum It Up Font: Times New Roman | Verdana | Georgia Font Size: ← → Problem Description Given a specified total t and a list of n integers, find all di ...
分类:
其他好文 时间:
2016-07-13 21:00:22
阅读次数:
167
CocoaPods是一个第三方管理工具,它的项目源代码在Github上管理,省去了我们手动引入相关类库的繁琐操作。 问题: 一直卡在Setting up CocoaPods master repo: 这样说明Cocoapods在将它的信息下载到~/.cocoapods里;CMD+N 再次打开一个终端 ...
分类:
其他好文 时间:
2016-07-13 20:24:16
阅读次数:
359
1.android 触摸事件侦听 安卓的用户交互方式包括两种,一种是点击交互,一种是触摸交互。点击交互就是手指按下抬起一个动作组。而触摸交互分为按下(down),移动(move),抬起(up)。 触摸事件侦听代码:输出触摸事件的三个动作: 我们用一个framlayout布局进行操作 注意:记得把on ...
分类:
移动开发 时间:
2016-07-13 19:20:18
阅读次数:
202
原文[:Leveling up in CSS]
CSS seems easy at first. After all, it’s just styling, right?
But, give it time. Soon, CSS will show you the true depths of its complexity.
There are four things you can do...
分类:
Web程序 时间:
2016-07-13 17:31:45
阅读次数:
288