码迷,mamicode.com
首页 >  
搜索关键字:comare version number    ( 48018个结果)
POJ 3258 River Hopscotch
DescriptionEvery year the cows hold an event featuring a peculiar version of hopscotch that involves carefully jumping from rock to rock in a river. T...
分类:其他好文   时间:2014-07-22 22:53:55    阅读次数:250
HDU 1711 Number Sequence
经典kmp 1 #include 2 #include 3 using namespace std; 4 5 int n,m; 6 int a[1000010],b[10010],next[10010]; 7 8 void getnext (int *s,int *next)...
分类:其他好文   时间:2014-07-22 22:52:33    阅读次数:182
function object用法
1 // Generic findMax, with a function object, version #1 2 // Precondition, a.size() > 0 3 #include 4 #include 5 #include 6 using namespace std; ...
分类:其他好文   时间:2014-07-22 22:51:36    阅读次数:209
poj1436 Horizontally Visible Segments
DescriptionThere is a number of disjoint vertical line segments in the plane. We say that two segments are horizontally visible if they can be connect...
分类:其他好文   时间:2014-07-20 09:27:15    阅读次数:351
【Oracle学习笔记】
---------------loop循环定义变量--------------------declare cursor c1 is select * from emp;# rec emp%rowtype;# i numeber:=1; # v_count number;begin# select count(*) into v_count from emp;#(1) open c1; loop...
分类:数据库   时间:2014-07-20 00:33:20    阅读次数:334
java程序 启动时参数
iEMP34:/opt/version/lktest/b030/jre/jre_linux/bin # ./java -classpath . SysInfoException in thread "main" java.lang.NoClassDefFoundError: org/hyperic....
分类:编程语言   时间:2014-07-19 22:31:36    阅读次数:747
shell总结(转)
1) !!:重复执行上一条指令2) !a:重复执行上一条以a为首的指令3) !number:重复执行上一条在history表中记录号码为number的指令4) !-number:重复执行前第number条指令5) !$:表示获得上一条命令中的最后一项内容6) 用Ctrl + r 组合键来进入历史搜索...
分类:其他好文   时间:2014-07-19 22:20:52    阅读次数:262
POJ2699_The Maximum Number of Strong Kings
这题目,,,真是。。。诶。坑了好久。给一个有向图。U->V表示U可以打败V并得一分。如果一个人的得分最高,或者他打败所有比自己得分高的人,那么此人就是king。现在给出每个人的得分,求最多可能有多少个king同时存在。可以证明,如果有k个人是king,那么至少有一种分配方案使得这k个king都是分数...
分类:其他好文   时间:2014-07-19 16:09:34    阅读次数:208
Java中各种排序算法
//插入排序:package org.rut.util.algorithm.support; import org.rut.util.algorithm.SortUtil;/** * @author treeroot * @since 2006-2-2 * @version 1.0 */public...
分类:编程语言   时间:2014-07-19 14:08:41    阅读次数:274
UVA 11774 - Doom's Day(规律)
UVA 11774 - Doom's Day 题目链接 题意:给定一个3^n*3^m的矩阵,要求每次按行优先取出,按列优先放回,问几次能回复原状 思路:没想到怎么推理,找规律答案是(n + m) / gcd(n, m),在topcoder上看到一个证明,如下: We can associate at each cell a base 3-number, the log3(R...
分类:其他好文   时间:2014-07-19 14:06:19    阅读次数:220
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!