题目连接:http://acm.hdu.edu.cn/showproblem.php?pid=1107
#include
#include
#include
#include
using namespace std;
const int maxn=2000+10;
typedef struct Node
{
int x,y;
int level,in,out,lift;//门...
分类:
其他好文 时间:
2015-05-25 22:33:56
阅读次数:
174
Translucent system UI stylingTo get the most impact out of your content, you can now use new window styles and themes to request translucent system UI...
分类:
移动开发 时间:
2015-05-25 22:02:36
阅读次数:
307
大家都知道现在node.js相当流行,出门在外,如果都没听说过node.js,基本上算是out了,前段时间做一个项目,用到了实时通讯功能,当时用的就是node.js来做的,我有幸有研究了一番,别的不敢说,环境配置应该是很熟练了。首先声明下,我用的是windows的环境,如果你用的是mac或Lin.....
class Count implements Runnable{ Thread mythread ; Count() { mythread = new Thread(this, "my runnable thread"); System.out.println("m...
分类:
其他好文 时间:
2015-05-25 18:30:33
阅读次数:
93
题目:若对于整数N,在集合{1,2……,N}中找出m个数,使其和等于剩下的N-m个数的和。返回所有可能的组合数,N#includeusing namespace std;#define N 8int count=0;void Sum(int *nums,vector out,int sum,int ...
分类:
其他好文 时间:
2015-05-25 18:00:38
阅读次数:
113
``` String name = ManagementFactory.getRuntimeMXBean().getName(); System.out.println(name); // get pid String pid = name.split("@")[0]; System.out.println("Pid is:" + pid); ```...
分类:
编程语言 时间:
2015-05-25 14:57:48
阅读次数:
128
E:\s01\app\oracle\product\11.2.0\dbhome_1\BIN>tnsping CENORCLTNS Ping Utility for 64-bit Windows: Version 11.2.0.1.0 - Production on 25-MAY-2015 10:26:59Copyright (c) 1997, 2010, Oracle. All rights re...
分类:
其他好文 时间:
2015-05-25 11:30:45
阅读次数:
154
今天,被一位先生问到了一个Java的问题,下面的代码应该输出什么:
Class Demo{
public static void main(String[] args){
String s = "0";
change(s);
System.out.println(s);
}
static void change(String s){
s = "123";
}
}
说...
分类:
其他好文 时间:
2015-05-25 09:57:23
阅读次数:
179
递归算法就是方法不断的去调用本身,直到满足某个条件递归会把一个大问题分解成小问题,一点点的去计算如题1:求1-100的和public class Demo { public static void main(String args[]) { System.out.println(...
分类:
编程语言 时间:
2015-05-25 00:47:13
阅读次数:
199
BEAN标签(name 是从别处得来的;id是自己的,相当于变量;property相当于变量的值)①:String str=request.getParameter("param"); out.println("str); 相当于:②:LOGIC标签:①:角色是否存在name变量或者bean是否存在...
分类:
其他好文 时间:
2015-05-24 23:17:27
阅读次数:
184