码迷,mamicode.com
首页 >  
搜索关键字:lines    ( 2570个结果
uva 10655 - Contemplation! Algebra
---恢复内容开始---Given the value ofa+bandabyou will have to find the value ofan+bn给出a+b和a*b的值,再给出n求a^n+b^n的值.InputThe input file contains several lines of ...
分类:其他好文   时间:2015-08-19 16:33:44    阅读次数:154
javascript 正则表达式补充
定义 JavaScript种正则表达式有两种定义方式,定义一个匹配类似  的字符串 1. 构造函数 var reg=new RegExp(']+%>','g'); 2. 字面量 var reg=/]%>/g; g: global,全文搜索,默认搜索到第一个结果接停止i: ingore case,忽略大小写,默认大小写敏感m: multiple lines...
分类:编程语言   时间:2015-08-18 22:43:58    阅读次数:289
HDU 1021.Fibonacci Again【规律】【不可直接求】【8月18】
Fibonacci Again Problem Description There are another kind of Fibonacci numbers: F(0) = 7, F(1) = 11, F(n) = F(n-1) + F(n-2) (n>=2).   Input Input consists of a sequence of lines,...
分类:其他好文   时间:2015-08-18 21:23:33    阅读次数:133
一个表空间使用率查询sql的优化
话不多说,直接上执行计划: SQL> set lines 500; SQL> set pagesize 9999; SQL> set long 9999; SQL> select * from table(dbms_xplan.display_cursor('41348610',null,'advanced')); PLAN_TABLE_OUTPUT ---------------------...
分类:数据库   时间:2015-08-18 19:25:56    阅读次数:198
Contemplation! Algebra
Contemplation! AlgebraGiven the value of a+b and ab you will have to find the value of an + bnInputThe input file contains several lines of inpu...
分类:其他好文   时间:2015-08-18 18:59:27    阅读次数:104
清除svn文件的bat脚本整理
比较直接的代码,循环删除当前目录及子目录下所有的SVN文件 @echo on color 2f mode con: cols=80 lines=25 @REM @echo 正在清理SVN文件,请稍候...... @rem 循环删除当前目录及子目录下所有的SVN文件 @rem for /r . %%a in (.) do @if exist "%%a\.svn" @echo "%%a\....
分类:其他好文   时间:2015-08-18 12:03:37    阅读次数:94
css文字两端对齐
css文字两端对齐text-align:Justify(火狐);text-justify:inter-ideograph(IE)text-justify(IE)基本语法text-justify : auto |distribute | distribute-all-lines | distribut...
分类:Web程序   时间:2015-08-17 18:48:41    阅读次数:133
poj 1269 Intersecting Lines(判断两直线关系,并求交点坐标)
Intersecting LinesTime Limit: 1000MSMemory Limit: 10000KTotal Submissions: 12421Accepted: 5548DescriptionWe all know that a pair of distinct points on...
分类:其他好文   时间:2015-08-17 11:56:07    阅读次数:235
Scala学习笔记(四):从文件里读取文本行
第一个版本:import scala.io.Sourceif(args.length>0){ for(line0){ val lines=Source.fromFile(args(0)).getLines.toList val longestLine=lines.reduceLeft( ...
分类:其他好文   时间:2015-08-15 19:42:07    阅读次数:185
HDU 4414 Finding crosses(dfs)
Problem DescriptionThe Nazca Lines are a series of ancient geoglyphs located in the Nazca Desert in southern Peru. They were designated as a UNESCO Wo...
分类:其他好文   时间:2015-08-13 21:52:37    阅读次数:113
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!