码迷,mamicode.com
首页 >  
搜索关键字:lines    ( 2570个结果
【具体数学 读书笔记】1.2 Lines in the Plane
本节介绍平面划分问题,即n条直线最多把一个平面划分为几个区域(region)。 问题描述: "What is the maximum number Ln of regions defined by n lines in the plane?" 这个问题最初由瑞士数学家Jacob Steiner在18 ...
分类:其他好文   时间:2016-05-12 01:34:54    阅读次数:132
修改3389为53389
cls @color 0A @mode con cols=80 lines=32 @title ★修改默认3389端口★ @echo off echo echo ★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★ echo ※※※※※※※※※※※※※※※※※※※※※※※ ...
分类:其他好文   时间:2016-05-11 19:43:40    阅读次数:149
11. 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 endpo ...
分类:其他好文   时间:2016-05-11 14:56:12    阅读次数:130
CodeForces 593B Anton and Lines
计算出每条线段在x1处的y坐标和x2处的y坐标。 就下来只要根据每条线段左右两处的y坐标就可以判断是否有交点。 ...
分类:其他好文   时间:2016-05-07 22:05:51    阅读次数:238
opencv霍夫变换源码及注释
终于鼓起勇气看hough变换源码了,  之前自己还瞎写了一个检测椭圆中心的 =_=! static void HoughLinesStandard( const Mat& img, float rho, float theta,                     int threshold, std::vector& lines, int linesMax,...
分类:其他好文   时间:2016-05-07 10:12:49    阅读次数:564
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 at (i, ai) and (i, 0). Find...
分类:其他好文   时间:2016-05-07 10:08:48    阅读次数:139
python读取txt、csv和excel文件
一、python读取txt文件:(思路:先打开文件,读取文件,最后用for循环输出内容) fp = open('test.txt','r') lines = fp.readlines() fp.close() for line in lines: username = line.split(',') ...
分类:编程语言   时间:2016-05-05 22:03:12    阅读次数:511
读取日志文件,搜索关键字,打印关键字前5行。yield、deque实例
from collections import dequedef search(lines, pattern, history=5): previous_lines = deque(maxlen=history) for line in lines: if pattern in line: yiel ...
分类:其他好文   时间:2016-05-03 00:35:39    阅读次数:124
Coax Transformers[转载]
Coax Transformers How to determine the needed Z for a wanted Quarter Wave Lines tranformation ratio Some applied examples 1. From 50 ohms feedline to ... ...
分类:其他好文   时间:2016-05-03 00:20:30    阅读次数:843
《CSS3实战》笔记--弹性盒模型(三)
CSS3实战》 box-pack和box-align属性? box-lines属性...
分类:Web程序   时间:2016-04-29 18:57:08    阅读次数:208
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!