若有向图G = (V , E)满足下列条件:1、有且仅有一个顶点S,它的入度为 0
,这个顶点称为源点。2、有且仅有一个顶点T,它的出度为 0 ,这个顶点称为汇点。3、每一条弧都有一个非负数,叫做这条边的容量,边(Vi , Vj)的容量用
Cij 来表示。则此有向图称为网络流图,记为 G = ( V...
分类:
其他好文 时间:
2014-05-01 09:54:01
阅读次数:
349
本文演示如何在Windows上和Linux上安装Jenkins。 1.
Windows上Jenkins安装
参考网页:https://wiki.jenkins-ci.org/display/JENKINS/Installing+Jenkins+as+a+Windows+service
在Window...
分类:
其他好文 时间:
2014-05-01 09:52:49
阅读次数:
455
原题地址:http://oj.leetcode.com/problems/swap-nodes-in-pairs/题意:将链表中的节点两两交换。Given1->2->3->4,
you should return the list as2->1->4->3.解题思路:这题主要涉及到链表的操作,没什么...
分类:
编程语言 时间:
2014-05-01 06:44:21
阅读次数:
339
原题地址:http://oj.leetcode.com/problems/remove-nth-node-from-end-of-list/题意:Given
a linked list, remove thenthnode from the end of list and return its he...
分类:
编程语言 时间:
2014-05-01 06:42:15
阅读次数:
332
题目链接Given a list, rotate the list to the right
bykplaces, wherekis non-negative.For
example:Given1->2->3->4->5->NULLandk=2,return4->5->1->2->3->NULL.首...
分类:
其他好文 时间:
2014-05-01 04:52:19
阅读次数:
288
Given a singly linked list L: L0→L1→…→Ln-1→Ln,
reorder it to: L0→Ln→L1→Ln-1→L2→Ln-2→…
You must do this in-place without altering the nodes' values.
For example,
Given {1,2,3,4}, reorder it to ...
分类:
其他好文 时间:
2014-04-29 13:42:21
阅读次数:
427
JsonTools
package com.example.weather_json.tools;
import java.util.ArrayList;
import java.util.List;
import org.json.JSONArray;
import org.json.JSONException;
import org.json.JSONObject;
import co...
分类:
Web程序 时间:
2014-04-29 13:37:21
阅读次数:
1039
用JS写出 遮罩层登陆框 和 对联广告 并自动跟随滚动条 滚动 保持让用户一直可以看到
好了,天色已晚废话不多说,代码特别详细 有注释,请看代码。
================》
越狱的囚徒
#zhezhao{ /*遮罩层 先隐藏起来 后面我会通过JS修改display: 为block 让他显示出来*/
position:absolute;
z-index:1000;...
分类:
Web程序 时间:
2014-04-29 13:35:23
阅读次数:
345
JSP页面:
listValue="name" key="name" cssStyle="width:130px">
后台:
private List navs;
navs=navservice.allNav();调用dao层取得所有的值集合。
注: listValue="name"通过设置这个属性显示所有的select内容...
分类:
其他好文 时间:
2014-04-29 13:32:23
阅读次数:
236