码迷,mamicode.com
首页 >  
搜索关键字:lines    ( 2570个结果
Container With Most Water
Givennnon-negative integersa1,a2, ...,an, where each represents a point at coordinate (i,ai).nvertical lines are drawn such that the two endpoints of ...
分类:其他好文   时间:2014-11-19 21:55:36    阅读次数:109
POJ 1269 Intersecting Lines --计算几何
题意: 二维平面,给两条线段,判断形成的直线是否重合,或是相交于一点,或是不相交。解法: 简单几何。重合: 叉积为0,且一条线段的一个端点到另一条直线的距离为0不相交: 不满足重合的情况下叉积为0相交于一点: 直线相交的模板代码:#include #include #include #include...
分类:其他好文   时间:2014-11-19 07:19:24    阅读次数:209
【MySQL】数据导出成CSV格式
一、自动输出中文字符集select * from db into outfile 'test.csv' CHARACTER SET gbk fields terminated by ',' optionally enclosed by '"' escaped by '"' lines termina...
分类:数据库   时间:2014-11-18 23:05:16    阅读次数:261
poj 3662 Telephone Lines spfa算法的灵活运用
spfa算法,不仅仅是求最短路~例题与讲解...
分类:编程语言   时间:2014-11-18 16:07:22    阅读次数:160
子窗口
使用下面两个函数来进行创建子窗口#includeWINDOW *subwin(WINDOW *parent,int num_of_lines,int num_of_cols,int start_y,int start_x);int delwin(WINDOW *window_to_delete); ...
分类:其他好文   时间:2014-11-16 18:35:30    阅读次数:192
原创: EasyUI Tree 最后一级 节点 横向排列
原创: EasyUI Tree 最后一级 节点 横向排列转载请指明出处必须要写在:onLoadSuccess 事件中 ddAuthTree.tree({ lines: true, checkbox: true, ...
分类:其他好文   时间:2014-11-16 15:49:11    阅读次数:382
LeetCode 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 two ...
分类:其他好文   时间:2014-11-16 10:43:04    阅读次数:154
pattern 掩位码
flags-匹配标志,可能包括CASE_INSENSITIVE、MULTILINE、DOTALL、UNICODE_CASE、CANON_EQ、UNIX_LINES、LITERAL和COMMENTS的位掩码/*CASE_INSENSITIVE:启用不区分大小写的匹配。MULTILINE:启用多行模式。在多行模式中,表达式^和$仅分别在行结束符前后匹配,或者在输入序列的结..
分类:其他好文   时间:2014-11-16 02:00:10    阅读次数:195
Bounding volume
Bounding volumeFrom Wikipedia, the free encyclopediaA three-dimensional model with its bounding box drawn in dashed lines.Forbuilding codecompliance, ...
分类:其他好文   时间:2014-11-15 22:59:51    阅读次数:347
[leetcode]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...
分类:其他好文   时间:2014-11-13 22:32:10    阅读次数:251
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!