码迷,mamicode.com
首页 >  
搜索关键字:remove nth node from    ( 91983个结果
ORA-28002: the password will expire within 7 days 解决方法(后面部分为拷贝,前面加上了自己遇到的问题的时候解决方案)
首先以管理员密码登录 如果发现仍然登录不进去了,可以将Oracle安装的Linux的系统时间提前,修改方法是: date -s 04/29/2014 date -s 17:52:00 clock -w   1. 查看用户的profile设置: SELECT username,profile FROM dba_users;   SELECT username,profil...
分类:其他好文   时间:2014-07-22 23:03:54    阅读次数:423
poj2421 最小生成树 克鲁斯
Constructing Roads Time Limit: 2000MS   Memory Limit: 65536K Total Submissions: 18744   Accepted: 7755 Description There are N villages, which are numbered from 1 to N, and...
分类:其他好文   时间:2014-07-22 23:02:33    阅读次数:221
node.js 安装 测试
2014年5月1日 18:48:01安装:系统是centos,里边的python版本是2.4,但是node.js 源码tar包安装要求是 2.6 或者 2.7下载python 2.7编译安装,注意,可以不卸载原有系统中的python,编译安装2.7时,默认安装,不要在配置时指定安装路径默认安装的时候...
分类:Web程序   时间:2014-07-22 22:59:55    阅读次数:346
sdut 2846 Remove Trees (二分 + 贪心)
题目和poj 上的一道题几乎一样。题意:已知n棵树距第一棵树的距离,求删掉m棵树后的 树之间 的最小距离 的最大值。思路:二分枚举最小的距离,注意二分的写法。 1 #include 2 #include 3 #include 4 #include 5 #include 6 #include...
分类:其他好文   时间:2014-07-22 22:59:15    阅读次数:249
最大流之dinic
先用bfs预处理出层次图,然后在层次图上用dfs找增广路径,理论复杂度O(n*n*m)const int INF=0xfffffff ;struct node{ int s,t,cap,nxt ;}e[200005] ;int m,n,head[10005],level[10005],cnt ...
分类:其他好文   时间:2014-05-01 20:05:16    阅读次数:379
(译)Node.js的全局变量
>原文标题:Global Variables in Node.js 原文链接:[http://www.hacksparrow.com/global-variables-in-node-js.html](http://www.hacksparrow.com/global-variables-in-.....
分类:Web程序   时间:2014-05-01 19:46:09    阅读次数:490
Keyboard input
Keyboard inputPython provides a build-in function called raw_input (in version 2.x) that gets input from the keyboard. In Python 3.x we use input(). W...
分类:其他好文   时间:2014-05-01 19:23:26    阅读次数:392
qosort 使用使用小例子
输入 1500 3150 300100 200 输出结果470 471100 200150 300470 471 #include #includeusing namespace std;struct node{ int a ; int b;}s[100];int compare(const voi...
分类:其他好文   时间:2014-05-01 19:12:33    阅读次数:358
95行代码实现最大熵模型训练
关于最大熵模型的介绍请看:http://www.cnblogs.com/hexinuaa/p/3353479.html 下面是GIS训练算法的python实现,代码不到100行。 from collections import defaultdict import math class MaxEnt(object):     def __ini...
分类:其他好文   时间:2014-04-30 22:46:39    阅读次数:384
统计分析SQL Server Profiler 跟踪的SQL
--跟踪文件读入到表中分析 SELECT * INTO ZGSJY FROM fn_trace_gettable('E:\wxxcdbprofiler.trc', default); --某时间内,最耗时SQL select TOP 100 SUBSTRING(Textdata,1,660) as '名称', count(*) as '数量', sum(duration/1000) as '总执行...
分类:数据库   时间:2014-04-30 22:37:39    阅读次数:327
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!