1 ; IMPORTANT INFO ABOUT GETTING STARTED: Lines that start with a 2 ; semicolon, such as this one, are comments. They are not executed. 3 4 ; T...
分类:
其他好文 时间:
2015-06-11 00:06:17
阅读次数:
298
Given n non-negative integers a1, a2,
..., an, where each represents a point at coordinate (i, ai). n vertical
lines are drawn such that the two endpoints of line i is at (i, ai) and (i,
0). Fin...
分类:
其他好文 时间:
2015-06-09 13:53:19
阅读次数:
104
Vim has three kinds of Visual mode. In character-wise Visual mode, we can select anything from a single character up to a range of characters within a line or spanning multiple lines. This is suitable...
分类:
系统相关 时间:
2015-06-07 18:54:58
阅读次数:
183
题目:Given n non-negative integers a1, a2, ..., an, where each represents a point at coordinate (i, ai). n vertical lines are drawn such that the two en...
分类:
其他好文 时间:
2015-06-06 07:56:30
阅读次数:
145
题意:n组数据,每组两条直线两端点坐标,判断线段平行、重合,相交;思路:利用叉积跨立实验判断重合与平行,交点公式求交点;zoj过了,可是poj1269过不了,不知道为什么。。#include#include#include#includeusing namespace std;const doubl...
分类:
其他好文 时间:
2015-06-03 19:28:49
阅读次数:
135
查询地址:http://iosdevelopertips.com/data-file-management/read-and-write-nsarray-nsdictionary-and-nsset-to-a-file.htmlWith just a few lines of code, you c...
分类:
其他好文 时间:
2015-06-03 09:31:34
阅读次数:
90
书上的脚本比较多记录比较有用的脚本更好的方式检查命令行参数是否为数字40#E_WRONGARGS=85#Non-numericalargument(badargumentformat).
41#
42#case"$1"in
43#"")lines=50;;
44#*[!0-9]*)echo"Usage:`basename$0`lines-to-cleanup";
45#exit$E_WRONGARGS;;
46#*)lines=$1;;
47..
分类:
系统相关 时间:
2015-06-02 15:29:14
阅读次数:
157
包Graphics/ __init__.py plot1d.py Primitive/ __init__.py lines.py fill.py text.py ... Graph...
分类:
编程语言 时间:
2015-06-01 11:16:25
阅读次数:
132
题目:Givennnon-negative integersa1,a2, ...,an, where each represents a point at coordinate (i,ai).nvertical lines are drawn such that the two endpoints ...
分类:
其他好文 时间:
2015-05-30 16:37:24
阅读次数:
78
Container With Most Water
题目:
Given n non-negative integers a1, a2, …, an, where each represents a point at coordinate (i, ai). n vertical lines are drawn such that the two endpoints of line i is...
分类:
其他好文 时间:
2015-05-30 09:28:02
阅读次数:
137