码迷,mamicode.com
首页 >  
搜索关键字:dep    ( 3364个结果
[POJ 2559]Largest Rectangle in a Histogram 题解(单调栈)
[POJ 2559]Largest Rectangle in a Histogram Description A histogram is a polygon composed of a sequence of rectangles aligned at a common base line. Th ...
分类:其他好文   时间:2018-02-27 19:30:37    阅读次数:194
Maven错误信息:Missing artifact jdk.tools:jdk.tools:jar:1.6
转自:http://blog.csdn.net/huoyunshen88/article/details/40657895 在pom.xml中添加依赖: <dependency> <groupId>jdk.tools</groupId> <artifactId>jdk.tools</artifact ...
分类:编程语言   时间:2018-02-27 19:27:30    阅读次数:802
LC.104. Maximum Depth of Binary Tree
https://leetcode.com/problems/maximum-depth-of-binary-tree/description/Given a binary tree, find its maximum depth.The maximum depth is the number of ... ...
分类:其他好文   时间:2018-02-27 10:23:20    阅读次数:189
LC.110. Balanced Binary Tree
https://leetcode.com/problems/balanced-binary-tree/description/Given a binary tree, determine if it is height-balanced.For this problem, a height-bala... ...
分类:其他好文   时间:2018-02-27 10:20:05    阅读次数:140
Red Hat Linux安装vsftpd
一、安装分区方案: (1)交换分区,两倍内存 (2)/boot分区 (3)/剩余的所有空间语言选择English(英语) 二、 配置IPIP地址、子网掩码: 编辑 /etc/sysconfig/network-script/ifcfg-eth0 DEVICE=eth0 BOOTPROTO=stati ...
分类:系统相关   时间:2018-02-27 01:21:53    阅读次数:246
树链剖分 bzoj2325 [ZJOI2011]道馆之战
http://www.lydsy.com/JudgeOnline/problem.php?id=2325 吐槽一下部分分数据不满足性质 我打了6k的暴力.. 考虑一条链的情况 记录8个值 m[0/1][0/1]表示左边从哪里开始走 右边从哪里开始走(上面还是下面) 最多是多少 l[0/1] r[0/ ...
分类:其他好文   时间:2018-02-26 20:34:18    阅读次数:154
BZOJ_3626_[LNOI2014]LCA_离线+树剖
BZOJ_3626_[LNOI2014]LCA_离线+树剖 题意: 给出一个n个节点的有根树(编号为0到n-1,根节点为0)。一个点的深度定义为这个节点到根的距离+1。 设dep[i]表示点i的深度,LCA(i,j)表示i与j的最近公共祖先。 有q次询问,每次询问给出l r z,求sigma_{l< ...
分类:其他好文   时间:2018-02-25 19:24:17    阅读次数:232
HQL(动态查询,分页查询)
动态查询 Session session; Transaction tx;@Before public void mybefor() { //1构建配置对象COnfiguration Configuration cfg = new Configuration().configure("hiberna ...
分类:其他好文   时间:2018-02-25 19:08:25    阅读次数:156
Unable to register the DLL/OCX: RegSvr32 failed with exit code 0x3 我的解决方法
一个在win7 64位下能正常注册的ocx 在XP下注册时报错,Unable to register the DLL/OCX: RegSvr32 failed with exit code 0x3 通过dependency分析也没有发现问题 后来发现是一个依赖的DLL 在VS2013的编译时没有支持 ...
分类:其他好文   时间:2018-02-25 19:04:27    阅读次数:638
单元测试
单元测试,顾名思义就是对程序的某个单元进行测试。本质上,就是写一份测试代码,和生产代码对应。随着软件开发的发展,出现了TDD(Test Drive Development)的开发模式,简单来说就是在编写正式的业务代码前,编写测试代码。对于编写单元测试,也有很多规范。 1. 测试代码和生产代码同等重要 ...
分类:其他好文   时间:2018-02-25 19:01:44    阅读次数:144
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!