码迷,mamicode.com
首页 >  
搜索关键字:inf    ( 34339个结果
Codeforces Round #226 (Div. 2)--A Bear and Raspberry
ACdaim #include #include #include #include #include #include #include #include #include #include #include #include using namespace std; #define INF 0x7fffffff int main() { #ifdef sxk...
分类:Web程序   时间:2014-10-29 07:04:15    阅读次数:148
【hihoCoder第十七周】最近公共祖先·三
之前就写的是离线算法。思路就是先序一遍树,记录层数,然后高效RMQ就好。ST和线段树都能过。以后有时间将之前的在线算法补上。#include using namespace std;#define MAXN 100005#define MAXM 105#define inf 0x7ffffffint...
分类:其他好文   时间:2014-10-29 01:41:39    阅读次数:269
带命名空间的action再次返回原来页面,命名空间引起的错误
今天写了一个登陆页面,这个相信对大家来说都没有难度,但是身为屌丝的我,犯贱了一次! 登陆页面表单提交,action中,我加了命名空间,详细如下: ...此处省略... 登陆都没什么问题,但是问题是当我用户名或者密码错误的时候,我就应该重新返回登录页面,就在重新返回的时候,虽然说通过下面的方式,可以返回到指定的html文档中去 /WEB-INF/index.html ...
分类:其他好文   时间:2014-10-29 00:24:47    阅读次数:202
12.1.2: How to Modify and Enable The Configurable Home Page Delivered Via 12.1.2 (Doc ID 1061482.1)
In this Document Goal Solution References APPLIES TO: Oracle Applications Framework - Version 12.1.2 to 12.1.2 [Release 12.1] Inf...
分类:其他好文   时间:2014-10-29 00:06:01    阅读次数:254
javabean简介
实际上在WEB-INF 中的lib和classes文件相当于一个默认的classpathclasspath是类执行时所需要的一个重要的环境属性,当tomcat启动后。WEB-INF/lib和web-inf/classes都会自动配置到classpath之中。在C:\Program Files (x8...
分类:编程语言   时间:2014-10-28 21:36:23    阅读次数:211
HDU 2102 A计划
水bfs。 只需要判断一下 #之后还是*或#都是死路。 只有两层。 #include #include #include #include #include #include #include #include #include #include #include #include #define INF 0x7fffffff #define eps 1e-8 #define LL lo...
分类:其他好文   时间:2014-10-28 15:32:13    阅读次数:176
关于java中的MANIFEST.MF 文件内容
打开Java的JAR文件我们经常可以看到文件中包含着一个META-INF目录, 这个目录下会有一些文件,其中必有一个MANIFEST.MF,这个文件描述了该Jar文件的很多信息。可以简化Java应用程序的打包和发布。其中我们最常用的就是Main-Class和Class-Path了。我们来先看看一个M...
分类:编程语言   时间:2014-10-28 13:45:57    阅读次数:170
BZOJ 3196
program bzoj3196;const inf=100000000; maxn=200001; maxm=3000001;var n,m,time,temp:longint; root,a:array [0..maxn] of longint; left,right,r...
分类:其他好文   时间:2014-10-27 19:18:46    阅读次数:214
BZOJ 1023
program bzoj1023;uses math;const inf=1000000000; maxn=50005; maxm=20000005; type edge=record togo,next:longint;end; var n,m,cnt,ind,ans...
分类:其他好文   时间:2014-10-27 19:16:23    阅读次数:203
[Usaco2008 Feb]Line连线游戏[暴力][水题]
DescriptionFarmer John最近发明了一个游戏,来考验自命不凡的贝茜。游戏开始的时 候,FJ会给贝茜一块画着N (2 #include #include #include using namespace std;const int INF=21474836;int n,tot=0,a...
分类:其他好文   时间:2014-10-27 00:21:20    阅读次数:201
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!