码迷,mamicode.com
首页 >  
搜索关键字:lines    ( 2570个结果
POJ 3662 Telephone Lines【Dijkstra最短路+二分求解】
Telephone Lines Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 7214 Accepted: 2638 Description Farmer John wants to set up a telephone lin ...
分类:其他好文   时间:2017-08-01 19:24:48    阅读次数:188
【HDOJ 5379】 Mahjong tree
【HDOJ 5379】 Mahjong tree 往一颗树上标号 要求同一父亲节点的节点们标号连续 同一子树的节点们标号连续 问一共同拥有几种标法 画了一画 发现标号有二叉树的感觉 初始标号1~n 根结点1能够标1或n 否则其它情况无法让以下的子树满足各自连续而且该根的儿子节点都要连续 根结点下的节 ...
分类:其他好文   时间:2017-08-01 14:46:17    阅读次数:216
[POJ 1269]Intersecting Lines
Description We all know that a pair of distinct points on a plane defines a line and that a pair of lines on a plane will intersect in one of three wa ...
分类:其他好文   时间:2017-08-01 12:35:50    阅读次数:212
hdu1584 A strange lift (电梯最短路径问题)
A strange lift Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others) Total Submission(s): 15570 Accepted Submission(s): 583 ...
分类:其他好文   时间:2017-08-01 11:19:13    阅读次数:156
Pick up lines搭讪
1、In a bar Do you come here often? I've never seen you here before. What do you think of this bar? Are you drinking___?I love that drink! Great___!(co ...
分类:其他好文   时间:2017-07-31 10:07:13    阅读次数:203
python文件读写
f=open(file,mod) str1=f.readline() //读取一行的内容 str=f.readlines() //读取剩余的全部内容 当mod设为“a+”使,无法读取文件的内容 文件模式对照: Str1=[] for line in Str: line=line.strip() St ...
分类:编程语言   时间:2017-07-30 22:01:55    阅读次数:246
Python 字符串的所有方法详解
1 name = "my name is {name} and my age is {age}" 2 3 # 首字母大写 4 name.capitalize() 5 # 统计某个字符的个数 6 name.count("a") 7 # name 放到中间一共打印50个字符,不够用 - 补上 8 nam... ...
分类:编程语言   时间:2017-07-30 20:30:16    阅读次数:147
C语言结构体及函数传递数组參数演示样例
注:makeSphere()函数返回Sphere结构体,main函数中。调用makeSphere()函数,传递的第一个參数为数组,传递的数组作为指针。 $(function () { $('pre.prettyprint code').each(function () { var lines = $ ...
分类:编程语言   时间:2017-07-30 20:06:39    阅读次数:162
git merge 和 git merge --no-ff
依据这张图片能够看出 git merge –no-ff 能够保存你之前的分支历史。能够更好的查看 merge历史。以及branch 状态。 git merge 则不会显示 feature,仅仅保留单条分支记录。 $(function () { $('pre.prettyprint code').ea ...
分类:其他好文   时间:2017-07-30 19:08:17    阅读次数:123
Building Maintainable Software-java篇之Separate Concerns in Modules
Building Maintainable Software-java篇之Separate Concerns in Modules In a system that is both complex and tightly coupled, accidents are inevitable. —Cha ...
分类:编程语言   时间:2017-07-30 14:53:40    阅读次数:197
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!